'Internal implementation - returns the name of the test DB that will be
created. Only useful when called from create_test_db() and
_create_test_db() and when no external munging is done with the \'NAME\'
or \'TEST_NAME\' settings.'

def _get_test_db_name(self):

    if self.connection.settings_dict['TEST_NAME']:
        return self.connection.settings_dict['TEST_NAME']
    return (TEST_DATABASE_PREFIX + self.connection.settings_dict['NAME'])
