mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
test_ipagetkeytab: Fix assertion in negative test
The ipagetkeytab command recently changed its failure output to accomodate pre-4.0 servers. Update the test to reflect this. Related: https://fedorahosted.org/freeipa/ticket/4446 Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
parent
aa0639284c
commit
410da23aec
@ -86,10 +86,8 @@ class test_ipagetkeytab(cmdline_test):
|
||||
"-k", self.keytabname,
|
||||
]
|
||||
(out, err, rc) = ipautil.run(new_args, stdin=None, raiseonerr=False)
|
||||
assert err == (
|
||||
'Failed to parse result! PrincipalName not found.\n\n'
|
||||
'Failed to get keytab\n'
|
||||
), err
|
||||
assert 'Failed to parse result: PrincipalName not found.\n' in err, err
|
||||
assert rc > 0, rc
|
||||
|
||||
def test_2_run(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user