Commit Graph

4 Commits (c1765f97c349de9ceb8dd0676af032280955d8e1)

Author SHA1 Message Date
Damien Bouvy c1765f97c3 [MIG] web_notify: Migration to 11.0
- Use the 'session' class of the JS Framework (session no lounger bound
to web client)
- Test change: compare emitted & received messages based on content, not
order. Using string comparison raises false positives.
2018-04-03 10:13:42 +01:00
Houzéfa Abbasbhay 92054cf8a7 [10.0][FIX] web_notify tests: Fix an arg check
Fix a check when comparing a user count with items within a mock call.

The previous method was succeeding by pure luck because OCA test
databases contain 2 users, which happens to be the amount of items
within a mock "call_args" (it contains args + kwargs).
2018-04-03 10:13:42 +01:00
Jay Vora(SerpentCS) 9ac7c7c35b [MIG] Migration of web_notify 2018-04-03 10:13:42 +01:00
Laurent Mignon (ACSONE) f2de5d8663 Improve logic and add tests 2018-04-03 10:13:42 +01:00