More permissive output check

This commit is contained in:
Tzu-ping Chung 2021-01-27 21:55:46 +08:00
parent 2e70ec0751
commit 7d43ec5166
1 changed files with 2 additions and 2 deletions

View File

@ -1266,7 +1266,7 @@ def test_new_resolver_no_fetch_no_satisfying(script):
"--find-links", script.scratch_path,
"myuberpkg",
)
assert "Processing ./myuberpkg-1-" in result.stdout, str(result)
assert "Processing " in result.stdout, str(result)
# Try to upgrade the package. This should NOT emit the "Processing"
# message because the currently installed version is latest.
@ -1277,4 +1277,4 @@ def test_new_resolver_no_fetch_no_satisfying(script):
"--upgrade",
"myuberpkg",
)
assert "Processing ./myuberpkg-1-" not in result.stdout, str(result)
assert "Processing " not in result.stdout, str(result)