arbret/backend/tests
counterweight 811fdf2663
Phase 2.5: Add exchange endpoint tests
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.
2025-12-22 18:48:23 +01:00
..
__init__.py with some tests 2025-12-18 21:48:41 +01:00
conftest.py Phase 0.1: Remove backend deprecated code 2025-12-22 18:07:14 +01:00
helpers.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
test_auth.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
test_availability.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
test_booking.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
test_exchange.py Phase 2.5: Add exchange endpoint tests 2025-12-22 18:48:23 +01:00
test_invites.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
test_permissions.py Phase 0.1: Remove backend deprecated code 2025-12-22 18:07:14 +01:00
test_price_history.py Phase 0.1: Remove backend deprecated code 2025-12-22 18:07:14 +01:00
test_profile.py refactor(auth): unify authorization patterns with MANAGE_OWN_PROFILE permission 2025-12-21 23:50:06 +01:00
test_validation.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00