mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
Merge PR #28194 into master
* refs/pull/28194/head: test_volume_client: declare only one default for python version test_volume_client: don't shadow class variable Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
commit
f26493cc25
@ -14,11 +14,12 @@ class TestVolumeClient(CephFSTestCase):
|
||||
# One for looking at the global filesystem, one for being
|
||||
# the VolumeClient, two for mounting the created shares
|
||||
CLIENTS_REQUIRED = 4
|
||||
py_version = 'python'
|
||||
default_py_version = 'python'
|
||||
|
||||
def setUp(self):
|
||||
CephFSTestCase.setUp(self)
|
||||
self.py_version = self.ctx.config.get('overrides', {}).get('python', 'python')
|
||||
self.py_version = self.ctx.config.get('overrides', {}).\
|
||||
get('python', TestVolumeClient.default_py_version)
|
||||
log.info("using python version: {python_version}".format(
|
||||
python_version=self.py_version
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user