]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
remove superfluous code in test_bucket_list_maxkeys_zero
authorStephon Striplin <stephon.striplin@dreamhost.com>
Thu, 11 Aug 2011 22:52:16 +0000 (15:52 -0700)
committerStephon Striplin <stephon.striplin@dreamhost.com>
Thu, 11 Aug 2011 22:52:16 +0000 (15:52 -0700)
s3tests/functional/test_s3.py

index bd677642cc74b335a2790be2d626b9e962a73d61..6bbce4f98f55cabc4ac073aeccf4fd657b7abb46 100644 (file)
@@ -354,8 +354,7 @@ def test_bucket_list_maxkeys_zero():
 
     li = bucket.get_all_keys(max_keys=0)
     eq(li.is_truncated, False)
-    names = [e.name for e in li]
-    eq(names, [])
+    eq(li, [])
 
 
 @attr('fails_on_rgw')