We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e76b066 + 0e8debd commit 40303f5Copy full SHA for 40303f5
tests/feature/test_tags.py
@@ -120,7 +120,7 @@ def pytest_bdd_apply_tag(tag, function):
120
Scenario: Tags
121
Given I have a bar
122
123
- @skip
+ @xfail
124
Scenario: Tags 2
125
126
""")
@@ -133,14 +133,9 @@ def i_have_bar():
133
134
scenarios('test.feature')
135
136
- result = testdir.runpytest('-rs')
+ result = testdir.runpytest('-rsx')
137
result.stdout.fnmatch_lines(["SKIP *: Not implemented yet"])
138
- result.stdout.fnmatch_lines(
139
- [
140
- "SKIP *: unconditional skip",
141
- "*= 2 skipped * =*",
142
- ],
143
- )
+ result.stdout.fnmatch_lines(["*= 1 skipped, 1 xpassed * =*"])
144
145
146
def test_tag_with_spaces(testdir):
0 commit comments