MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_connect_args

Method test_connect_args

test/dialect/sqlite/test_dialect.py:390–395  ·  view source on GitHub ↗

test create_connect_args scenarios including support for uri=True

(self, url, expected)

Source from the content-addressed store, hash-verified

388 ),
389 )
390 def test_connect_args(self, url, expected):
391 """test create_connect_args scenarios including support for uri=True"""
392
393 d = pysqlite_dialect.dialect()
394 url = make_url(url)
395 eq_(d.create_connect_args(url), expected)
396
397 @testing.combinations(
398 ("no_persisted", "", "ignore"),

Callers

nothing calls this directly

Calls 4

make_urlFunction · 0.90
eq_Function · 0.90
dialectMethod · 0.45
create_connect_argsMethod · 0.45

Tested by

no test coverage detected