'Does logging work when passing in a valid file?'

def test_db_execute_logging_validfile(self):

    settings.SOUTH_LOGGING_ON = True
    settings.SOUTH_LOGGING_FILE = self.test_path
    try:
        fh = open(self.test_path, 'w')
    except IOError:
        return
    else:
        fh.close()
    db.create_table('test10', [('email_confirmed', models.BooleanField(default=False))])
    close_logger()
    try:
        os.remove(self.test_path)
    except:
        pass
