Check no reason displayed if none specified
This commit is contained in:
parent
eee24138b0
commit
1b5aa2868d
|
@ -416,8 +416,11 @@ class TestSkip(object):
|
||||||
def test_foo():
|
def test_foo():
|
||||||
pass
|
pass
|
||||||
""")
|
""")
|
||||||
rec = testdir.inline_run()
|
result = testdir.runpytest('-rs')
|
||||||
rec.assertoutcome(skipped=1)
|
result.stdout.fnmatch_lines([
|
||||||
|
"*Skipped instance*",
|
||||||
|
"*1 skipped*",
|
||||||
|
])
|
||||||
|
|
||||||
def test_skip_with_reason(self, testdir):
|
def test_skip_with_reason(self, testdir):
|
||||||
testdir.makepyfile("""
|
testdir.makepyfile("""
|
||||||
|
|
Loading…
Reference in New Issue