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 odoo.addons.bemade_utils.tools import patch_test
|
||||||
|
from . import tools
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
'author': 'Bemade Inc.',
|
'author': 'Bemade Inc.',
|
||||||
'website': 'http://www.bemade.org',
|
'website': 'http://www.bemade.org',
|
||||||
'license': 'OPL-1',
|
'license': 'OPL-1',
|
||||||
'depends': [],
|
'depends': ['base'],
|
||||||
'data': [],
|
'data': [],
|
||||||
'assets': {},
|
'assets': {},
|
||||||
'installable': True,
|
'installable': True,
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
from . import test_patching_test
|
from . import test_patching_test
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
from odoo.tests import TransactionCase
|
from odoo.tests import TransactionCase, tagged
|
||||||
from addons.bemade_utils import patch_test
|
from odoo.addons.bemade_utils import patch_test
|
||||||
|
|
||||||
|
|
||||||
|
@tagged("-at_install", "post_install")
|
||||||
class TestA(TransactionCase):
|
class TestA(TransactionCase):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue