Simpler usage error in test_remote_usage_prog

This commit is contained in:
Jiri Kuncar
2019-02-15 10:54:18 +01:00
parent ca58e5e7ed
commit 93780dcccc

View File

@@ -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"]
) )