'Can\'t pass invalid log levels to C{setLogLevelForNamespace()}.'

def test_setInvalidLogLevel(self):

    predicate = LogLevelFilterPredicate()
    self.assertRaises(InvalidLogLevelError, predicate.setLogLevelForNamespace, 'twext.web2', object())
    self.assertRaises(InvalidLogLevelError, predicate.setLogLevelForNamespace, 'twext.web2', 'debug')
