Skip to content

Commit 4beca6b

Browse files
committed
Improve test
1 parent bd746e3 commit 4beca6b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/functional/test_install.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,10 @@ def test_hashed_install_from_cache(
763763
reqs_file.resolve(),
764764
expect_error=True,
765765
)
766+
assert (
767+
"WARNING: The hashes of the source archive found in cache entry "
768+
"don't match, ignoring cached built wheel and re-downloading source."
769+
) in result.stderr
766770
assert "Using cached simple2" in result.stdout
767771
assert "ERROR: THESE PACKAGES DO NOT MATCH THE HASHES" in result.stderr
768772

0 commit comments

Comments
 (0)