diff --git a/tests/fprintd.py b/tests/fprintd.py index 4be26bc..79a4afa 100755 --- a/tests/fprintd.py +++ b/tests/fprintd.py @@ -185,7 +185,6 @@ class FPrintdTest(dbusmock.DBusTestCase): env=env, stdout=None, stderr=subprocess.STDOUT) - self.device = None timeout_count = timeout * 10 timeout_sleep = 0.1 @@ -327,6 +326,9 @@ class FPrintdVirtualDeviceTest(FPrintdTest): self.daemon_stop() self.polkitd_stop() + del self.manager + del self.device + super().tearDown() def assertFprintError(self, fprint_error):