Simpler usage error in test_remote_usage_prog
This commit is contained in:
@@ -458,5 +458,5 @@ def test_remote_usage_prog(testdir, request):
|
|||||||
result = testdir.runpytest_subprocess("-n1")
|
result = testdir.runpytest_subprocess("-n1")
|
||||||
assert result.ret == 1
|
assert result.ret == 1
|
||||||
result.stdout.fnmatch_lines(
|
result.stdout.fnmatch_lines(
|
||||||
["*usage: pytest.py *", "pytest.py: error: my_usage_error"]
|
["*usage: *", "*error: my_usage_error"]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user