Skip to content

Commit d57c5dd

Browse files
committed
Fixed the tests
1 parent f2c49cd commit d57c5dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/functional/test_cache.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ def test_cache_info(
210210
result = script.pip("cache", "info")
211211

212212
assert f"Package index page cache location: {http_cache_dir}" in result.stdout
213-
assert f"Wheels location: {wheel_cache_dir}" in result.stdout
213+
assert f"Built wheels location: {wheel_cache_dir}" in result.stdout
214214
num_wheels = len(wheel_cache_files)
215-
assert f"Number of wheels: {num_wheels}" in result.stdout
215+
assert f"Number of built wheels: {num_wheels}" in result.stdout
216216

217217

218218
@pytest.mark.usefixtures("populate_wheel_cache")
@@ -242,9 +242,9 @@ def test_cache_list_abspath(script: PipTestEnvironment) -> None:
242242
@pytest.mark.usefixtures("empty_wheel_cache")
243243
def test_cache_list_with_empty_cache(script: PipTestEnvironment) -> None:
244244
"""Running `pip cache list` with an empty cache should print
245-
"Nothing cached." and exit."""
245+
"No locally built wheels cached." and exit."""
246246
result = script.pip("cache", "list")
247-
assert result.stdout == "Nothing cached.\n"
247+
assert result.stdout == "No locally built wheels cached.\n"
248248

249249

250250
@pytest.mark.usefixtures("empty_wheel_cache")

0 commit comments

Comments
 (0)