summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/platforms/azurecloud/instance.py
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-07-15 10:26:12 -0400
committerGitHub <noreply@github.com>2020-07-15 10:26:12 -0400
commit4fe576516d65feda17ba78e9265a8e494a195e7b (patch)
treea4cdbde78f035bfca999c22ce5c1443ecb20c5ae /tests/cloud_tests/platforms/azurecloud/instance.py
parent25289087e44c9c74543248519e37ca1f11b8a711 (diff)
downloadvyos-cloud-init-4fe576516d65feda17ba78e9265a8e494a195e7b.tar.gz
vyos-cloud-init-4fe576516d65feda17ba78e9265a8e494a195e7b.zip
cloudinit: remove global disable of pylint W0107 and fix errors (#489)
* cloudinit: remove global disable of pylint W0107 and fix errors This includes removing a test class which contained no tests but wasn't detected as empty because of an errant pass statement. * .pylintrc: update disable comment to match arguments
Diffstat (limited to 'tests/cloud_tests/platforms/azurecloud/instance.py')
-rw-r--r--tests/cloud_tests/platforms/azurecloud/instance.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/cloud_tests/platforms/azurecloud/instance.py b/tests/cloud_tests/platforms/azurecloud/instance.py
index f1e28a96..a136cf0d 100644
--- a/tests/cloud_tests/platforms/azurecloud/instance.py
+++ b/tests/cloud_tests/platforms/azurecloud/instance.py
@@ -80,7 +80,6 @@ class AzureCloudInstance(Instance):
except CloudError:
LOG.debug(('image not found, launching instance with base image, '
'image_id=%s'), self.image_id)
- pass
vm_params = {
'name': self.vm_name,
@@ -169,7 +168,6 @@ class AzureCloudInstance(Instance):
sleep(15)
else:
LOG.warning('Could not find console log: %s', e)
- pass
LOG.debug('stopping instance %s', self.image_id)
vm_deallocate = \