(cmd2_app)
| 245 | |
| 246 | |
| 247 | def test_complete_exception(cmd2_app) -> None: |
| 248 | text = "" |
| 249 | line = f"test_raise_exception {text}" |
| 250 | endidx = len(line) |
| 251 | begidx = endidx - len(text) |
| 252 | |
| 253 | completions = cmd2_app.complete(text, line, begidx, endidx) |
| 254 | |
| 255 | assert not completions |
| 256 | assert "IndexError" in completions.error |
| 257 | |
| 258 | |
| 259 | def test_complete_macro(base_app, request) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…