diff --git a/backend/src/test/test_conf_log.py b/backend/src/test/test_conf_log.py index 3de614cc..72607c83 100644 --- a/backend/src/test/test_conf_log.py +++ b/backend/src/test/test_conf_log.py @@ -61,9 +61,7 @@ class TestRotateBootLog: def boom(self): raise OSError("permission denied") - monkeypatch.setattr( - "logging.handlers.RotatingFileHandler.doRollover", boom - ) + monkeypatch.setattr("logging.handlers.RotatingFileHandler.doRollover", boom) conf_log.rotate_boot_log()