mirror of
https://github.com/NaN-tic/trytond-product_purchase_homologation.git
synced 2023-12-14 02:33:10 +01:00
27 lines
975 B
Python
27 lines
975 B
Python
|
# This file is part product_purchase_homologation module for Tryton.
|
||
|
# The COPYRIGHT file at the top level of this repository contains
|
||
|
# the full copyright notices and license terms.
|
||
|
import doctest
|
||
|
import unittest
|
||
|
|
||
|
import trytond.tests.test_tryton
|
||
|
from trytond.tests.test_tryton import ModuleTestCase
|
||
|
from trytond.tests.test_tryton import suite as test_suite
|
||
|
from trytond.tests.test_tryton import doctest_teardown, doctest_checker
|
||
|
|
||
|
|
||
|
class ProductPurchaseHomologationTestCase(ModuleTestCase):
|
||
|
'Test Product Purchase Homologation module'
|
||
|
module = 'product_purchase_homologation'
|
||
|
|
||
|
|
||
|
def suite():
|
||
|
suite = test_suite()
|
||
|
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
||
|
ProductPurchaseHomologationTestCase))
|
||
|
suite.addTests(doctest.DocFileSuite('scenario_purchase.rst',
|
||
|
tearDown=doctest_teardown, encoding='UTF-8',
|
||
|
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE,
|
||
|
checker=doctest_checker))
|
||
|
return suite
|