From eccd790df754afcad58234c8ec938e3f8ed55bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 6 Feb 2020 18:35:43 +0100 Subject: [PATCH] tests/fprintd: Add missing implementation of list_tests Use unittest_inspector that we provide for meson tests inspection as well --- tests/fprintd.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/fprintd.py b/tests/fprintd.py index 1864aea..60471e3 100755 --- a/tests/fprintd.py +++ b/tests/fprintd.py @@ -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():