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

Function test_basic_completion_nomatch

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

Source from the content-addressed store, hash-verified

627
628
629def test_basic_completion_nomatch(cmd2_app) -> None:
630 text = "q"
631 line = f"list_food -f {text}"
632 endidx = len(line)
633 begidx = endidx - len(text)
634
635 completions = cmd2_app.basic_complete(text, line, begidx, endidx, food_item_strs)
636 assert not completions
637
638
639def test_delimiter_completion_partial(cmd2_app) -> None:

Callers

nothing calls this directly

Calls 1

basic_completeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…