diff --git a/tests/logger/test_logger.py b/tests/logger/test_logger.py index 05754f4..b0cb41f 100644 --- a/tests/logger/test_logger.py +++ b/tests/logger/test_logger.py @@ -18,7 +18,7 @@ def test_GIVEN_logging_is_requested_THEN_handler_is_added(): if isinstance(handler, logging.handlers.TimedRotatingFileHandler): loghandler = handler - assert isinstance(handler, logging.handlers.TimedRotatingFileHandler) + assert isinstance(loghandler, logging.handlers.TimedRotatingFileHandler) assert loghandler is not None assert loghandler.name == "timedRotatingFileHandler" assert loghandler.when.lower() == "midnight"