'Destroy a test database, prompting the user for confirmation if the
database already exists. Returns the name of the test database created.'

def destroy_test_db(self, old_database_name, verbosity=1):

    if (verbosity >= 1):
        print ("Destroying    test    database    '%s'..." % self.connection.alias)
    self.connection.close()
    test_database_name = self.connection.settings_dict['NAME']
    self.connection.settings_dict['NAME'] = old_database_name
    self._destroy_test_db(test_database_name, verbosity)
