'L{TwistOptions.opt_log_format} given an invalid format name raises
L{UsageError}.'

def test_logFormatInvalid(self):

    options = TwistOptions()
    self.assertRaises(UsageError, options.opt_log_format, 'frommage')
