mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Rename to 'Package index page cache location'
This commit is contained in:
parent
d45ba65c37
commit
0652a2f016
|
@ -113,8 +113,8 @@ class CacheCommand(Command):
|
||||||
)
|
)
|
||||||
|
|
||||||
message = textwrap.dedent("""
|
message = textwrap.dedent("""
|
||||||
HTTP files location: {http_cache_location}
|
Package index page cache location: {http_cache_location}
|
||||||
HTTP files size: {http_cache_size}
|
Package index page cache size: {http_cache_size}
|
||||||
Number of HTTP files: {num_http_files}
|
Number of HTTP files: {num_http_files}
|
||||||
Wheels location: {wheels_cache_location}
|
Wheels location: {wheels_cache_location}
|
||||||
Wheels size: {wheels_cache_size}
|
Wheels size: {wheels_cache_size}
|
||||||
|
|
|
@ -190,7 +190,10 @@ def test_cache_info(
|
||||||
):
|
):
|
||||||
result = script.pip('cache', 'info')
|
result = script.pip('cache', 'info')
|
||||||
|
|
||||||
assert 'HTTP files location: {}'.format(http_cache_dir) in result.stdout
|
assert (
|
||||||
|
'Package index page cache location: {}'.format(http_cache_dir)
|
||||||
|
in result.stdout
|
||||||
|
)
|
||||||
assert 'Wheels location: {}'.format(wheel_cache_dir) in result.stdout
|
assert 'Wheels location: {}'.format(wheel_cache_dir) in result.stdout
|
||||||
num_wheels = len(wheel_cache_files)
|
num_wheels = len(wheel_cache_files)
|
||||||
assert 'Number of wheels: {}'.format(num_wheels) in result.stdout
|
assert 'Number of wheels: {}'.format(num_wheels) in result.stdout
|
||||||
|
|
Loading…
Reference in a new issue