mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Add test for pipenv --clear
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user