(pytester: Pytester)
| 1112 | |
| 1113 | |
| 1114 | def test_error_message_with_parametrized_fixtures(pytester: Pytester) -> None: |
| 1115 | pytester.copy_example("unittest/test_parametrized_fixture_error_message.py") |
| 1116 | result = pytester.runpytest() |
| 1117 | result.stdout.fnmatch_lines( |
| 1118 | [ |
| 1119 | "*test_two does not support fixtures*", |
| 1120 | "*TestSomethingElse::test_two", |
| 1121 | "*Function type: TestCaseFunction", |
| 1122 | ] |
| 1123 | ) |
| 1124 | |
| 1125 | |
| 1126 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected