tests: remote: Sort tests correctly

Problem appeared after introducing python3 support.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
This commit is contained in:
Janusz Dziedzic 2020-09-26 13:26:52 +02:00 committed by Jouni Malinen
parent e7b27637a5
commit ac6595f281

View File

@ -231,7 +231,7 @@ def main():
# sort the list # sort the list
test_names.sort() test_names.sort()
tests.sort() tests.sort(key=lambda t: t.__name__)
# print help # print help
if requested_tests[0] == "help" and len(requested_hwsim_tests) == 0: if requested_tests[0] == "help" and len(requested_hwsim_tests) == 0: