arbret/backend
counterweight 54709888e1
refactor: extract httpx mock helpers in price history tests
- create_mock_httpx_client() for mocking AsyncClient with various configs
- create_bitfinex_ticker_response() for creating ticker response arrays

Reduces test boilerplate significantly.
2025-12-22 16:21:18 +01:00
..
routes refactor: extract _to_price_history_response helper function 2025-12-22 16:17:43 +01:00
tests refactor: extract httpx mock helpers in price history tests 2025-12-22 16:21:18 +01:00
auth.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
database.py Extract duplicated DATABASE_URL parsing to database.py 2025-12-21 23:16:29 +01:00
date_validation.py refactor(backend): extract date range validation utilities 2025-12-22 00:02:41 +01:00
env.example reviewed 2025-12-20 22:38:39 +01:00
invite_utils.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
jobs.py refactor: move JOB_FETCH_BITCOIN_PRICE constant to worker.py 2025-12-22 16:10:13 +01:00
main.py refactor(backend): clean up router registration pattern 2025-12-22 09:10:26 +01:00
models.py feat: add PriceHistory model for storing exchange price data 2025-12-22 15:42:11 +01:00
pagination.py refactor(backend): extract pagination utilities 2025-12-22 00:00:24 +01:00
price_fetcher.py feat: add explicit 30 second timeout for Bitfinex API requests 2025-12-22 16:07:33 +01:00
pyproject.toml chore: promote httpx from dev to regular dependency 2025-12-22 15:41:40 +01:00
pytest.ini tests passing 2025-12-18 22:08:31 +01:00
schemas.py feat: add PriceHistoryResponse schema 2025-12-22 15:42:31 +01:00
seed.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
shared_constants.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
validate_constants.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
validation.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
words.txt first implementation 2025-12-20 11:12:11 +01:00
worker.py fix: use Python datetime for created_at in worker 2025-12-22 16:18:51 +01:00