Skip to content

Commit a04ecc1

Browse files
SARomanchukSARomanchuk
authored andcommitted
issue:493
update: test parametrisation
1 parent 0f60d96 commit a04ecc1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_retry_task.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import random
2-
31
import pytest
42

53
from taskiq import (
@@ -14,7 +12,7 @@
1412

1513
@pytest.mark.parametrize(
1614
"retry_count",
17-
[0, random.randint(2, 5)],
15+
range(5),
1816
)
1917
@pytest.mark.anyio
2018
async def test_save_task_id_for_retry(retry_count: int) -> None:

0 commit comments

Comments
 (0)