From acf1aefdbfffa80e066ad3e4d84df9792bb52f82 Mon Sep 17 00:00:00 2001 From: "J. Eric Ivancich" Date: Fri, 6 Feb 2026 16:19:27 -0500 Subject: [PATCH] rgw/test: fix rgw versioning test fix Removing parentheses that are problematic. Signed-off-by: J. Eric Ivancich --- qa/workunits/rgw/test_rgw_versioning.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qa/workunits/rgw/test_rgw_versioning.py b/qa/workunits/rgw/test_rgw_versioning.py index 43f87b6bc25..a9c0fb78158 100755 --- a/qa/workunits/rgw/test_rgw_versioning.py +++ b/qa/workunits/rgw/test_rgw_versioning.py @@ -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 -- 2.47.3