MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / gen_testing_engine

Method gen_testing_engine

lib/sqlalchemy/testing/fixtures/base.py:172–184  ·  view source on GitHub ↗
(
            url=None,
            options=None,
            asyncio=False,
        )

Source from the content-addressed store, hash-verified

170 from .. import engines
171
172 def gen_testing_engine(
173 url=None,
174 options=None,
175 asyncio=False,
176 ):
177 if options is None:
178 options = {}
179 options["scope"] = "fixture"
180 return engines.testing_engine(
181 url=url,
182 options=options,
183 asyncio=asyncio,
184 )
185
186 yield gen_testing_engine
187

Callers

nothing calls this directly

Calls 1

testing_engineMethod · 0.80

Tested by

no test coverage detected