Skip to content

Commit 41b871b

Browse files
pckreddySangeetha Hariharan
authored andcommitted
CLOUDSTACK-8007: Fixed the script 'test_vm_passwdenabled.py' - Template created by Admin should have public access to be used for regular User VM Deployment
1 parent fc1a09f commit 41b871b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/integration/component/test_vm_passwdenabled.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,12 @@ def setUpClass(cls):
199199
cls.virtual_machine.id)
200200

201201
cls.services["template"]["ostype"] = cls.services["ostype"]
202+
cls.services["template"]["ispublic"] = True
202203
#Create templates for Edit, Delete & update permissions testcases
203204
cls.pw_enabled_template = Template.create(
204205
cls.api_client,
205206
cls.services["template"],
206207
cls.volume.id,
207-
account=cls.account.name,
208-
domainid=cls.account.domainid
209208
)
210209
# Delete the VM - No longer needed
211210
cls.virtual_machine.delete(cls.api_client, expunge=True)

0 commit comments

Comments
 (0)