Displaying 2 results from an estimated 2 matches for "756d81b0".
2019 Sep 19
2
[PATCH] v2v: -o rhv-upload: adapt phony ovirtsdk4 module to recent changes
...e(object):
def __init__(self, disk_id):
self._disk_id = disk_id
def get(self):
- return types.Disk()
+ return types.Disk(id=self._disk_id)
def remove(self):
pass
class DisksService(object):
def add(self, disk=None):
+ disk.id = "756d81b0-d5c0-41bc-9bbe-b343c3fa3490"
return disk
def disk_service(self, disk_id):
@@ -89,6 +98,9 @@ class ImageTransferService(object):
def __init__(self):
self._finalized = False
+ def cancel(self):
+ pass
+
def get(self):
if self._finalized:...
2020 Jan 10
7
[v2v PATCH 0/6] Various Python pycodestyle fixes
Fixes the majority of the pycodestyle issues in the Python scripts, and
fix the existing test-v2v-python-syntax.sh to use pycodestyle to
actually perform style checks.
Pino Toscano (6):
PEP 8: adapt whitespaces in lines
PEP 8: move imports at the top
PEP 8: adapt empty lines
tests: find all the Python scripts for syntax checks
-o rhv-upload: remove unused Python imports
Revamp check