MCPcopy
hub / github.com/dbcli/pgcli / test_special_name_completion

Function test_special_name_completion

tests/test_naive_completion.py:84–89  ·  view source on GitHub ↗
(completer, complete_event)

Source from the content-addressed store, hash-verified

82
83
84def test_special_name_completion(completer, complete_event):
85 text = "\\"
86 position = len("\\")
87 result = completions_to_set(completer.get_completions(Document(text=text, cursor_position=position), complete_event))
88 # Special commands will NOT be suggested during naive completion mode.
89 assert result == completions_to_set([])
90
91
92def test_datatype_name_completion(completer, complete_event):

Callers

nothing calls this directly

Calls 2

completions_to_setFunction · 0.90
get_completionsMethod · 0.45

Tested by

no test coverage detected