Add test to check replaced field of replace party wizard

This commit is contained in:
Cédric Krier
2025-10-31 12:03:02 +01:00
parent 6b2b66cbd4
commit 19667f95fc
23 changed files with 90 additions and 26 deletions
+4 -2
View File
@@ -4,7 +4,8 @@
from unittest.mock import patch
import trytond.config as config
from trytond.modules.party.tests import PartyCheckEraseMixin
from trytond.modules.party.tests import (
PartyCheckEraseMixin, PartyCheckReplaceMixin)
from trytond.modules.web_user import user as user_module
from trytond.pool import Pool
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
@@ -14,7 +15,8 @@ RESET_PASSWORD_URL = 'http://www.example.com/reset_password'
FROM = 'tryton@example.com'
class WebUserTestCase(PartyCheckEraseMixin, ModuleTestCase):
class WebUserTestCase(
PartyCheckEraseMixin, PartyCheckReplaceMixin, ModuleTestCase):
'Test Web User module'
module = 'web_user'