Skip to content

Commit

Permalink
added asssert to check type
Browse files Browse the repository at this point in the history
  • Loading branch information
Chsudeepta authored and Chsudeepta committed Oct 17, 2024
1 parent 3a39643 commit e91dbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/logger/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e91dbd9

Please sign in to comment.