Use extras to activate account_invoice module in UNCEFACT test case
This commit is contained in:
1 parent
d3934d3473
commit
cdb082f133
1 file changed
+2
-7
@@ -9,8 +9,7 @@ from unittest.mock import MagicMock, Mock
|
||||
from lxml import etree
|
||||
|
||||
from trytond.pool import Pool
|
||||
from trytond.tests.test_tryton import (
|
||||
ModuleTestCase, activate_module, with_transaction)
|
||||
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
|
||||
|
||||
|
||||
def get_invoice():
|
||||
@@ -111,11 +110,7 @@ def get_invoice():
|
||||
class EDocumentUNCEFACTTestCase(ModuleTestCase):
|
||||
'Test EDocument UN/CEFACT module'
|
||||
module = 'edocument_uncefact'
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
activate_module('account_invoice')
|
||||
extras = ['account_invoice']
|
||||
|
||||
@with_transaction()
|
||||
def test_16B_CII_CrossIndustryInvoice(self):
|
||||
|
||||
Reference in new issue
Block a user