From a7e400fa654c8afb44b25f0645747c200ef34e09 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 2 Jul 2014 18:25:45 +0200 Subject: [PATCH] test_ipagetkeytab: Fix expected error message Reviewed-By: Martin Kosek --- ipatests/test_cmdline/test_ipagetkeytab.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ipatests/test_cmdline/test_ipagetkeytab.py b/ipatests/test_cmdline/test_ipagetkeytab.py index ee2fdecf0..5d8708241 100644 --- a/ipatests/test_cmdline/test_ipagetkeytab.py +++ b/ipatests/test_cmdline/test_ipagetkeytab.py @@ -86,7 +86,10 @@ class test_ipagetkeytab(cmdline_test): "-k", self.keytabname, ] (out, err, rc) = ipautil.run(new_args, stdin=None, raiseonerr=False) - assert err == 'Operation failed! PrincipalName not found.\n\n' + assert err == ( + 'Failed to parse result! PrincipalName not found.\n\n' + 'Failed to get keytab\n' + ), err def test_2_run(self): """