From 461fd7ce21df7fea502007bdb396dd08675df1c4 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Thu, 17 Oct 2019 21:30:34 +0100 Subject: [PATCH] update/fix logger tests --- tests/unit/test_logger.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/unit/test_logger.py b/tests/unit/test_logger.py index 3560018a9dd..5560acd4ea6 100644 --- a/tests/unit/test_logger.py +++ b/tests/unit/test_logger.py @@ -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