Skip to content
Snippets Groups Projects
Commit 79ecac55 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

TEST: allFiles does not guarantee order of result

parent cc412bbe
No related branches found
No related tags found
No related merge requests found
...@@ -121,8 +121,10 @@ def test_allFiles(): ...@@ -121,8 +121,10 @@ def test_allFiles():
] ]
with testdir(create) as td: with testdir(create) as td:
assert fslpath.allFiles('.') == [op.join('.', c) for c in create] assert (sorted(fslpath.allFiles('.')) ==
assert fslpath.allFiles(td) == [op.join(td, c) for c in create] sorted([op.join('.', c) for c in create]))
assert (sorted(fslpath.allFiles(td)) ==
sorted([op.join(td, c) for c in create]))
def test_hasExt(): def test_hasExt():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment