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

This commit is contained in:
Chandan Purushothama 2014-12-02 14:37:11 -08:00 committed by Sangeetha Hariharan
parent fc1a09ff49
commit 41b871b6bd
1 changed files with 1 additions and 2 deletions

View File

@ -199,13 +199,12 @@ class TestVMPasswordEnabled(cloudstackTestCase):
cls.virtual_machine.id)
cls.services["template"]["ostype"] = cls.services["ostype"]
cls.services["template"]["ispublic"] = True
#Create templates for Edit, Delete & update permissions testcases
cls.pw_enabled_template = Template.create(
cls.api_client,
cls.services["template"],
cls.volume.id,
account=cls.account.name,
domainid=cls.account.domainid
)
# Delete the VM - No longer needed
cls.virtual_machine.delete(cls.api_client, expunge=True)