freeipa/ipatests
Petr Čech 3a0410267f ipatests: Fix on logs collection
If the function `install_kra` or `install_ca` fails
on call `host.run_command(command, raiseonerr=raiseonerr)`
then the logs are not collected.

This situation is not optimal because we need to see what happend
during the debbuging the tests.

So, this patch solves this situation and it adds try--finally
construction.

https://pagure.io/freeipa/issue/7214

Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
2017-10-18 17:01:53 +02:00
..
man Build: remove incorrect use of MAINTAINERCLEANFILES 2016-11-16 09:12:07 +01:00
pytest_plugins ipatests: Fix on logs collection 2017-10-18 17:01:53 +02:00
test_cmdline pytest 3.x compatibility 2017-03-27 18:03:14 +02:00
test_install pytest 3.x compatibility 2017-03-27 18:03:14 +02:00
test_integration tests: add host zone with overlap 2017-10-11 13:06:57 +02:00
test_ipaclient csrgen: Change to pure openssl config format (no script) 2017-04-03 07:46:30 +00:00
test_ipalib Remove the message attribute from exceptions 2017-10-06 09:19:46 +02:00
test_ipapython pylint: make unsupported-assignment-operation check local 2017-09-08 15:42:07 +02:00
test_ipaserver Add tests for external CA profile specifiers 2017-10-04 10:09:18 +02:00
test_pkcs10 Use with statement for opening file 2017-03-30 13:08:08 +02:00
test_webui Remove the message attribute from exceptions 2017-10-06 09:19:46 +02:00
test_xmlrpc Fixing param-{find,show} and output-{find,show} commands 2017-10-17 13:42:11 +02:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
conftest.py ipatests: do not finalize api when IPA is not configured 2017-07-14 09:12:36 +02:00
data.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
i18n.py Improve the robustness FreeIPA's i18n module and its tests 2016-11-28 13:58:33 +01:00
ipa-run-tests Enable additional warnings (BytesWarning, DeprecationWarning) 2017-02-10 16:16:44 +01:00
ipa-test-config Move env_config module to ipatests.pytest_plugins.integration.env_config 2017-03-22 13:42:04 +01:00
ipa-test-task logging: do not use ipa_log_manager to create module-level loggers 2017-07-14 15:55:59 +02:00
Makefile.am Build: fix distribution of static files for web UI 2016-11-09 13:08:32 +01:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Correct PyPI package dependencies 2017-04-26 12:31:11 +02:00
test_util.py Silence pytest.yield_fixture deprecation warning 2017-05-30 12:28:51 +02:00
util.py tests: Add LDAP URI to ldappasswd explicitly 2017-10-13 17:03:23 +02:00