def teardown_databases(self, old_config, options):
        """
        Destroys all the non-mirror databases.
        """
        if len(old_config) > 1:
            old_names, mirrors = old_config
        else:
            old_names = old_config
        for connection, old_name, destroy in old_names:
            if destroy:
                connection.creation.destroy_test_db(old_name, options['verbosity'])
def teardown_databases ( self , old_config , options ) : if len ( old_config ) > 1 : old_names , mirrors = old_config else : old_names = old_config for connection , old_name , destroy in old_names : if destroy : connection . creation . destroy_test_db ( old_name , options [ 'verbosity' ] )
Destroys all the non-mirror databases.