(pytester: Pytester)
| 1182 | |
| 1183 | |
| 1184 | def test_error_message_with_parametrized_fixtures(pytester: Pytester) -> None: |
| 1185 | pytester.copy_example("unittest/test_parametrized_fixture_error_message.py") |
| 1186 | result = pytester.runpytest() |
| 1187 | result.stdout.fnmatch_lines( |
| 1188 | [ |
| 1189 | "*test_two does not support fixtures*", |
| 1190 | "*TestSomethingElse::test_two", |
| 1191 | "*Function type: TestCaseFunction", |
| 1192 | ] |
| 1193 | ) |
| 1194 | |
| 1195 | |
| 1196 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…