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

Function test_find_prev_keyword_using

tests/parseutils/test_parseutils.py:207–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205
206
207def test_find_prev_keyword_using():
208 q = "select * from tbl1 inner join tbl2 using (col1, "
209 kw, q2 = find_prev_keyword(q)
210 assert kw.value == "(" and q2 == "select * from tbl1 inner join tbl2 using ("
211
212
213@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

find_prev_keywordFunction · 0.90

Tested by

no test coverage detected