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

Function test_find_prev_keyword_open_parens

tests/parseutils/test_parseutils.py:227–229  ·  view source on GitHub ↗
(sql)

Source from the content-addressed store, hash-verified

225
226@pytest.mark.parametrize("sql", ["create table foo (bar int, baz ", "select * from foo() as bar (baz "])
227def test_find_prev_keyword_open_parens(sql):
228 kw, _ = find_prev_keyword(sql)
229 assert kw.value == "("
230
231
232@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

find_prev_keywordFunction · 0.90

Tested by

no test coverage detected