MCPcopy
hub / github.com/andialbrecht/sqlparse / test_issue34

Function test_issue34

tests/test_regressions.py:41–43  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

39
40@pytest.mark.parametrize('value', ['create', 'CREATE'])
41def test_issue34(value):
42 t = sqlparse.parse("create")[0].token_first()
43 assert t.match(T.Keyword.DDL, value) is True
44
45
46def test_issue35():

Callers

nothing calls this directly

Calls 2

token_firstMethod · 0.80
matchMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…