mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
comments
This commit is contained in:
parent
75d029a91d
commit
2d7bafa12d
1 changed files with 4 additions and 4 deletions
|
|
@ -76,10 +76,10 @@ class ExpectNoException(Exception):
|
|||
@pytest.mark.parametrize(
|
||||
"num_try_send, num_allowed_send",
|
||||
[
|
||||
(2, 2), # No exception expected
|
||||
(10, 10), # No exception expected
|
||||
(3, 2), # Expect ValueError
|
||||
(10, 9), # Expect ValueError
|
||||
(2, 2), # 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
|
||||
],
|
||||
)
|
||||
@pytest.mark.parametrize("sync_mode", [True, False]) # Use parametrization for sync/async
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue