Skip to content

Commit f8c9f45

Browse files
committed
Merge pull request #1823 from shapeblue/4.8-travis-templatefix
CLOUDSTACK-9594: Fix regression in test_templatesFixes regression in component test `test_templates.py` * pr/1823: CLOUDSTACK-9594: Fix regression in test_templates Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2 parents 8769597 + ae32aa1 commit f8c9f45

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration/component/test_templates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ def test_01_list_templates_with_templatefilter_all_normal_user(self):
658658
UserName=self.account.name,
659659
DomainName=self.account.domain)
660660
try:
661-
list_template_response = Template.list(self.user_api_client, templatefilter='all')
661+
list_template_response = Template.list(user_api_client, templatefilter='all')
662662
self.fail("Regular User is able to use templatefilter='all' in listTemplates API call")
663663
except Exception as e:
664664
self.debug("ListTemplates API with templatefilter='all' is not permitted for normal user")
@@ -674,6 +674,6 @@ def test_02_list_templates_with_templatefilter_all_domain_admin(self):
674674
UserName=self.newdomain_account.name,
675675
DomainName=self.newdomain_account.domain)
676676
try:
677-
list_template_response = Template.list(self.domain_user_api_client, templatefilter='all')
677+
list_template_response = Template.list(domain_user_api_client, templatefilter='all')
678678
except Exception as e:
679679
self.fail("Domain admin should be able to use templatefilter='all' in listTemplates API call")

0 commit comments

Comments
 (0)