changeset 7366c801a5a9 in modules/web_user:default
details: https://hg.tryton.org/modules/web_user?cmd=changeset;node=7366c801a5a9
description:
Add generic test for check erase party
issue9895
review324571002
diffstat:
tests/test_web_user.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 8a2833b2eb42 -r 7366c801a5a9 tests/test_web_user.py
--- a/tests/test_web_user.py Fri Nov 06 18:46:02 2020 +0100
+++ b/tests/test_web_user.py Sat Dec 05 11:53:49 2020 +0100
@@ -10,6 +10,7 @@
from trytond.pool import Pool
from trytond.config import config
+from trytond.modules.party.tests import PartyCheckEraseMixin
from trytond.modules.web_user import user as user_module
VALIDATION_URL = 'http://www.example.com/validation'
@@ -17,7 +18,7 @@
FROM = '[email protected]'
-class WebUserTestCase(ModuleTestCase):
+class WebUserTestCase(PartyCheckEraseMixin, ModuleTestCase):
'Test Web User module'
module = 'web_user'