about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-03-25 10:43:35 +0100
committerhut <hut@lepus.uberspace.de>2016-03-25 10:43:47 +0100
commite13b9212537e3cdcf586e946aff731aaf051b21a (patch)
treef05d2f4ba6d318da385ee0790ba77d718414c70f
parent7351c7a78906150b2e28b5c851a321efa3273f12 (diff)
downloadranger-e13b9212537e3cdcf586e946aff731aaf051b21a.tar.gz
test_fsobject: fix syntax error
-rw-r--r--tests/ranger/container/test_fsobject.py4
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")))