Add Python3 support

issue3211
review21761002
This commit is contained in:
Jonathan Levy committed 2016-03-05 12:31:22 +01:00
1 parent c84bf68d4f
commit bc39639dff
9 files changed
+30 -11

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ Imports::
... get_company
>>> from trytond.modules.account.tests.tools import create_fiscalyear, \
... create_chart, get_accounts, create_tax, set_tax_code
>>> from.trytond.modules.account_invoice.tests.tools import \
>>> from trytond.modules.account_invoice.tests.tools import \
... set_fiscalyear_invoice_sequences, create_payment_term
>>> today = datetime.date.today()
+2
View File
@@ -8,6 +8,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
from trytond.tests.test_tryton import doctest_checker
class CommissionWaitingTestCase(ModuleTestCase):
@@ -21,5 +22,6 @@ def suite():
CommissionWaitingTestCase))
suite.addTests(doctest.DocFileSuite('scenario_commission_waiting.rst',
setUp=doctest_setup, tearDown=doctest_teardown, encoding='utf-8',
checker=doctest_checker,
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
return suite