test.runner.DiscoverRunner.teardown_databases()

DiscoverRunner.teardown_databases(old_config, **kwargs)

Destroys the test databases, restoring pre-test conditions.

old_config is a data structure defining the changes in the database configuration that need to be reversed. It is the return value of the setup_databases() method.

doc_Django
2016-10-09 18:40:02
Comments
Leave a Comment

Please login to continue.