From e2eddac406400546f56c10d09de9139a4363539e Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 30 Apr 2024 19:35:18 -0700 Subject: [PATCH] test(test_ratelimit.py): fix test to send below rpm --- tests/test_ratelimit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ratelimit.py b/tests/test_ratelimit.py index f86fb02d3..be662d0c1 100644 --- a/tests/test_ratelimit.py +++ b/tests/test_ratelimit.py @@ -91,7 +91,7 @@ class ExpectNoException(Exception): @pytest.mark.parametrize( "num_try_send, num_allowed_send", [ - (2, 2), # sending as many as allowed, ExpectNoException + (2, 3), # sending as many as allowed, ExpectNoException # (10, 10), # sending as many as allowed, ExpectNoException (3, 2), # Sending more than allowed, ValueError # (10, 9), # Sending more than allowed, ValueError