(config: Config)
| 125 | |
| 126 | |
| 127 | def pytest_configure(config: Config) -> None: |
| 128 | config.addinivalue_line( |
| 129 | "markers", |
| 130 | "parametrize(argnames, argvalues): call a test function multiple " |
| 131 | "times passing in different arguments in turn. argvalues generally " |
| 132 | "needs to be a list of values if argnames specifies only one name " |
| 133 | "or a list of tuples of values if argnames specifies multiple names. " |
| 134 | "Example: @parametrize('arg1', [1,2]) would lead to two calls of the " |
| 135 | "decorated test function, one with arg1=1 and another with arg1=2." |
| 136 | "see https://docs.pytest.org/en/stable/how-to/parametrize.html for more info " |
| 137 | "and examples.", |
| 138 | ) |
| 139 | config.addinivalue_line( |
| 140 | "markers", |
| 141 | "usefixtures(fixturename1, fixturename2, ...): mark tests as needing " |
| 142 | "all of the specified fixtures. see " |
| 143 | "https://docs.pytest.org/en/stable/explanation/fixtures.html#usefixtures ", |
| 144 | ) |
| 145 | |
| 146 | |
| 147 | def async_fail(nodeid: str) -> None: |
nothing calls this directly
no test coverage detected