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

Function test_find_prev_keyword_where

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

Source from the content-addressed store, hash-verified

226 'select * from foo where bar = 1 and baz between qux and ',
227])
228def test_find_prev_keyword_where(sql):
229 kw, stripped = find_prev_keyword(sql)
230 assert kw.value == 'where' and stripped == 'select * from foo where'
231
232
233@pytest.mark.parametrize('sql', [

Callers

nothing calls this directly

Calls 1

find_prev_keywordFunction · 0.90

Tested by

no test coverage detected