Skip to content

Commit 4282325

Browse files
author
Sylvain MARIE
committed
Improved PR for merging
1 parent 98c41e4 commit 4282325

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

tests/cases/issues/issue_309/tests_cases.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/cases/issues/issue_366/__init__.py

Whitespace-only changes.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ def mock_parameterization_target():
77

88

99
def test_get_all_cases_auto_works_in_tests_py():
10-
get_all_cases(mock_parameterization_target, cases=AUTO)
10+
res = get_all_cases(mock_parameterization_target, cases=AUTO)
11+
assert isinstance(res, list) and len(res) == 1
12+
assert res[0].__name__ == "case_one_366"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def case_one_366():
2+
return 1

0 commit comments

Comments
 (0)