-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'odoo.addons.tiny_apps' #45
Comments
Try adding the |
Are you sure the module is installed? Can you run tests w/ std odoo command? |
Hello, yes, the module is installed as you can see in runtest.log We are executing pytest at first followed by odoo --test-enable. UPDATE: the run test with standard odoo command succeed. |
Are you sure tests are running w/ odoo? Do you import your test file in |
yes. we did import our testfile in As a workaround we changed the following and it worked.
|
ok, but the fact that I see |
yes tiny_apps is a folder. we have |
@odoo-sh export the OPENERP_SERVER environment variable In terminal export OPENERP_SERVER=/path/to/odoo.cfg or in your bashrc or zshrc file append
and reload the shell with |
Hello,
Trying to run a test per module using cmd but getting import errors. any idea?
pytest --odoo-config=/odoo/conf/odoo.cfg --odoo-database=testdb --odoo-log-level=debug --junitxml=junit-report.xml -s /odoo/src/tiny_apps/tiny_apps/purchase_batch_order
The text was updated successfully, but these errors were encountered: