File tree Expand file tree Collapse file tree
test/integration/component Expand file tree Collapse file tree Original file line number Diff line number Diff 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" )
You can’t perform that action at this time.
0 commit comments