mirror of
https://github.com/NaN-tic/trytond-product_sale_line_relation.git
synced 2023-12-14 03:42:57 +01:00
26 lines
957 B
Python
26 lines
957 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_setup, doctest_teardown,
|
|
doctest_checker)
|
|
|
|
|
|
class ProductSaleLineRelationTestCase(ModuleTestCase):
|
|
'Test Product Sale Line Relation module'
|
|
module = 'product_sale_line_relation'
|
|
|
|
|
|
def suite():
|
|
suite = trytond.tests.test_tryton.suite()
|
|
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
|
ProductSaleLineRelationTestCase))
|
|
suite.addTests(doctest.DocFileSuite(
|
|
'scenario_product_sale_line_relation.rst',
|
|
setUp=doctest_setup, tearDown=doctest_teardown, encoding='utf-8',
|
|
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE,
|
|
checker=doctest_checker))
|
|
return suite
|