Merge pull request #504 from katlapinka/no-skip
Execute teardown after skip in test
This commit is contained in:
Submodule test/functional/test-framework updated: 548dcc58d4...6f60cfc051
@@ -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
|
This method is executed always in the end of each test, even if it fails or raises exception in
|
||||||
prepare stage.
|
prepare stage.
|
||||||
"""
|
"""
|
||||||
if TestRun.outcome == "skipped":
|
|
||||||
return
|
|
||||||
|
|
||||||
TestRun.LOGGER.end_all_groups()
|
TestRun.LOGGER.end_all_groups()
|
||||||
|
|
||||||
with TestRun.LOGGER.step("Cleanup after test"):
|
with TestRun.LOGGER.step("Cleanup after test"):
|
||||||
|
Reference in New Issue
Block a user