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

Function test_suggest_where_keyword

tests/test_sqlcompletion.py:843–846  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

841 ["SELECT * FROM foo where created > now() - ", "select * from foo where bar "],
842)
843def test_suggest_where_keyword(text):
844 # https://github.com/dbcli/mycli/issues/135
845 suggestions = suggest_type(text, text)
846 assert set(suggestions) == cols_etc("foo", last_keyword="WHERE")
847
848
849@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

suggest_typeFunction · 0.90
cols_etcFunction · 0.85

Tested by

no test coverage detected