Commit 6129af54 authored by Luca Cristaldi's avatar Luca Cristaldi

Fix typo in all testcase

formatted the unitest file
parent b5169bfb
......@@ -18,7 +18,7 @@ Imports::
>>> from decimal import *
>>> today = datetime.date.today()
Install associatio::
Install association::
>>> config = activate_modules('association')
......
......@@ -18,7 +18,7 @@ Imports::
>>> from decimal import *
>>> today = datetime.date.today()
Install associatio::
Install association::
>>> config = activate_modules('association')
......
......@@ -18,7 +18,7 @@ Imports::
>>> from decimal import *
>>> today = datetime.date.today()
Install associatio::
Install association::
>>> config = activate_modules('association')
......
......@@ -3,7 +3,7 @@ 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_setup, doctest_teardown, doctest_checker
from trytond.tests.test_tryton import doctest_teardown, doctest_checker
class AssociationTestCase(ModuleTestCase):
......@@ -13,18 +13,24 @@ class AssociationTestCase(ModuleTestCase):
def suite():
suite = test_suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
AssociationTestCase))
suite.addTests(doctest.DocFileSuite('scenario_membership.rst',
tearDown=doctest_teardown, encoding='utf-8',
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE,
checker=doctest_checker))
suite.addTests(doctest.DocFileSuite('scenario_member.rst',
tearDown=doctest_teardown, encoding='utf-8',
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE,
checker=doctest_checker))
suite.addTests(doctest.DocFileSuite('scenario_membership_fee.rst',
tearDown=doctest_teardown, encoding='utf-8',
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE,
checker=doctest_checker))
suite.addTests(
unittest.TestLoader().loadTestsFromTestCase(AssociationTestCase))
suite.addTests(
doctest.DocFileSuite('scenario_membership.rst',
tearDown=doctest_teardown,
encoding='utf-8',
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE,
checker=doctest_checker))
suite.addTests(
doctest.DocFileSuite('scenario_member.rst',
tearDown=doctest_teardown,
encoding='utf-8',
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE,
checker=doctest_checker))
suite.addTests(
doctest.DocFileSuite('scenario_membership_fee.rst',
tearDown=doctest_teardown,
encoding='utf-8',
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE,
checker=doctest_checker))
return suite
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment