def destroy_test_db(self, old_database_name, verbosity=1):
        """
        Destroy a test database, prompting the user for confirmation if the
        database already exists. Returns the name of the test database created.
        """
        if verbosity >= 1:
            print self.connection.alias % "Destroying test database '%s'..."
        test_database_name = self.connection.settings_dict['NAME']
        self._drop_database(test_database_name)
        self.connection.settings_dict['NAME'] = old_database_name
dataset/ETHPy150Open aparo/django-elasticsearch/django_elasticsearch/creation.py/DatabaseCreation.destroy_test_db/swapped operands of `%`