MCPcopy Index your code
hub / github.com/dbcli/pgcli / test_table_aliases

Function test_table_aliases

tests/test_smart_completion_public_schema_only.py:855–857  ·  view source on GitHub ↗
(completer, text)

Source from the content-addressed store, hash-verified

853@parametrize("completer", completers(casing=False, aliasing=True))
854@parametrize("text", ["SELECT * FROM "])
855def test_table_aliases(completer, text):
856 result = get_result(completer, text)
857 assert completions_to_set(result) == completions_to_set(testdata.schemas() + aliased_rels)
858
859
860@parametrize("completer", completers(casing=False, aliasing=True))

Callers

nothing calls this directly

Calls 3

get_resultFunction · 0.90
completions_to_setFunction · 0.90
schemasMethod · 0.80

Tested by

no test coverage detected