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 <mreznik@redhat.com>
This commit is contained in:
Felipe Barreto
2018-02-06 15:53:08 +01:00
committed by Christian Heimes
parent 156f912104
commit 7b7edd57cd
@@ -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():