From 0815337fa350c758561412fb91e21233cef96812 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Thu, 10 Feb 2022 15:53:45 +0100 Subject: tests: Initialize unused daemon_death_expected --- tests/gsdtestcase.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py index ec715b36..fab6bee2 100644 --- a/tests/gsdtestcase.py +++ b/tests/gsdtestcase.py @@ -112,6 +112,9 @@ class GSDTestCase(X11SessionTestCase): raise KeyboardInterrupt() signal.signal(signal.SIGTERM, r) + def setUp(self): + self.daemon_death_expected = False + def tearDown(self): # we check this at the end so that the other cleanup always happens daemon_running = self.daemon.poll() == None -- cgit v1.2.1