exchange-data-manager/tests
rob cdc04d010a Add real exchange integration tests for three-tier cache system
Comprehensive tests that fetch actual data from Binance to verify:
- Three-tier caching (memory → database → exchange)
- Gap detection and filling (start, end, middle, multiple gaps)
- Data integrity verification against direct exchange fetch
- Freshness checking for stale data
- Different timeframe handling
- Edge cases (single candle, large ranges, overlapping requests)

Tests are marked with @real_exchange and can be skipped in CI with:
  pytest -m "not real_exchange"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-03 17:37:04 -04:00
..
benchmarks Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
integration Add real exchange integration tests for three-tier cache system 2026-03-03 17:37:04 -04:00
__init__.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
conftest.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_assembler.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_async_database.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_cache.py Fix stale data served for limit-only requests 2026-03-03 14:34:31 -04:00
test_cache_manager.py Fix stale data served for limit-only requests 2026-03-03 14:34:31 -04:00
test_candles.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_ccxt_connector.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_completeness.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_config.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_gaps.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_integration.py Fix stale data served for limit-only requests 2026-03-03 14:34:31 -04:00
test_request_modes.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_rest_candles.py Add session-scoped connectors and request metrics tracking 2026-03-03 14:02:56 -04:00
test_sessions.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_timeframes.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_timestamps.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00
test_websocket.py Implement M1, M2, M3 milestones - full exchange data manager 2026-03-03 04:05:30 -04:00