test(dev_tools): fix dead render mock in test_successful_batter_flow (#169) #170

Merged
cal merged 1 commits from issue/169-test-dev-tools-refractor-test-render-step-mock-is into main 2026-04-12 14:36:27 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
00d746bf5a test(dev_tools): fix dead render mock in test_successful_batter_flow (#169)
All checks were successful
Ruff Lint / lint (pull_request) Successful in 16s
Replaces dead db_get mock (never consumed by the render step) with a
proper aiohttp.ClientSession mock. The render call uses aiohttp directly,
so the old mock hit the non-fatal except branch instead of the 200-OK path.
Adds explicit assertion for ' Card rendered + S3 upload triggered'.

Closes #169

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