MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_connect_query

Method test_connect_query

test/engine/test_parseconnect.py:552–560  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

550 propagated properly"""
551
552 def test_connect_query(self):
553 dbapi = MockDBAPI(foober="12", lala="18", fooz="somevalue")
554 e = create_engine(
555 "postgresql+psycopg2://scott:tiger@somehost/test?foobe"
556 "r=12&lala=18&fooz=somevalue",
557 module=dbapi,
558 _initialize=False,
559 )
560 e.connect()
561
562 def test_kwargs(self):
563 dbapi = MockDBAPI(

Callers

nothing calls this directly

Calls 3

create_engineFunction · 0.90
MockDBAPIFunction · 0.70
connectMethod · 0.45

Tested by

no test coverage detected