diff options
| author | qdp-odoo <qdp@odoo.com> | 2015-08-27 08:55:54 +0200 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2015-08-27 10:47:17 +0200 |
| commit | 16c1ed53e554d2ecd2fc86f878d37730ec44a2e7 (patch) | |
| tree | 35dfbb160575a461c1927516cf050470a507a812 | |
| parent | 377a6ecab060b192e5708becaea1cf30e926e51e (diff) | |
[FIX] membership: accounting dependant tests should extend the class AccountingTestCase so that it will be run 'post install' and return True if no chart of account is installed
| -rw-r--r-- | addons/membership/tests/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/membership/tests/common.py b/addons/membership/tests/common.py index fee99c2b95d..322b083c134 100644 --- a/addons/membership/tests/common.py +++ b/addons/membership/tests/common.py @@ -3,10 +3,10 @@ import datetime from dateutil.relativedelta import relativedelta -from openerp.tests import common +from openerp.addons.account.tests.account_test_classes import AccountingTestCase -class TestMembershipCommon(common.TransactionCase): +class TestMembershipCommon(AccountingTestCase): def setUp(self): super(TestMembershipCommon, self).setUp() |
