/dm/narrate now makes a real Ollama call (Task 7). The role-endpoint loop tests in test_endpoints.py had no mock, so every default pytest run was silently hitting a live Ollama instance on localhost:11434 — breaking the hermetic-suite constraint. Add an autouse fixture that stubs narrate.ollama_client.chat and narrate.call_log.record so all five endpoints stay hermetic; assertions (200 on valid, 422 on invalid) are unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2.0 KiB
2.0 KiB