itsulu-blog-publisher/addons/itsulu_blog_publisher/tests
Nicholas Riegel 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
..
features feat: add BDD feature files for pytest-bdd scenarios 2026-05-30 00:39:41 -04:00
__init__.py Implement LLMRouter and provider infrastructure for GREEN phase tests 2026-05-29 12:27:58 -04:00
conftest.py fix: resolve 18 test failures across BDD, email, and performance tests 2026-05-30 02:33:48 -04:00
factories.py fix: use sudo() in blog_post factory to bypass validation 2026-05-29 23:25:17 -04:00
test_bdd_steps.py fix: correct BDD step parameters and model field references 2026-05-30 00:38:53 -04:00
test_blog_generation_log.py Reorganize codebase into Odoo addon structure per ARCHITECTURE.md 2026-05-29 12:11:42 -04:00
test_blog_post_social.py fix: adjust email template tests to check synchronous fields 2026-05-30 00:43:15 -04:00
test_blog_schedule.py fix: replace cr.commit() with flush_all() for test compatibility and fix mock assertion 2026-05-30 00:19:29 -04:00
test_blog_topic.py test: fix test framework compatibility for ValidationError assertion 2026-05-29 23:12:32 -04:00
test_llm_router.py fix: update test_llm_router to use topic parameter and valid JSON mocks 2026-05-30 00:27:48 -04:00
test_performance.py fix: resolve 18 test failures across BDD, email, and performance tests 2026-05-30 02:33:48 -04:00