Initialize test environment before each test
(self)
| 29 | """Test suite for Request Queueing functionality""" |
| 30 | |
| 31 | def setUp(self): |
| 32 | """Initialize test environment before each test""" |
| 33 | # Reset global state to clean slate |
| 34 | GlobalState.reset_quota_status() |
| 35 | GlobalState.init_rotation_lock() |
| 36 | GlobalState.queued_request_count = 0 |
| 37 | |
| 38 | # Ensure AUTH_ROTATION_LOCK is initially set (open) |
| 39 | self.assertTrue(GlobalState.AUTH_ROTATION_LOCK.is_set()) |
| 40 | |
| 41 | def tearDown(self): |
| 42 | """Clean up after each test""" |
nothing calls this directly
no test coverage detected