MCPcopy Create free account
hub / github.com/andialbrecht/sqlparse / test_stream

Function test_stream

tests/test_regressions.py:187–190  ·  view source on GitHub ↗
(get_stream)

Source from the content-addressed store, hash-verified

185
186
187def test_stream(get_stream):
188 with get_stream("stream.sql") as stream:
189 p = sqlparse.parse(stream)[0]
190 assert p.get_type() == 'INSERT'
191
192
193def test_issue90():

Callers

nothing calls this directly

Calls 2

get_streamFunction · 0.85
get_typeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…