diff options
-rw-r--r-- | tests/ranger/container/test_fsobject.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ranger/container/test_fsobject.py b/tests/ranger/container/test_fsobject.py index 4e521806..3ea52d6f 100644 --- a/tests/ranger/container/test_fsobject.py +++ b/tests/ranger/container/test_fsobject.py @@ -21,7 +21,7 @@ def create_filesystem_object(path): def test_basename_natural1(): """Test filenames without extensions.""" fsos = [create_filesystem_object(path) - for path in "hello", "hello1", "hello2"] + for path in ("hello", "hello1", "hello2")] assert(fsos == sorted(fsos[::-1], key=operator.attrgetter("basename_natural"))) assert(fsos == sorted(fsos[::-1], key=operator.attrgetter("basename_natural_lower"))) @@ -29,6 +29,6 @@ def test_basename_natural1(): def test_basename_natural2(): """Test filenames with extensions.""" fsos = [create_filesystem_object(path) - for path in "hello", "hello.txt", "hello1.txt", "hello2.txt"] + for path in ("hello", "hello.txt", "hello1.txt", "hello2.txt")] assert(fsos == sorted(fsos[::-1], key=operator.attrgetter("basename_natural"))) assert(fsos == sorted(fsos[::-1], key=operator.attrgetter("basename_natural_lower"))) |