(self)
| 873 | ) |
| 874 | |
| 875 | def test_parametrize_onearg(self) -> None: |
| 876 | metafunc = self.Metafunc(lambda x: None) |
| 877 | metafunc.parametrize("x", [1, 2]) |
| 878 | assert len(metafunc._calls) == 2 |
| 879 | assert metafunc._calls[0].funcargs == dict(x=1) |
| 880 | assert metafunc._calls[0].id == "1" |
| 881 | assert metafunc._calls[1].funcargs == dict(x=2) |
| 882 | assert metafunc._calls[1].id == "2" |
| 883 | |
| 884 | def test_parametrize_onearg_indirect(self) -> None: |
| 885 | metafunc = self.Metafunc(lambda x: None) |
nothing calls this directly
no test coverage detected