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

Function test_after_as

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

Source from the content-addressed store, hash-verified

87
88@pytest.mark.parametrize("expression", ["SELECT 1 AS ", "SELECT 1 FROM tabl AS "])
89def test_after_as(expression):
90 suggestions = suggest_type(expression, expression)
91 assert set(suggestions) == set()
92
93
94def test_where_equals_any_suggests_columns_or_keywords():

Callers

nothing calls this directly

Calls 1

suggest_typeFunction · 0.90

Tested by

no test coverage detected