We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9315cb6 commit a11f61aCopy full SHA for a11f61a
tests/functional/test_cache.py
@@ -47,7 +47,7 @@ def test_cache_list(script, monkeypatch):
47
assert "zzz.whl" in result.stdout
48
49
50
-def test_cache_rm(script, monkeypatch):
+def test_cache_remove(script, monkeypatch):
51
for k, v in script.environ.items():
52
monkeypatch.setenv(k, v)
53
cache_base = appdirs.user_cache_dir("pip")
@@ -56,6 +56,6 @@ def test_cache_rm(script, monkeypatch):
56
with open(os.path.join(wheel_cache_dir, "zzz.whl"), "w"):
57
pass
58
59
- script.pip("cache", "rm", expect_error=True)
60
- result = script.pip("cache", "rm", "zzz.whl")
+ script.pip("cache", "remove", expect_error=True)
+ result = script.pip("cache", "remove", "zzz.whl")
61
assert re.match(r"^Removed.*zzz\.whl$", result.stdout)
0 commit comments