]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephfs/test_volume_client: print py2 or py3 which the test case runs 28221/head
authorLianne <liyan.wang@xtaotech.com>
Tue, 11 Jun 2019 10:27:06 +0000 (18:27 +0800)
committerLianne <liyan.wang@xtaotech.com>
Tue, 11 Jun 2019 10:27:06 +0000 (18:27 +0800)
Fixes: http://tracker.ceph.com/issues/40184
Signed-off-by: Lianne <liyan.wang@xtaotech.com>
qa/tasks/cephfs/test_volume_client.py

index 95e4a212809c834a5796a065017ed9103f72d46f..16a5ca9f152b1802ee318731ce14e70901b55bd6 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