testsAndMisc/python_pkg/code_tutor/tests
Krzysztof kuhy Rudnicki eb322dcf80 Split the Claude backend out of code_tutor/_llm
_llm.py 295 -> 217, clearing the last code_tutor source violation; only
its seven test modules remain over the cap.

The seam falls between the two backends because each pins a different
plain import: test_llm.py patches requests.post on _llm for
OllamaBackend and anthropic.Anthropic for ClaudeBackend. _llm keeps its
own anthropic import - complete_with_fallback still catches APIError -
so the four anthropic patch strings were split per test rather than
moved wholesale.

Pass count is 217 before and after.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY
2026-08-16 18:00:53 +02:00
..
__init__.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
conftest.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
test_analyzer.py Split the code_tutor import graph and scan tables out of _analyzer 2026-08-16 17:48:32 +02:00
test_challenge_part2.py Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
test_challenge_part3.py Split the code_tutor challenge flows out of _challenge 2026-08-16 17:42:50 +02:00
test_challenge.py Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
test_cli.py Split code_tutor cli and verifier, deleting two lint suppressions 2026-08-16 17:57:38 +02:00
test_llm.py Split the Claude backend out of code_tutor/_llm 2026-08-16 18:00:53 +02:00
test_plan_builder.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
test_progress.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
test_session.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
test_verifier.py Split code_tutor cli and verifier, deleting two lint suppressions 2026-08-16 17:57:38 +02:00