trytond-stock_lot_cost_price/tests/test_stock_lot_cost_price.py
Javier Uribe 54374230c9 Initial commit.
This commit refs #6916.
2019-01-22 08:45:12 +01:00

28 lines
902 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 StockLotCostPriceTestCase(ModuleTestCase):
"""Test Stock Lot Cost Price module"""
module = 'stock_lot_cost_price'
def suite():
suite = test_suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
StockLotCostPriceTestCase))
suite.addTests(doctest.DocFileSuite(
'scenario_stock_lot_cost_price.rst',
tearDown=doctest_teardown, encoding='utf-8',
checker=doctest_checker,
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
return suite