arbret/backend/tests
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 with some tests 2025-12-18 21:48:41 +01:00
conftest.py Phase 2: Job enqueueing from counter 2025-12-21 22:44:31 +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_counter.py Phase 2: Job enqueueing from counter 2025-12-21 22:44:31 +01:00
test_invites.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
test_permissions.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
test_profile.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
test_validation.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00