diff --git a/trytond/tests/test_transaction.py b/trytond/tests/test_transaction.py index 77833f0805..5299f4b13b 100644 --- a/trytond/tests/test_transaction.py +++ b/trytond/tests/test_transaction.py @@ -2,7 +2,7 @@ #This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. import unittest -from trytond.tests.test_tryton import DB_NAME, USER, CONTEXT +from trytond.tests.test_tryton import DB_NAME, USER, CONTEXT, install_module from trytond.transaction import Transaction @@ -32,6 +32,9 @@ class TransactionTestCase(unittest.TestCase): Test the Transaction Context manager ''' + def setUp(self): + install_module('test') + def test0010nonexistdb(self): ''' Attempt opening a transaction with a non existant DB and ensure that