test_ipagetkeytab: Fix expected error message

Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
Petr Viktorin 2014-07-02 18:25:45 +02:00 committed by Martin Kosek
parent bc1979ac09
commit a7e400fa65

View File

@ -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):
"""