diff --git a/payment.xml b/payment.xml index 751007e435..8a627eb3e8 100644 --- a/payment.xml +++ b/payment.xml @@ -59,6 +59,13 @@ this repository contains the full copyright notices and license terms. --> + + + + + + + @@ -161,6 +168,14 @@ this repository contains the full copyright notices and license terms. --> + + + + + + + diff --git a/tests/test_account_payment_sepa.py b/tests/test_account_payment_sepa.py index c1d7978e2a..f688c650aa 100644 --- a/tests/test_account_payment_sepa.py +++ b/tests/test_account_payment_sepa.py @@ -11,7 +11,7 @@ from io import BytesIO from mock import Mock, patch import trytond.tests.test_tryton -from trytond.tests.test_tryton import test_view, test_depends, test_menu_action +from trytond.tests.test_tryton import ModuleTestCase from trytond.tests.test_tryton import DB_NAME, USER, CONTEXT from trytond.transaction import Transaction from trytond.exceptions import UserError @@ -153,23 +153,9 @@ def validate_file(flavor, kind, xsd=None): schema.assertValid(sepa_xml) -class AccountPaymentSepaTestCase(unittest.TestCase): +class AccountPaymentSepaTestCase(ModuleTestCase): 'Test Account Payment SEPA module' - - def setUp(self): - trytond.tests.test_tryton.install_module('account_payment_sepa') - - def test0005views(self): - 'Test views' - test_view('account_payment_sepa') - - def test0006depends(self): - 'Test depends' - test_depends() - - def test0007menu_actions(self): - 'Test menu actions' - test_menu_action('account_payment_sepa') + module = 'account_payment_sepa' def test_pain001_001_03(self): 'Test pain001.001.03 xsd validation'