Skip to content

Commit

Permalink
update/fix logger tests
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Oct 17, 2019
1 parent c71d367 commit 461fd7c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/unit/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ def test_progress_awareness(self, mocker, capsys, caplog):


def test_handlers():
stdout, stderr = logger.handlers
out, deb, err = logger.handlers

assert stdout.level == logging.DEBUG
assert stderr.level == logging.WARNING
assert out.level == logging.INFO
assert deb.level == logging.DEBUG
assert err.level == logging.WARNING

0 comments on commit 461fd7c

Please sign in to comment.