MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_random_arg

Method test_random_arg

test/dialect/mysql/test_dialect.py:476–481  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

474 ]
475 )
476 def test_random_arg(self):
477 dialect = testing.db.dialect
478 kw = dialect.create_connect_args(
479 make_url("mysql+mysqldb://u:p@host/db?foo=true")
480 )[1]
481 eq_(kw["foo"], "true")
482
483 @testing.only_on(
484 [

Callers

nothing calls this directly

Calls 3

make_urlFunction · 0.90
eq_Function · 0.90
create_connect_argsMethod · 0.45

Tested by

no test coverage detected