test: run tests from cashbook_investment
This commit is contained in:
parent
bf3616ded0
commit
e51abf589b
1 changed files with 13 additions and 4 deletions
|
@ -3,18 +3,27 @@
|
||||||
# The COPYRIGHT file at the top level of this repository contains the
|
# The COPYRIGHT file at the top level of this repository contains the
|
||||||
# full copyright notices and license terms.
|
# full copyright notices and license terms.
|
||||||
|
|
||||||
from trytond.modules.cashbook.tests.test_module import CashbookTestCase
|
from trytond.tests.test_tryton import activate_module
|
||||||
|
from trytond.modules.cashbook_investment.tests.test_module import \
|
||||||
|
CashbookInvestmentTestCase
|
||||||
from .planner import PlannerTestCase
|
from .planner import PlannerTestCase
|
||||||
|
|
||||||
|
|
||||||
class CashbookPlannerTestCase(
|
class CashbookPlannerTestCase(
|
||||||
PlannerTestCase,
|
PlannerTestCase,
|
||||||
CashbookTestCase):
|
CashbookInvestmentTestCase):
|
||||||
""" run all test from 'cashbook', add test for planner
|
""" run all test from 'cashbook_investment', add test for planner
|
||||||
"""
|
"""
|
||||||
module = 'cashbook_planner'
|
module = 'cashbook_planner'
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def setUpClass(cls):
|
||||||
|
""" activate modules
|
||||||
|
"""
|
||||||
|
super(CashbookPlannerTestCase, cls).setUpClass()
|
||||||
|
activate_module(['cashbook_investment'])
|
||||||
|
|
||||||
# end CashbookPlannerTestCase
|
# end CashbookPlannerTestCase
|
||||||
|
|
||||||
|
|
||||||
del CashbookTestCase
|
del CashbookInvestmentTestCase
|
||||||
|
|
Loading…
Reference in a new issue