(metafunc)
| 6 | |
| 7 | |
| 8 | def pytest_generate_tests(metafunc): |
| 9 | if "arg1" in metafunc.fixturenames: |
| 10 | metafunc.parametrize("arg1", ["arg1v1", "arg1v2"], scope="module") |
| 11 | |
| 12 | if "arg2" in metafunc.fixturenames: |
| 13 | metafunc.parametrize("arg2", ["arg2v1", "arg2v2"], scope="function") |
| 14 | |
| 15 | |
| 16 | @pytest.fixture(scope="session") |
nothing calls this directly
no test coverage detected