From 7b7edd57cd8ec144ea3c23889f84cb26d7f89d61 Mon Sep 17 00:00:00 2001 From: Felipe Barreto Date: Thu, 18 Jan 2018 09:10:06 -0200 Subject: [PATCH] IntegrationTests now collects logs from all test methods logs_dict should not be cleared. It's filled once per class and it should not be cleared after running the first test. https://pagure.io/freeipa/issue/7310 https://pagure.io/freeipa/issue/7335 Reviewed-By: Michal Reznik --- ipatests/pytest_plugins/integration/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ipatests/pytest_plugins/integration/__init__.py b/ipatests/pytest_plugins/integration/__init__.py index bee669b0d..2c107b926 100644 --- a/ipatests/pytest_plugins/integration/__init__.py +++ b/ipatests/pytest_plugins/integration/__init__.py @@ -179,8 +179,6 @@ def collect_logs(name, logs_dict, logfile_dir=None, beakerlib_plugin=None): else: shutil.rmtree(topdirname) - logs_dict.clear() - @pytest.fixture(scope='class') def class_integration_logs():