(self, pytester: Pytester)
| 3320 | ) |
| 3321 | |
| 3322 | def test_setupfunc_missing_funcarg(self, pytester: Pytester) -> None: |
| 3323 | pytester.makepyfile( |
| 3324 | """ |
| 3325 | import pytest |
| 3326 | @pytest.fixture(autouse=True) |
| 3327 | def gen(qwe123): |
| 3328 | return 1 |
| 3329 | def test_something(): |
| 3330 | pass |
| 3331 | """ |
| 3332 | ) |
| 3333 | result = pytester.runpytest() |
| 3334 | assert result.ret != 0 |
| 3335 | result.stdout.fnmatch_lines( |
| 3336 | ["*def gen(qwe123):*", "*fixture*qwe123*not found*", "*1 error*"] |
| 3337 | ) |
| 3338 | |
| 3339 | |
| 3340 | class TestShowFixtures: |
nothing calls this directly
no test coverage detected