Skip to content

Commit 53006dd

Browse files
committed
update test
1 parent 920aa7e commit 53006dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_30_limits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_check_rate_limits_for_user() -> None:
3939
cads_processing_api_service.limits.check_rate_limits_for_user(
4040
user_uid, rate_limits
4141
)
42-
assert exc.value.retry_after == 60
42+
assert exc.value.retry_after == pytest.approx(60)
4343

4444
rate_limit_ids = ["2/second"]
4545
rate_limits = [limits.parse(rate_limit_id) for rate_limit_id in rate_limit_ids]

0 commit comments

Comments
 (0)