arbret/backend/routes
counterweight 6ca0ae88dd
Phase 2: Job enqueueing from counter
- Add backend/jobs.py with enqueue_random_number_job function
- Modify counter increment endpoint to enqueue job after incrementing
- Add mock_enqueue_job fixture to conftest.py for all tests
- Add test_increment_enqueues_job_with_user_id to verify correct user_id
- Job is enqueued synchronously; failure causes request to fail
2025-12-21 22:44:31 +01:00
..
__init__.py first implementation 2025-12-20 22:18:14 +01:00
audit.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
auth.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
availability.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
booking.py fix pre-commit hook and code quality fixes 2025-12-21 22:14:48 +01:00
counter.py Phase 2: Job enqueueing from counter 2025-12-21 22:44:31 +01:00
invites.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
meta.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
profile.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
sum.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00