Add test for pipenv --clear

This commit is contained in:
jxltom
2018-12-05 10:30:28 +08:00
parent 57a61a7ad8
commit dfec732860
+8
View File
@@ -232,3 +232,11 @@ import records
c = p.pipenv('check --unused .')
assert 'tablib' not in c.out
@pytest.mark.cli
def test_pipenv_clear(PipenvInstance):
with PipenvInstance() as p:
c = p.pipenv('--clear')
assert c.return_code == 0
assert 'Clearing caches' in c.out