-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch and report session scope fixture teardown failures in a separat…
…ed dedicated test case (#4613) Signed-off-by: Elad Ben Aharon <[email protected]>
- Loading branch information
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import pytest | ||
|
||
from ocs_ci.framework.pytest_customization.marks import tier1 | ||
|
||
|
||
@tier1 | ||
@pytest.mark.last | ||
class TestFailurePropagator: | ||
""" | ||
Test class for failure propagator test case. The test intention is to run last and propagate | ||
teardown failures caught during the test execution, so regular test cases won't false negatively fail | ||
""" | ||
|
||
def test_failure_propagator(self): | ||
pass |