From 16c1ed53e554d2ecd2fc86f878d37730ec44a2e7 Mon Sep 17 00:00:00 2001 From: qdp-odoo Date: Thu, 27 Aug 2015 08:55:54 +0200 Subject: [PATCH] [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 --- addons/membership/tests/common.py | 4 ++-- 1 file 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()