trytond-sale_line_quick_act.../tests/test_sale_line_quick_actions.py
Sergio Morillo cfd3790359 Initial commit.
This commit refs #9722
2019-10-14 18:01:28 +02:00

28 lines
917 B
Python

# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
import unittest
import doctest
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
from trytond.tests.test_tryton import doctest_checker
class SaleLineQuickActionsTestCase(ModuleTestCase):
"""Test Sale Line quick_actions module"""
module = 'sale_line_quick_actions'
def suite():
suite = test_suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
SaleLineQuickActionsTestCase))
suite.addTests(doctest.DocFileSuite(
'scenario_sale_line_quick_actions.rst',
tearDown=doctest_teardown, encoding='utf-8',
checker=doctest_checker,
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
return suite