Use SaleShopCompanyTestMixin
This commit is contained in:
parent
4c68b553bd
commit
a78e8a2ffc
|
@ -2,11 +2,11 @@
|
||||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||||
# this repository contains the full copyright notices and license terms.
|
# this repository contains the full copyright notices and license terms.
|
||||||
|
|
||||||
from trytond.modules.company.tests import CompanyTestMixin
|
from trytond.modules.sale_shop.tests import SaleShopCompanyTestMixin
|
||||||
from trytond.tests.test_tryton import ModuleTestCase
|
from trytond.tests.test_tryton import ModuleTestCase
|
||||||
|
|
||||||
|
|
||||||
class SaleRuleTestCase(CompanyTestMixin, ModuleTestCase):
|
class SaleRuleTestCase(SaleShopCompanyTestMixin, ModuleTestCase):
|
||||||
'Test SaleRule module'
|
'Test SaleRule module'
|
||||||
module = 'sale_rule'
|
module = 'sale_rule'
|
||||||
extras = ['sale_pos', 'sale_discount']
|
extras = ['sale_pos', 'sale_discount']
|
||||||
|
|
Loading…
Reference in New Issue