(parser: Parser)
| 16 | |
| 17 | |
| 18 | def pytest_addoption(parser: Parser) -> None: |
| 19 | group = parser.getgroup("terminal reporting") |
| 20 | group._addoption( |
| 21 | "--pastebin", |
| 22 | metavar="mode", |
| 23 | action="store", |
| 24 | dest="pastebin", |
| 25 | default=None, |
| 26 | choices=["failed", "all"], |
| 27 | help="send failed|all info to bpaste.net pastebin service.", |
| 28 | ) |
| 29 | |
| 30 | |
| 31 | @pytest.hookimpl(trylast=True) |
nothing calls this directly
no test coverage detected