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

Function test_parse_no_sql

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

Source from the content-addressed store, hash-verified

8empty_config = Configurable()
9
10def test_parse_no_sql():
11 assert parse("will:longliveliz@localhost/shakes", empty_config) == \
12 {'connection': "will:longliveliz@localhost/shakes",
13 'sql': ''}
14
15def test_parse_with_sql():
16 assert parse("postgresql://will:longliveliz@localhost/shakes SELECT * FROM work",

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected