]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephfs/test_volume_client: print py2 or py3 which the test case runs 33019/head
authorLianne <liyan.wang@xtaotech.com>
Tue, 11 Jun 2019 10:27:06 +0000 (18:27 +0800)
committerShyukri Shyukriev <shshyukriev@suse.com>
Fri, 31 Jan 2020 17:52:48 +0000 (19:52 +0200)
Fixes: http://tracker.ceph.com/issues/40184
Signed-off-by: Lianne <liyan.wang@xtaotech.com>
(cherry picked from commit 7c7c7870d38902a0df83a0fdecaa56baad556d82)

qa/tasks/cephfs/test_volume_client.py

index 06094dd6fe988f90f2efc441e7494724debd2655..8ab632b92a62664f4c5ce6d858da2d9cb886cfdd 100644 (file)
@@ -19,7 +19,9 @@ class TestVolumeClient(CephFSTestCase):
     def setUp(self):
         CephFSTestCase.setUp(self)
         self.py_version = self.ctx.config.get('overrides', {}).get('python', 'python')
-        log.info("using python version: %s".format(self.py_version))
+        log.info("using python version: {python_version}".format(
+            python_version=self.py_version
+        ))
 
     def _volume_client_python(self, client, script, vol_prefix=None, ns_prefix=None):
         # Can't dedent this *and* the script we pass in, because they might have different