arbret/backend/tests
counterweight 41e158376c
Step 6: Update exchange creation logic to use new pricing config
- Update ExchangeService to load pricing config from database
- Update validate_eur_amount to use direction-specific limits
- Update apply_premium_for_direction to calculate base + extra premium
- Update create_exchange to use new premium calculation
- Add tests for premium calculation (small trade extra, large trade base only, direction-specific)
- Update existing tests to account for new premium calculation
2025-12-26 20:24:13 +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 Step 6: Update exchange creation logic to use new pricing config 2025-12-26 20:24:13 +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_pricing_api.py Step 3: Add admin API endpoints for pricing configuration 2025-12-26 20:13:24 +01:00
test_pricing_repository.py Step 2: Add seeding logic for pricing config 2025-12-26 20:11:00 +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