Skip to content

Commit 04ca439

Browse files
committed
add ids for test
1 parent d7bdbda commit 04ca439

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/unit/test_statistics.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
([1, 5, 3], [1, 0, 1, 0, 1]),
1414
([2, 1, 2, 1, 5, 2, 1], [3, 3, 0, 0, 1]),
1515
],
16+
ids=[
17+
'single_error',
18+
'two_single_errors',
19+
'two_single_errors_reversed',
20+
'three_single_errors',
21+
'three_single_errors_reordered',
22+
'multiple_errors_per_attempt',
23+
],
1624
)
1725
def test_add_rate_limit_error(attempts: list[int], expected_errors: list[int]) -> None:
1826
"""Test that add_rate_limit_error correctly tracks errors for different attempt sequences."""

0 commit comments

Comments
 (0)