()
| 169 | |
| 170 | |
| 171 | def test_option_count(): |
| 172 | cli = Command("cli", params=[Option(["-c"], count=True)]) |
| 173 | assert _get_words(cli, ["-c"], "") == [] |
| 174 | assert _get_words(cli, ["-c"], "-") == ["--help"] |
| 175 | |
| 176 | |
| 177 | def test_option_optional(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…