mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
Tests: test_ipagetkeytab: fix assert that is always true
Fixes: /usr/lib/python2.7/site-packages/ipatests/test_cmdline/test_ipagetkeytab.py:116: SyntaxWarning: assertion is always true, perhaps remove parentheses? Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
parent
8b1002a18c
commit
e1cb802d15
@ -113,8 +113,8 @@ class test_ipagetkeytab(cmdline_test):
|
||||
result = ipautil.run(new_args, None, capture_error=True)
|
||||
expected = 'Keytab successfully retrieved and stored in: %s\n' % (
|
||||
self.keytabname)
|
||||
assert (expected in result.error_output,
|
||||
'Success message not in output:\n%s' % result.error_output)
|
||||
assert expected in result.error_output, (
|
||||
'Success message not in output:\n%s' % result.error_output)
|
||||
except ipautil.CalledProcessError as e:
|
||||
assert (False)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user