mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
tests/fprintd: Cleanup the client proxies on tearDown
Ensure we nullify them when the test is done.
This commit is contained in:
committed by
Bastien Nocera
parent
21564885ea
commit
0fb4f3b021
@ -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):
|
||||
|
||||
Reference in New Issue
Block a user