fix tests by adding additional output to expected responses
This commit is contained in:
parent
8723eb16ea
commit
6d38868950
|
@ -418,7 +418,7 @@ class TestLastFailed(object):
|
|||
result = testdir.runpytest("--lf")
|
||||
result.stdout.fnmatch_lines(
|
||||
[
|
||||
"collected 4 items / 2 deselected",
|
||||
"collected 4 items / 2 deselected / 2 selected",
|
||||
"run-last-failure: rerun previous 2 failures",
|
||||
"*2 failed, 2 deselected in*",
|
||||
]
|
||||
|
|
|
@ -474,7 +474,7 @@ class TestTerminalFunctional(object):
|
|||
)
|
||||
result = testdir.runpytest("-k", "test_two:", testpath)
|
||||
result.stdout.fnmatch_lines(
|
||||
["collected 3 items / 1 deselected", "*test_deselected.py ..*"]
|
||||
["collected 3 items / 1 deselected / 2 selected", "*test_deselected.py ..*"]
|
||||
)
|
||||
assert result.ret == 0
|
||||
|
||||
|
@ -498,7 +498,7 @@ class TestTerminalFunctional(object):
|
|||
result = testdir.runpytest("-m", "not foo")
|
||||
result.stdout.fnmatch_lines(
|
||||
[
|
||||
"collected 3 items / 1 deselected",
|
||||
"collected 3 items / 1 deselected / 2 selected",
|
||||
"*test_show_deselected.py ..*",
|
||||
"*= 2 passed, 1 deselected in * =*",
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue