Пример #1
0
 def test_getattr_with_invalid(self):
     logger = AbstractLogger('trace')
     try:
         logger.invalid('message')
         raise AssertionError, 'AttributeError not raised'
     except AttributeError:
         pass