freeipa/ipatests/pytest_plugins
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
..
integration ipatests: Fix on logs collection 2017-10-18 17:01:53 +02:00
__init__.py Declarative tests: Switch to pytest 2014-11-21 12:14:44 +01:00
additional_config.py Pretty-print structures in assert_deepequal 2016-09-30 09:55:58 +02:00
beakerlib.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
declarative.py Remove unused variables in tests 2016-09-27 13:35:58 +02:00
nose_compat.py logging: make sure logging level is set to proper value 2017-07-26 15:57:56 +02:00