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
AttributeError with python 3.8.6 - Wrong import way? #35
Comments
Simple fix is to use import odoo.tests instead import odoo |
noone have the same error? :/ Is not possible to find module common without explicit import odoo.test as odoo and test are two packages |
@samsagaz doesn't ring a bell, but we usually stick to the supported python version of Odoo. Nevertheless we use Python 3.7 for Odoo 14.0 I'll try to find some time this week to have a look at your PR. |
Ok, no problem! |
When run pytest with odoo12 and python 3.8.6 i get the following error:
E AttributeError: module 'odoo' has no attribute 'tests'
env/lib/python3.8/site-packages/pytest_odoo.py:88: AttributeError
The text was updated successfully, but these errors were encountered: