'L{TwistOptions.opt_log_level} sets the corresponding log level.'

def test_logLevelValid(self):

    options = TwistOptions()
    options.opt_log_level('warn')
    self.assertIdentical(options['logLevel'], LogLevel.warn)
