From c314aa294a456b7325c77c6e5a586f30c6d80ecb Mon Sep 17 00:00:00 2001 From: Katarzyna Lapinska Date: Wed, 19 Aug 2020 15:57:41 +0200 Subject: [PATCH] Execute teardown after skip in test Signed-off-by: Katarzyna Lapinska --- test/functional/test-framework | 2 +- test/functional/tests/conftest.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/test/functional/test-framework b/test/functional/test-framework index 548dcc5..6f60cfc 160000 --- a/test/functional/test-framework +++ b/test/functional/test-framework @@ -1 +1 @@ -Subproject commit 548dcc58d4f29d37a2a2f97149928853e4d628a7 +Subproject commit 6f60cfc05187d8cde5e3b3e613b13dfc2b0b3b77 diff --git a/test/functional/tests/conftest.py b/test/functional/tests/conftest.py index c1a803d..8c3f833 100644 --- a/test/functional/tests/conftest.py +++ b/test/functional/tests/conftest.py @@ -82,9 +82,6 @@ def pytest_runtest_teardown(): This method is executed always in the end of each test, even if it fails or raises exception in prepare stage. """ - if TestRun.outcome == "skipped": - return - TestRun.LOGGER.end_all_groups() with TestRun.LOGGER.step("Cleanup after test"):