Skip to content

Commit

Permalink
Improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Apr 14, 2023
1 parent bd746e3 commit 4beca6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/functional/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,10 @@ def test_hashed_install_from_cache(
reqs_file.resolve(),
expect_error=True,
)
assert (
"WARNING: The hashes of the source archive found in cache entry "
"don't match, ignoring cached built wheel and re-downloading source."
) in result.stderr
assert "Using cached simple2" in result.stdout
assert "ERROR: THESE PACKAGES DO NOT MATCH THE HASHES" in result.stderr

Expand Down

0 comments on commit 4beca6b

Please sign in to comment.