itsulu-blog-publisher/addons/itsulu_blog_publisher/tests
Nicholas Riegel c039b5f0cb release: v0.4.8 — CI pipeline green + Odoo 17 fixes (squash of !1)
Squash-merge of fix/ci-pipeline-corrections. Drives the full test suite
to 69/69 green on the ITSulu K8s cluster and fixes two production bugs.

Production fixes:
- Email template migrated from dead Odoo Mako (${}/% for) to Odoo 17
  inline_template ({{ }}) + qweb body (type="html", t-out/t-foreach/t-if).
  Notification emails previously rendered raw code in the subject/body.
- _create_blog_post now writes 'content': llm_response.body_html — every
  auto-generated post was publishing empty.
- Removed duplicate itsulu_social_id field (startup warning).

Testing & infra:
- CI pipeline corrected (stage order, DB auth, junit artifact, addons path).
- E2E moved to ephemeral jobs in the itsulu-testing K8s namespace.
- Test code brought up to Odoo 17 (mail rendering, blog.post.content,
  pytest-bdd env fixture, _render_field).

Versioning:
- Introduce MAJOR.MINOR.PATCH scheme, VERSION file, scripts/bump-version.sh,
  CHANGELOG.md; first release v0.4.8. CLAUDE.md §15 documents the process.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 10:58:57 -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 Reorganize codebase into Odoo addon structure per ARCHITECTURE.md 2026-05-29 12:11:42 -04:00
test_blog_post_social.py release: v0.4.8 — CI pipeline green + Odoo 17 fixes (squash of !1) 2026-05-30 10:58:57 -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 release: v0.4.8 — CI pipeline green + Odoo 17 fixes (squash of !1) 2026-05-30 10:58:57 -04:00