Update reason in test to prevent confusing with test_no_reason
This commit is contained in:
parent
122980ecad
commit
00d0c74657
|
@ -455,7 +455,7 @@ class TestSkip:
|
||||||
@pytest.mark.skip
|
@pytest.mark.skip
|
||||||
def test_foo():
|
def test_foo():
|
||||||
pass
|
pass
|
||||||
@pytest.mark.skip(reason="no reason")
|
@pytest.mark.skip(reason="nothing in particular")
|
||||||
def test_bar():
|
def test_bar():
|
||||||
pass
|
pass
|
||||||
def test_baz():
|
def test_baz():
|
||||||
|
@ -463,7 +463,7 @@ class TestSkip:
|
||||||
""")
|
""")
|
||||||
result = testdir.runpytest('-rs')
|
result = testdir.runpytest('-rs')
|
||||||
result.stdout.fnmatch_lines([
|
result.stdout.fnmatch_lines([
|
||||||
"*no reason*",
|
"*nothing in particular*",
|
||||||
"*1 passed*2 skipped*",
|
"*1 passed*2 skipped*",
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue