(parser: "Parser")
| 43 | |
| 44 | |
| 45 | def pytest_addoption(parser: "Parser") -> None: |
| 46 | group = parser.getgroup("collect") |
| 47 | group.addoption( |
| 48 | "--run-optional", |
| 49 | action="append", |
| 50 | dest="run_optional", |
| 51 | default=None, |
| 52 | help="Optional test markers to run; comma-separated", |
| 53 | ) |
| 54 | parser.addini("optional-tests", "List of optional tests markers", "linelist") |
| 55 | |
| 56 | |
| 57 | def pytest_configure(config: "Config") -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected