Skip to content

Commit a11f61a

Browse files
committed
fix test
1 parent 9315cb6 commit a11f61a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/functional/test_cache.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_cache_list(script, monkeypatch):
4747
assert "zzz.whl" in result.stdout
4848

4949

50-
def test_cache_rm(script, monkeypatch):
50+
def test_cache_remove(script, monkeypatch):
5151
for k, v in script.environ.items():
5252
monkeypatch.setenv(k, v)
5353
cache_base = appdirs.user_cache_dir("pip")
@@ -56,6 +56,6 @@ def test_cache_rm(script, monkeypatch):
5656
with open(os.path.join(wheel_cache_dir, "zzz.whl"), "w"):
5757
pass
5858

59-
script.pip("cache", "rm", expect_error=True)
60-
result = script.pip("cache", "rm", "zzz.whl")
59+
script.pip("cache", "remove", expect_error=True)
60+
result = script.pip("cache", "remove", "zzz.whl")
6161
assert re.match(r"^Removed.*zzz\.whl$", result.stdout)

0 commit comments

Comments
 (0)