Execute teardown after skip in test

Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
This commit is contained in:
Katarzyna Lapinska
2020-08-19 15:57:41 +02:00
parent ed0052f502
commit c314aa294a
2 changed files with 1 additions and 4 deletions

View File

@@ -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"):