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

Function test_delimiter_completion_nomatch

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

Source from the content-addressed store, hash-verified

675
676
677def test_delimiter_completion_nomatch(cmd2_app) -> None:
678 text = "/nothing_to_see"
679 line = f"command {text}"
680 endidx = len(line)
681 begidx = endidx - len(text)
682
683 completions = cmd2_app.delimiter_complete(text, line, begidx, endidx, delimited_strs, "/")
684 assert not completions
685
686
687def test_tokens_for_completion_quoted(cmd2_app) -> None:

Callers

nothing calls this directly

Calls 1

delimiter_completeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…