arbret/backend/tests
counterweight 280c1e5687
Move slot expansion logic to ExchangeService
- Add get_available_slots() and _expand_availability_to_slots() to ExchangeService
- Update routes/exchange.py to use ExchangeService.get_available_slots()
- Remove all business logic from get_available_slots endpoint
- Add AvailabilityRepository to ExchangeService dependencies
- Add Availability and BookableSlot imports to ExchangeService
- Fix import path for validate_date_in_range (use date_validation module)
- Remove unused user_repo variable and import from routes/invites.py
- Fix mypy error in ValidationError by adding proper type annotation
2025-12-25 18:42:46 +01:00
..
__init__.py with some tests 2025-12-18 21:48:41 +01:00
conftest.py fast back 2025-12-25 00:33:05 +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_exchange.py lots of stuff 2025-12-23 17:03:51 +01:00
test_invites.py Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
test_permissions.py Fix: Update test_permissions.py to use new exchange permissions 2025-12-22 20:23:41 +01:00
test_price_history.py Extract price logic to PriceService 2025-12-25 18:30:26 +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