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

Function test_version_function_name_completion

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

Source from the content-addressed store, hash-verified

50
51
52def test_version_function_name_completion(completer, complete_event):
53 text = "SELECT VE"
54 position = len(text)
55 result = completions_to_set(completer.get_completions(Document(text=text, cursor_position=position), complete_event))
56 assert result == completions_to_set([Completion(text="VERSION", start_position=-2)])
57
58
59def test_column_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