]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/test: fix rgw versioning test fix 67247/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 6 Feb 2026 21:19:27 +0000 (16:19 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Sat, 7 Feb 2026 00:15:16 +0000 (19:15 -0500)
Removing parentheses that are problematic.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
qa/workunits/rgw/test_rgw_versioning.py

index 43f87b6bc2539ae3f98b0f06dff3e5345a75de67..a9c0fb78158d1e0bb442299b8b98ab804df314fc 100755 (executable)
@@ -75,9 +75,7 @@ def main():
     log.info(f"json_out has length of { len(json_out) }")
     idx_list = list(map(lambda v: v['idx'], json_out))
     log.info(f"json_out has idx's of { idx_list }")
-    assert(len(json_out) == 4,
-           "bucket index did not only contain entries for one version of one " \
-           "object; expecting two plain, one instance, and one OLH entry")
+    assert len(json_out) == 4, "bucket index did not only contain entries for one version of one object; expecting two plain, one instance, and one OLH entry"
 
     connection.ObjectVersion(bucket.name, key, version_id_1).delete()
     # bucket index should now be empty