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

Function test_suggest_tables_views_schemas_and_functions

tests/test_sqlcompletion.py:125–127  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

123
124@pytest.mark.parametrize("expression", ["SELECT * FROM "])
125def test_suggest_tables_views_schemas_and_functions(expression):
126 suggestions = suggest_type(expression, expression)
127 assert set(suggestions) == {FromClauseItem(schema=None), Schema()}
128
129
130@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

suggest_typeFunction · 0.90

Tested by

no test coverage detected