Skip to content

Commit 7906a56

Browse files
committed
Removed whitespaces in smoke tests
1 parent e6cda26 commit 7906a56

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

test/integration/plugins/storpool/TestStorPoolVolumes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ def test_08_delete_snapshot_of_deleted_volume(self):
892892
if flag == False:
893893
raise Exception("Could not find snapshot in snapshot details")
894894
except Exception as err:
895-
raise Exception(err)
895+
raise Exception(err)
896896

897897
template = self.create_template_from_snapshot(self.apiclient, self.services, snapshotid = snapshot.id)
898898

@@ -1000,7 +1000,7 @@ def test_09_vm_from_bypassed_template(self):
10001000

10011001
backup_config = Configurations.update(self.apiclient,
10021002
name = "sp.bypass.secondary.storage",
1003-
value = "false")
1003+
value = "false")
10041004

10051005
vm = VirtualMachine.create(
10061006
self.apiclient,
@@ -1780,7 +1780,7 @@ def test_21_snapshot_detached_volume(self):
17801780

17811781
@attr(tags=["advanced", "advancedns", "smoke"], required_hardware="true")
17821782
def test_22_snapshot_root_disk(self):
1783-
''' Test ROOT Disk Snapshot
1783+
''' Test ROOT Disk Snapshot
17841784
'''
17851785
vm = VirtualMachine.create(self.apiclient,
17861786
{"name":"StorPool-%s" % uuid.uuid4() },
@@ -2094,7 +2094,7 @@ def get_remote_cluster(cls):
20942094
def list_hosts_by_cluster_id(cls, clusterid):
20952095
"""List all Hosts matching criteria"""
20962096
cmd = listHosts.listHostsCmd()
2097-
cmd.clusterid = clusterid
2097+
cmd.clusterid = clusterid
20982098
return(cls.apiclient.listHosts(cmd))
20992099

21002100

test/integration/plugins/storpool/TestTagsOnStorPool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def test_08_vcpolicy_tag_to_reverted_disk(self):
537537
self.vc_policy_tags(volume, vm_tags, vm)
538538

539539
snapshot = Snapshot.create(
540-
self.apiclient,
540+
self.apiclient,
541541
volume[0].id,
542542
account=self.account.name,
543543
domainid=self.account.domainid

test/integration/plugins/storpool/sp_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ def create_custom_disk(cls, apiclient, services, size = None, miniops = None, ma
606606
return Volume(apiclient.createVolume(cmd).__dict__)
607607

608608
@classmethod
609-
def create_vm_custom(cls, apiclient, services, templateid=None, zoneid=None,
609+
def create_vm_custom(cls, apiclient, services, templateid=None, zoneid=None,
610610
serviceofferingid=None, method='GET', hypervisor=None,
611611
cpuNumber=None, cpuSpeed=None, memory=None, minIops=None,
612612
maxIops=None, hostid=None, rootdisksize=None, account=None, domainid=None

0 commit comments

Comments
 (0)