mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
tests/fprintd: Add missing implementation of list_tests
Use unittest_inspector that we provide for meson tests inspection as well
This commit is contained in:
@ -1114,6 +1114,11 @@ class FPrintdUtilsTest(FPrintdVirtualDeviceBaseTest):
|
||||
self.device.Release()
|
||||
|
||||
|
||||
|
||||
def list_tests():
|
||||
import unittest_inspector
|
||||
return unittest_inspector.list_tests(sys.modules[__name__])
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) == 2 and sys.argv[1] == "list-tests":
|
||||
for machine, human in list_tests():
|
||||
|
||||
Reference in New Issue
Block a user