MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / test_help_completion_nomatch

Function test_help_completion_nomatch

tests/test_completion.py:324–331  ·  view source on GitHub ↗
(cmd2_app)

Source from the content-addressed store, hash-verified

322
323
324def test_help_completion_nomatch(cmd2_app) -> None:
325 text = "fakecommand"
326 line = f"help {text}"
327 endidx = len(line)
328 begidx = endidx - len(text)
329
330 completions = cmd2_app.complete(text, line, begidx, endidx)
331 assert not completions
332
333
334def test_set_allow_style_completion(cmd2_app) -> None:

Callers

nothing calls this directly

Calls 1

completeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…