ipatests: fix test_sudorule_plugin's wrong argument use

Fixes: https://pagure.io/freeipa/issue/3226
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
Alexander Bokovoy 2021-01-24 15:11:41 +02:00 committed by Rob Crittenden
parent 349322e3fb
commit 09e06e0564

View File

@ -723,7 +723,7 @@ class test_sudorule(XMLRPC_test):
self.rule_name, ipasudorunasusercategory=u'all'
)
finally:
api.Command['sudorule_remove_runasuser'](self.rule_name, user=self.test_command)
api.Command['sudorule_remove_runasuser'](self.rule_name, user=self.test_user)
def test_j_2_sudorule_referential_integrity(self):
"""