Files
tryton/tests/test_account_invoice_correction.py
T
Cédric Krier 56f966ae14 Initial commit
issue6126
review8821002
2017-02-25 19:01:35 +01:00

24 lines
896 B
Python

# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
import unittest
import doctest
import trytond.tests.test_tryton
from trytond.tests.test_tryton import ModuleTestCase
from trytond.tests.test_tryton import doctest_teardown, doctest_checker
class AccountInvoiceCorrectionTestCase(ModuleTestCase):
'Test Account Invoice Correction module'
module = 'account_invoice_correction'
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
AccountInvoiceCorrectionTestCase))
suite.addTests(doctest.DocFileSuite('scenario_invoice_correction.rst',
tearDown=doctest_teardown, encoding='utf-8',
checker=doctest_checker,
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
return suite