From 291ea908aaa9d84ffabc69b2713e52fae85bc9d7 Mon Sep 17 00:00:00 2001 From: Katarzyna Lapinska Date: Wed, 30 Oct 2019 08:40:31 +0100 Subject: [PATCH] Destroy Log instance at the end of teardown method --- test/functional/test-framework | 2 +- test/functional/tests/conftest.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/functional/test-framework b/test/functional/test-framework index c00e1f1..b008160 160000 --- a/test/functional/test-framework +++ b/test/functional/test-framework @@ -1 +1 @@ -Subproject commit c00e1f19425e289c281f97b7f6cca1fb88e3f9bc +Subproject commit b0081604becc2b9ae23e0de5c29427c59966d68d diff --git a/test/functional/tests/conftest.py b/test/functional/tests/conftest.py index 1b042ea..635eabb 100644 --- a/test/functional/tests/conftest.py +++ b/test/functional/tests/conftest.py @@ -17,7 +17,7 @@ from api.cas import installer from api.cas import casadm from api.cas import git from test_utils.os_utils import Udev -from log.logger import create_log +from log.logger import create_log, Log plugins_dir = os.path.join(os.path.dirname(__file__), "../plugins") sys.path.append(plugins_dir) @@ -110,6 +110,7 @@ def pytest_runtest_teardown(): TestRun.LOGGER.end() TestRun.LOGGER.get_additional_logs() + Log.destroy() def pytest_configure(config):