summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-07-02 18:25:45 +0200
committerMartin Kosek <mkosek@redhat.com>2014-07-04 08:51:42 +0200
commita7e400fa654c8afb44b25f0645747c200ef34e09 (patch)
tree299b2083d8fef55fd0e190222c688596523be314
parentbc1979ac09f6e01e1d8e13c21f41aee3c7e78ee0 (diff)
downloadfreeipa-a7e400fa654c8afb44b25f0645747c200ef34e09.tar.gz
freeipa-a7e400fa654c8afb44b25f0645747c200ef34e09.tar.xz
freeipa-a7e400fa654c8afb44b25f0645747c200ef34e09.zip
test_ipagetkeytab: Fix expected error message
Reviewed-By: Martin Kosek <mkosek@redhat.com>
-rw-r--r--ipatests/test_cmdline/test_ipagetkeytab.py5
1 files changed, 4 insertions, 1 deletions
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):
"""