From eb6295adb19949261d544fbd00c07375b0bc617d Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Tue, 6 Sep 2022 00:17:07 -0400 Subject: [PATCH] only install triggeres this warning. --- tests/integration/test_lock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_lock.py b/tests/integration/test_lock.py index 066a15d1..c56640a1 100644 --- a/tests/integration/test_lock.py +++ b/tests/integration/test_lock.py @@ -512,7 +512,7 @@ def test_lockfile_corrupted(pipenv_instance_pypi): with pipenv_instance_pypi() as p: with open(p.lockfile_path, 'w') as f: f.write('{corrupted}') - c = p.pipenv('lock') + c = p.pipenv('install') assert c.returncode == 0 assert 'Pipfile.lock is corrupted' in c.stderr assert p.lockfile['_meta'] @@ -523,7 +523,7 @@ def test_lockfile_with_empty_dict(pipenv_instance_pypi): with pipenv_instance_pypi() as p: with open(p.lockfile_path, 'w') as f: f.write('{}') - c = p.pipenv('lock') + c = p.pipenv('install') assert c.returncode == 0 assert 'Pipfile.lock is corrupted' in c.stderr assert p.lockfile['_meta']