MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_create_engine_url_invalid

Method test_create_engine_url_invalid

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

Source from the content-addressed store, hash-verified

356 url_obj.query["foo"] = "hoho"
357
358 def test_create_engine_url_invalid(self):
359 with expect_raises_message(
360 exc.ArgumentError,
361 "Expected string or URL object, got 42",
362 ):
363 create_engine(42)
364
365 @testing.combinations(
366 (

Callers

nothing calls this directly

Calls 2

expect_raises_messageFunction · 0.90
create_engineFunction · 0.90

Tested by

no test coverage detected