()
| 98 | |
| 99 | |
| 100 | def test_sub_sub_command() -> None: |
| 101 | parser = ToxParser.base() |
| 102 | with pytest.raises(RuntimeError, match="no sub-command group allowed"): |
| 103 | parser.add_command( |
| 104 | "c", |
| 105 | [], |
| 106 | "help", |
| 107 | lambda s: 0, # noqa: ARG005 |
| 108 | ) # pragma: no cover - the lambda will never be run |
| 109 | |
| 110 | |
| 111 | def test_parse_known_args_not_set(mocker: MockerFixture) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…