Skip to content

Commit 75c3a93

Browse files
committed
tests: Test empty parameter set
1 parent 62e7e2b commit 75c3a93

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import pytest_cases
2+
3+
4+
@pytest_cases.parametrize(x=[])
5+
def case_empty(x):
6+
return x # pragma: no cover
7+
8+
9+
@pytest_cases.parametrize_with_cases("x", case_empty)
10+
def test_empty_parameter_set(x):
11+
assert False # pragma: no cover

0 commit comments

Comments
 (0)