Skip to content

Commit

Permalink
Add test for pipenv --clear
Browse files Browse the repository at this point in the history
  • Loading branch information
jxltom committed Apr 1, 2019
1 parent bac8dbf commit d1875ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/integration/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,11 @@ def test_check_unused(PipenvInstance, pypi):

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

0 comments on commit d1875ba

Please sign in to comment.