Fri, 18 Sep 2020 20:26:05 +0300
sort unit tests
unittest.py | file | annotate | diff | comparison | revisions |
--- a/unittest.py Fri Sep 18 20:26:00 2020 +0300 +++ b/unittest.py Fri Sep 18 20:26:05 2020 +0300 @@ -11,7 +11,7 @@ import os unit_test_dir = Path(script_directory) / 'unittests' for dirpath, dirnames, filenames in os.walk(unit_test_dir): - yield from ( + yield from sorted( Path(dirpath) / filename for filename in filenames if filename.endswith('.test')