diff --git a/supervisor/tests/test_options.py b/supervisor/tests/test_options.py index 719295c6d..1a7267829 100644 --- a/supervisor/tests/test_options.py +++ b/supervisor/tests/test_options.py @@ -1376,6 +1376,7 @@ def test_cleanup_removes_pidfile(self): f.write('2') instance = self._makeOne() instance.pidfile = pidfile + instance.logger = DummyLogger() instance.write_pidfile() instance.cleanup() self.assertFalse(os.path.exists(pidfile))