freeipa/ipatests/test_cmdline
Alexander Bokovoy 6163cbc166 test_ipagetkeytab: allow testing LDAP connection beyond bind operation
Convert use_keytab() function into a context manager to allow additional
operations to be done as part of the test. Also pass proper credentials
cache file to the backend while connecting to LDAP so that right creds
are in use.

This is required to perform actual tests for use of the retrieved keys.

Related: https://pagure.io/freeipa/issue/7953
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-05-28 09:55:51 +03:00
..
__init__.py pytest 3.x compatibility 2017-03-27 18:03:14 +02:00
cmdline.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
test_cli.py Test: add new tests for ipa-crlgen-manage 2019-03-14 09:39:55 +01:00
test_help.py Address inconsistent-return-statements 2018-11-13 13:37:58 +01:00
test_ipagetkeytab.py test_ipagetkeytab: allow testing LDAP connection beyond bind operation 2019-05-28 09:55:51 +03:00