conftest.py inside the addon directory causes pytest to import the package directly (bypassing the odoo.addons.* namespace), triggering an AssertionError in Odoo's metaclass. Moving the fixture to the repo-root conftest.py avoids the import path issue. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| data | ||
| features | ||
| models | ||
| security | ||
| services | ||
| static/src/css | ||
| tests | ||
| views | ||
| wizards | ||
| __init__.py | ||
| __manifest__.py | ||