mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +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,
|
env=env,
|
||||||
stdout=None,
|
stdout=None,
|
||||||
stderr=subprocess.STDOUT)
|
stderr=subprocess.STDOUT)
|
||||||
self.device = None
|
|
||||||
|
|
||||||
timeout_count = timeout * 10
|
timeout_count = timeout * 10
|
||||||
timeout_sleep = 0.1
|
timeout_sleep = 0.1
|
||||||
@ -327,6 +326,9 @@ class FPrintdVirtualDeviceTest(FPrintdTest):
|
|||||||
self.daemon_stop()
|
self.daemon_stop()
|
||||||
self.polkitd_stop()
|
self.polkitd_stop()
|
||||||
|
|
||||||
|
del self.manager
|
||||||
|
del self.device
|
||||||
|
|
||||||
super().tearDown()
|
super().tearDown()
|
||||||
|
|
||||||
def assertFprintError(self, fprint_error):
|
def assertFprintError(self, fprint_error):
|
||||||
|
|||||||
Reference in New Issue
Block a user