Commit eccd790d authored by Marco Trevisan's avatar Marco Trevisan
Browse files

tests/fprintd: Add missing implementation of list_tests

Use unittest_inspector that we provide for meson tests inspection as well
parent bc29114a
......@@ -1114,6 +1114,11 @@ class FPrintdUtilsTest(FPrintdVirtualDeviceBaseTest):
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():
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment