(self)
| 70 | repr(metafunc._calls) |
| 71 | |
| 72 | def test_function_basic(self) -> None: |
| 73 | def func(arg1, arg2="qwe"): |
| 74 | pass |
| 75 | |
| 76 | metafunc = self.Metafunc(func) |
| 77 | assert len(metafunc.fixturenames) == 1 |
| 78 | assert "arg1" in metafunc.fixturenames |
| 79 | assert metafunc.function is func |
| 80 | assert metafunc.cls is None |
| 81 | |
| 82 | def test_parametrize_single_arg_trailing_comma(self) -> None: |
| 83 | """Test that trailing comma in string argnames behaves like tuple argnames. |