Skip to content

Commit fac8c5f

Browse files
committed
Merge branch '4.9'
2 parents 7df21f9 + b931b79 commit fac8c5f

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)