Ahmet Guzererler
|
57c9b3ecaa
|
refactor(tests): consolidate live-API tests into integration/, move mocked tests to unit/
- Replaced 7 duplicate live-API test files in tests/ root with:
- tests/integration/test_scanner_live.py — consolidated scanner + yfinance + vendor fallback tests (marked @pytest.mark.integration, excluded from default run)
- tests/e2e/test_llm_e2e.py — LLM e2e test extracted from test_scanner_comprehensive
- tests/unit/test_industry_deep_dive.py — mocked _extract_top_sectors + run_tool_loop tests
- tests/unit/test_scanner_fallback.py — mocked AV failover tests
- Removed record_mode hardcode from integration/conftest.py (VCR.py cannot intercept curl_cffi used by yfinance; integration tests run live against real APIs on demand)
Deleted: test_scanner_tools, test_scanner_end_to_end, test_scanner_complete_e2e,
test_scanner_final, test_scanner_comprehensive, test_scanner_fallback,
test_industry_deep_dive
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-19 14:24:52 +01:00 |