2015-02-27 11:42:46 +01:00
|
|
|
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
|
# this repository contains the full copyright notices and license terms.
|
|
|
|
|
|
2016-02-06 19:12:08 +01:00
|
|
|
from trytond.modules.account_payment_sepa.tests import validate_file
|
2021-04-10 23:46:23 +02:00
|
|
|
from trytond.modules.company.tests import CompanyTestMixin
|
2021-12-11 17:58:41 +01:00
|
|
|
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
|
2015-02-27 11:42:46 +01:00
|
|
|
|
|
|
|
|
|
2021-04-10 23:46:23 +02:00
|
|
|
class AccountPaymentSepaCFONBTestCase(CompanyTestMixin, ModuleTestCase):
|
2015-02-27 11:42:46 +01:00
|
|
|
'Test Account Payment SEPA CFONB module'
|
|
|
|
|
module = 'account_payment_sepa_cfonb'
|
|
|
|
|
|
2016-02-06 19:12:08 +01:00
|
|
|
@with_transaction()
|
2015-02-27 11:42:46 +01:00
|
|
|
def test_pain001_001_03_cfonb(self):
|
|
|
|
|
'Test pain.00r.001.03-cfonb xsd validation'
|
2016-02-06 19:12:08 +01:00
|
|
|
validate_file('pain.001.001.03-cfonb', 'payable',
|
|
|
|
|
xsd='pain.001.001.03')
|
2015-02-27 11:42:46 +01:00
|
|
|
|
2016-02-06 19:12:08 +01:00
|
|
|
@with_transaction()
|
2015-02-27 11:42:46 +01:00
|
|
|
def test_pain008_001_02_cfonb(self):
|
|
|
|
|
'Test pain.008.001.02-cfonb xsd validation'
|
2016-02-06 19:12:08 +01:00
|
|
|
validate_file('pain.008.001.02-cfonb', 'receivable',
|
|
|
|
|
xsd='pain.008.001.02')
|
2015-02-27 11:42:46 +01:00
|
|
|
|
|
|
|
|
|
2022-04-16 18:30:16 +02:00
|
|
|
del ModuleTestCase
|