Commit graph

1 commit

Author SHA1 Message Date
fd0fa24569 fix: resolve 18 test failures across BDD, email, and performance tests
- Add tests/conftest.py with odoo_env fixture so pytest-bdd can access
  the pytest-odoo env fixture (fixes all 14 BDD scenario failures)
- Fix send_notification_email() to use force_send=False so mail.mail
  records remain in queue for test assertions; pass res_id/model so
  tests can look up records by (res_id, model) pair
- Fix test_generation_latency_under_30_seconds: replace raw SQL INSERT
  into ir_logging.body (column removed in Odoo 17) with _logger.info()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 02:33:48 -04:00