diff --git a/tests/integration/test_cli.py b/tests/integration/test_cli.py index a38883e0..2545e014 100644 --- a/tests/integration/test_cli.py +++ b/tests/integration/test_cli.py @@ -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