2
0

[FIX] common.DB does not exist anymore in stable 8.0

It was not used in these tests anyway.
This commit is contained in:
Stéphane Bidoul 2015-06-12 18:53:39 +02:00 committed by Zina Rasoamanana
parent 54b2db5914
commit 546eab938f

View File

@ -33,9 +33,6 @@ from openerp import exceptions
from datetime import datetime, timedelta from datetime import datetime, timedelta
from openerp.tools import DEFAULT_SERVER_DATE_FORMAT from openerp.tools import DEFAULT_SERVER_DATE_FORMAT
DB = common.DB
ADMIN_USER_ID = common.ADMIN_USER_ID
def get_simple_product_id(self): def get_simple_product_id(self):
return self.env['product.product'].create({'name': 'product_test_01', return self.env['product.product'].create({'name': 'product_test_01',