diff options
author | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2023-04-10 15:43:57 +0200 |
---|---|---|
committer | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2023-04-14 08:03:49 +0200 |
commit | 4beca6b4c9c510b19dbb6180e962425b89e8c839 (patch) | |
tree | 1d29b96efb4876cd2d57211299eca09484928427 | |
parent | bd746e3136e5e1be2374a079bac66071dd967a8c (diff) | |
download | pip-4beca6b4c9c510b19dbb6180e962425b89e8c839.tar.gz |
Improve test
-rw-r--r-- | tests/functional/test_install.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/test_install.py b/tests/functional/test_install.py index bc974d1a8..637128274 100644 --- a/tests/functional/test_install.py +++ b/tests/functional/test_install.py @@ -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 |