unit_tests: run py36/py37 tests with tox
Added py36 and py37 unit tests runs. From Python 3.7, 'async' is a keyword and had to be renamed when used as a variable name. Fixes https://github.com/cloudbase/cloudbase-init/issues/23 Change-Id: I6ddd1a1bdbefde227e1f71dbe08831dbff0591f5
This commit is contained in:
parent
b55774cbd8
commit
aebec0f5cb
@ -1,6 +1,8 @@
|
||||
- project:
|
||||
templates:
|
||||
- build-openstack-docs-pti
|
||||
- openstack-python36-jobs
|
||||
- openstack-python37-jobs
|
||||
check:
|
||||
jobs:
|
||||
- build-openstack-releasenotes:
|
||||
|
@ -91,8 +91,8 @@ class VDSStorageManager(base.BaseStorageManager):
|
||||
|
||||
input_disks_ar = (vds.VDS_INPUT_DISK *
|
||||
len(input_disks))(*input_disks)
|
||||
async = volume.Extend(input_disks_ar, len(input_disks))
|
||||
async.Wait()
|
||||
extend_job = volume.Extend(input_disks_ar, len(input_disks))
|
||||
extend_job.Wait()
|
||||
|
||||
def _get_volume_extents_to_resize(self, pack, volume_id):
|
||||
volume_extents = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user