MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / test_find_prev_keyword_using

Function test_find_prev_keyword_using

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

Source from the content-addressed store, hash-verified

215
216
217def test_find_prev_keyword_using():
218 q = 'select * from tbl1 inner join tbl2 using (col1, '
219 kw, q2 = find_prev_keyword(q)
220 assert kw.value == '(' and q2 == 'select * from tbl1 inner join tbl2 using ('
221
222
223@pytest.mark.parametrize('sql', [

Callers

nothing calls this directly

Calls 1

find_prev_keywordFunction · 0.90

Tested by

no test coverage detected