MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / run_reap_dbs

Function run_reap_dbs

lib/sqlalchemy/testing/provision.py:434–442  ·  view source on GitHub ↗

Remove databases that were created during the test process, after the process has ended. This is an optional step that is invoked for certain backends that do not reliably release locks on the database as long as a process is still in use. For the internal dialects, this is currentl

(url, ident)

Source from the content-addressed store, hash-verified

432
433@register.init
434def run_reap_dbs(url, ident):
435 """Remove databases that were created during the test process, after the
436 process has ended.
437
438 This is an optional step that is invoked for certain backends that do not
439 reliably release locks on the database as long as a process is still in
440 use. For the internal dialects, this is currently only necessary for
441 mssql and oracle.
442 """
443
444
445def reap_dbs(idents_file):

Callers 1

reap_dbsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected