Comprehensive test coverage for exchange endpoints: - Price endpoint: permission checks, price retrieval, staleness, config - Create exchange: buy/sell, double booking, validation, stale price - User trades: list trades, cancel own trade, cancel restrictions - Admin trades: view upcoming/past, complete, no-show, cancel Tests mock the Bitfinex price fetcher to ensure deterministic results. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| helpers.py | ||
| test_auth.py | ||
| test_availability.py | ||
| test_booking.py | ||
| test_exchange.py | ||
| test_invites.py | ||
| test_permissions.py | ||
| test_price_history.py | ||
| test_profile.py | ||
| test_validation.py | ||