From 91e3b9a746fcbf2ccd18b972843b74bc301e67c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 5 Dec 2020 11:53:49 +0100 Subject: [PATCH] Add generic test for check erase party issue9895 review324571002 --- tests/test_web_user.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_web_user.py b/tests/test_web_user.py index 67447c3197..10e003a2d2 100644 --- a/tests/test_web_user.py +++ b/tests/test_web_user.py @@ -10,6 +10,7 @@ from trytond.tests.test_tryton import suite as test_suite 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 @@ RESET_PASSWORD_URL = 'http://www.example.com/reset_password' FROM = 'tryton@example.com' -class WebUserTestCase(ModuleTestCase): +class WebUserTestCase(PartyCheckEraseMixin, ModuleTestCase): 'Test Web User module' module = 'web_user'