We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 920aa7e commit 53006ddCopy full SHA for 53006dd
tests/test_30_limits.py
@@ -39,7 +39,7 @@ def test_check_rate_limits_for_user() -> None:
39
cads_processing_api_service.limits.check_rate_limits_for_user(
40
user_uid, rate_limits
41
)
42
- assert exc.value.retry_after == 60
+ assert exc.value.retry_after == pytest.approx(60)
43
44
rate_limit_ids = ["2/second"]
45
rate_limits = [limits.parse(rate_limit_id) for rate_limit_id in rate_limit_ids]
0 commit comments