diff --git a/tests/test_unasync.py b/tests/test_unasync.py index 35e0c6c..7bf791b 100644 --- a/tests/test_unasync.py +++ b/tests/test_unasync.py @@ -17,6 +17,8 @@ def list_files(startpath): output = "" for root, dirs, files in os.walk(startpath): + dirs.sort() + files.sort() level = root.replace(startpath, "").count(os.sep) indent = " " * 4 * (level) output += f"{indent}{os.path.basename(root)}/"