- pytest-odoo 2.x provides no 'env' pytest fixture; env only exists as self.env in TransactionCase subclasses. Build the env from odoo.registry() directly in the odoo_env fixture and rollback after each BDD scenario. - _generate_template() takes positional args (res_ids, render_fields), not keyword args; remove 'fields=' keyword from all call sites. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| features | ||
| __init__.py | ||
| factories.py | ||
| test_bdd_steps.py | ||
| test_blog_generation_log.py | ||
| test_blog_post_social.py | ||
| test_blog_schedule.py | ||
| test_blog_topic.py | ||
| test_llm_router.py | ||
| test_performance.py | ||