changeset 38f8e27f5215 in modules/purchase:default
details: https://hg.tryton.org/modules/purchase?cmd=changeset;node=38f8e27f5215
description:
Add generic test for check erase party
issue9895
review324571002
diffstat:
tests/test_purchase.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a537d0694bde -r 38f8e27f5215 tests/test_purchase.py
--- a/tests/test_purchase.py Sun Nov 15 18:16:31 2020 +0100
+++ b/tests/test_purchase.py Sat Dec 05 11:53:48 2020 +0100
@@ -10,11 +10,12 @@
from trytond.transaction import Transaction
from trytond.pool import Pool
-from trytond.modules.company.tests import create_company, set_company
+from trytond.modules.company.tests import (
+ create_company, set_company, PartyCompanyCheckEraseMixin)
from trytond.modules.account.tests import create_chart
-class PurchaseTestCase(ModuleTestCase):
+class PurchaseTestCase(PartyCompanyCheckEraseMixin, ModuleTestCase):
'Test Purchase module'
module = 'purchase'