MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / create_db

Function create_db

lib/sqlalchemy/testing/provision.py:364–372  ·  view source on GitHub ↗

Dynamically create a database for testing. Used when a test run will employ multiple processes, e.g., when run via `tox` or `pytest -n4`.

(cfg, eng, ident)

Source from the content-addressed store, hash-verified

362
363@register.init
364def create_db(cfg, eng, ident):
365 """Dynamically create a database for testing.
366
367 Used when a test run will employ multiple processes, e.g., when run
368 via `tox` or `pytest -n4`.
369 """
370 raise NotImplementedError(
371 "no DB creation routine for cfg: %s" % (eng.url,)
372 )
373
374
375@register.init

Callers 1

create_follower_dbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected