This commit is contained in:
CLARKBENHAM 2024-04-02 17:18:56 -07:00
parent 75d029a91d
commit 2d7bafa12d

View file

@ -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