-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a62463
commit 6e5ad12
Showing
2 changed files
with
39 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import pytest | ||
|
||
|
||
def test_always_passes(): | ||
assert True | ||
|
||
|
||
@pytest.mark.skip(reason="CI CHECK") | ||
def test_always_fails(ctx): | ||
assert False, "Always Fail" | ||
|
||
|
||
@pytest.mark.skip(reason="Test") | ||
def test_always_skip(): | ||
assert True | ||
|
||
|
||
def test_always_xfail(): | ||
pytest.xfail("xfail") | ||
|
||
|
||
@pytest.mark.xfail(reason="always xfail") | ||
def test_always_xpass(): | ||
pass | ||
|
||
|
||
def test_ctx(ctx): | ||
assert ctx is not None | ||
|
||
|
||
def test_dut(dut): | ||
assert dut is not None |
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