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

Fix typo in all testcase

formatted the unitest file
parent b5169bfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ Imports::
    >>> from decimal import *
    >>> today = datetime.date.today()

Install associatio::
Install association::

    >>> config = activate_modules('association')

+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ Imports::
    >>> from decimal import *
    >>> today = datetime.date.today()

Install associatio::
Install association::

    >>> config = activate_modules('association')

+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ Imports::
    >>> from decimal import *
    >>> today = datetime.date.today()

Install associatio::
Install association::

    >>> config = activate_modules('association')

+21 −15
Original line number Diff line number Diff line
@@ -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',
    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',
    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',
    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