(manual_command_sets_app)
| 980 | |
| 981 | |
| 982 | def test_path_complete(manual_command_sets_app) -> None: |
| 983 | test_set = CommandSetWithPathComplete(1) |
| 984 | |
| 985 | manual_command_sets_app.register_command_set(test_set) |
| 986 | |
| 987 | text = "" |
| 988 | line = f"path {text}" |
| 989 | endidx = len(line) |
| 990 | begidx = endidx |
| 991 | completions = manual_command_sets_app.complete(text, line, begidx, endidx) |
| 992 | |
| 993 | assert completions |
| 994 | |
| 995 | |
| 996 | def test_bad_subcommand() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…