MCPcopy Index your code
hub / github.com/dbcli/mycli / test_find_prev_keyword

Function test_find_prev_keyword

test/pytests/test_sql_utils.py:345–348  ·  view source on GitHub ↗
(sql, expected_keyword, expected_text)

Source from the content-addressed store, hash-verified

343 ],
344)
345def test_find_prev_keyword(sql, expected_keyword, expected_text):
346 token, text = find_prev_keyword(sql)
347 assert (token.value if token else None) == expected_keyword
348 assert text == expected_text
349
350
351@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

find_prev_keywordFunction · 0.90

Tested by

no test coverage detected