diff options
Diffstat (limited to 'conftest.py')
| -rw-r--r-- | conftest.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/conftest.py b/conftest.py index c846afa..24884e2 100644 --- a/conftest.py +++ b/conftest.py | |||
| @@ -21,14 +21,12 @@ def pytest_generate_tests(metafunc: Metafunc): | |||
| 21 | for part in ['1', '2'] | 21 | for part in ['1', '2'] |
| 22 | ] | 22 | ] |
| 23 | 23 | ||
| 24 | print(assignments) | ||
| 25 | |||
| 26 | metafunc.parametrize( | 24 | metafunc.parametrize( |
| 27 | argnames=f'assignment', | 25 | argnames=f'assignment', |
| 28 | argvalues=[ | 26 | argvalues=[ |
| 29 | Assignment(path=package.__path__[0]) | 27 | Assignment(path=package.__path__[0]) |
| 30 | for (Assignment, package) in assignments | 28 | for (Assignment, package) in assignments |
| 31 | if Assignment is not None and hasattr(package, '__path__') | 29 | if Assignment is not None and hasattr(package, '__path__') and Assignment.example_result != NotImplemented |
| 32 | ], | 30 | ], |
| 33 | ids=lambda assignment: str(assignment) | 31 | ids=lambda assignment: str(assignment) |
| 34 | ) | 32 | ) |
