summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/pam/test_pam_fprintd.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pam/test_pam_fprintd.py b/tests/pam/test_pam_fprintd.py
index 6788444..54943e4 100644
--- a/tests/pam/test_pam_fprintd.py
+++ b/tests/pam/test_pam_fprintd.py
@@ -55,6 +55,8 @@ class TestPamFprintd(dbusmock.DBusTestCase):
@classmethod
def setUpClass(klass):
+ dbusmock.DBusTestCase.setUpClass()
+
klass.start_system_bus()
klass.start_monitor()
klass.dbus_con = klass.get_dbus(True)
@@ -75,6 +77,7 @@ class TestPamFprintd(dbusmock.DBusTestCase):
dbusmock.DBusTestCase.tearDownClass()
def setUp(self):
+ super().setUp()
(self.p_mock, self.obj_fprintd_manager) = self.spawn_server_template(
self.template_name, {})
self.obj_fprintd_mock = dbus.Interface(self.obj_fprintd_manager, 'net.reactivated.Fprint.Manager.Mock')
@@ -82,6 +85,7 @@ class TestPamFprintd(dbusmock.DBusTestCase):
def tearDown(self):
self.p_mock.terminate()
self.p_mock.wait()
+ super().tearDown()
def setup_device(self):
device_path = self.obj_fprintd_mock.AddDevice('FDO Trigger Finger Laser Reader', 3, 'swipe', False)