mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-05 13:28:09 +02:00
tests/pam: Call parent class tearDown class method
Tests were passing but we were also hanging in some platforms (as debian and ubuntu) because the resources were not released. So fix this by ensuring that we call the parent class tearDown function when required
This commit is contained in:
parent
a1ce732237
commit
64ad4b7fc9
1 changed files with 2 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ class TestPamFprintd(dbusmock.DBusTestCase):
|
|||
# Remove pam wrapper files, as they may break other tests
|
||||
[shutil.rmtree(i) for i in glob.glob('/tmp/pam.[0-9A-z]')]
|
||||
|
||||
dbusmock.DBusTestCase.tearDownClass()
|
||||
|
||||
def setUp(self):
|
||||
(self.p_mock, self.obj_fprintd_manager) = self.spawn_server_template(
|
||||
self.template_name, {})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue