diff --git a/ipatests/test_integration/test_commands.py b/ipatests/test_integration/test_commands.py index b7ffb926f..6859a93b4 100644 --- a/ipatests/test_integration/test_commands.py +++ b/ipatests/test_integration/test_commands.py @@ -1426,10 +1426,10 @@ class TestIPACommand(IntegrationTest): user_kinit = "{password}\n{password}\n{password}\n".format( password=password) - self.clients[0].run_command([ + self.master.run_command([ 'kinit', regular_user], stdin_text=user_kinit) - self.clients[0].run_command([ + self.master.run_command([ 'kinit', restricted_user], stdin_text=user_kinit) tasks.kdestroy_all(self.clients[0])