]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw: fix issue error in tests_ps.py 34940/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Mon, 4 May 2020 15:35:25 +0000 (11:35 -0400)
committerVicente Cheng <freeze.bilsted@gmail.com>
Mon, 11 May 2020 16:14:14 +0000 (16:14 +0000)
The Python interpreter on teuthology complains about the lack of
parens in a print statement.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 92180651095924baaaf33286998e32c687744a2b)

src/test/rgw/rgw_multi/tests_ps.py

index b9446b867022b567dcd76136cba8cc41301e2c83..b867253b805572d73f5a9119804b7506a5fb78fe 100644 (file)
@@ -2745,7 +2745,7 @@ def test_ps_s3_multipart_on_master():
     assert_equal(len(events), 1)
     assert_equal(events[0]['Records'][0]['eventName'], 's3:ObjectCreated:CompleteMultipartUpload')
     assert_equal(events[0]['Records'][0]['s3']['configurationId'], notification_name+'_3')
-    print events[0]['Records'][0]['s3']['object']['size']
+    print(events[0]['Records'][0]['s3']['object']['size'])
 
     # cleanup
     stop_amqp_receiver(receiver1, task1)