(self)
| 59 | repr(metafunc._calls) |
| 60 | |
| 61 | def test_function_basic(self) -> None: |
| 62 | def func(arg1, arg2="qwe"): |
| 63 | pass |
| 64 | |
| 65 | metafunc = self.Metafunc(func) |
| 66 | assert len(metafunc.fixturenames) == 1 |
| 67 | assert "arg1" in metafunc.fixturenames |
| 68 | assert metafunc.function is func |
| 69 | assert metafunc.cls is None |
| 70 | |
| 71 | def test_parametrize_error(self) -> None: |
| 72 | def func(x, y): |