Background
test_no_commit_on_exception is skipped because the current Odoo 19 HTTP test runner path does not trigger the mocked commit hook as expected.
Skipped test
test_no_commit_on_exception
Goal
Rework the test/mocking approach so transaction commit/rollback behavior is asserted correctly in Odoo 19.
Acceptance criteria
- Remove skip decorator.
- Commit/rollback behavior is asserted with a reliable Odoo 19-compatible mechanism.
- Test is stable in CI.
References
fastapi/tests/test_fastapi.py