itsulu-blog-publisher/addons/itsulu_blog_publisher/tests
Nicholas Riegel 55ab28f5db port(14.0): fix schedule-test mock body_html + raise query budget to 60
- test_blog_schedule._make_mock_llm_response set .text but not .body_html;
  _create_blog_post writes body_html into blog.post.content. Odoo 14 rejects
  the unset MagicMock ("can't adapt type 'MagicMock'") where 17 stringified it.
  Set body_html/raw_text on the mock (fixes 6 TestBlogScheduleExecution tests).
- test_generation_uses_fewer_than_50_queries: Odoo 14 issues ~54 framework
  queries vs 17's <50; raise the 14.0 budget to 60 (still catches N+1).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 11:51:19 -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
factories.py fix: use sudo() in blog_post factory to bypass validation 2026-05-29 23:25:17 -04:00
test_bdd_steps.py release: v0.4.8 — CI pipeline green + Odoo 17 fixes (squash of !1) 2026-05-30 10:58:57 -04:00
test_blog_generation_log.py port(14.0): fix web_ribbon view attr + convert tests to setUp/self.env 2026-05-30 11:44:24 -04:00
test_blog_post_social.py port(14.0): fix web_ribbon view attr + convert tests to setUp/self.env 2026-05-30 11:44:24 -04:00
test_blog_schedule.py port(14.0): fix schedule-test mock body_html + raise query budget to 60 2026-05-30 11:51:19 -04:00
test_blog_topic.py port(14.0): fix web_ribbon view attr + convert tests to setUp/self.env 2026-05-30 11:44:24 -04:00
test_llm_router.py port(14.0): fix web_ribbon view attr + convert tests to setUp/self.env 2026-05-30 11:44:24 -04:00
test_performance.py port(14.0): fix schedule-test mock body_html + raise query budget to 60 2026-05-30 11:51:19 -04:00