Fix bemade_utils to pass tests on the test runner as well as in PyCharm environment. There was a Python Path issue.
This commit is contained in:
parent
07297f6c3f
commit
5e337ca2ee
4 changed files with 6 additions and 3 deletions
|
|
@ -1 +1,2 @@
|
|||
from odoo.addons.bemade_utils.tools import patch_test
|
||||
from . import tools
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
'author': 'Bemade Inc.',
|
||||
'website': 'http://www.bemade.org',
|
||||
'license': 'OPL-1',
|
||||
'depends': [],
|
||||
'depends': ['base'],
|
||||
'data': [],
|
||||
'assets': {},
|
||||
'installable': True,
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
from . import test_patching_test
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
from odoo.tests import TransactionCase
|
||||
from addons.bemade_utils import patch_test
|
||||
from odoo.tests import TransactionCase, tagged
|
||||
from odoo.addons.bemade_utils import patch_test
|
||||
|
||||
|
||||
@tagged("-at_install", "post_install")
|
||||
class TestA(TransactionCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
|
|
|
|||
Loading…
Reference in a new issue