diff --git a/tests/unit/utils/test_log.py b/tests/unit/utils/test_log.py index d31166d21..9b579fef0 100644 --- a/tests/unit/utils/test_log.py +++ b/tests/unit/utils/test_log.py @@ -217,8 +217,8 @@ class TestInitLog: @pytest.fixture def args(self): """Fixture providing an argparse namespace for init_log.""" - return argparse.Namespace(debug=True, loglevel=logging.DEBUG, - color=True, loglines=10, logfilter="") + return argparse.Namespace(debug=True, loglevel='debug', color=True, + loglines=10, logfilter="") def test_stderr_none(self, args): """Test init_log with sys.stderr = None."""