MCPcopy
hub / github.com/catherinedevlin/ipython-sql / test_parse_with_sql

Function test_parse_with_sql

src/tests/test_parse.py:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 'sql': ''}
14
15def test_parse_with_sql():
16 assert parse("postgresql://will:longliveliz@localhost/shakes SELECT * FROM work",
17 empty_config) == \
18 {'connection': "postgresql://will:longliveliz@localhost/shakes",
19 'sql': 'SELECT * FROM work'}
20
21def test_parse_sql_only():
22 assert parse("SELECT * FROM work", empty_config) == \

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected