From 1fd2247bb6ce457433d86f0eeb4603f05958c023 Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Tue, 26 Jun 2018 18:45:17 -0400 Subject: [PATCH] Fix test to account for name resolution of editable deps Signed-off-by: Dan Ryan --- tests/integration/test_install_uri.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_install_uri.py b/tests/integration/test_install_uri.py index 6589b509..709ba8eb 100644 --- a/tests/integration/test_install_uri.py +++ b/tests/integration/test_install_uri.py @@ -182,8 +182,8 @@ def test_install_local_vcs_not_in_lockfile(PipenvInstance, pip_src_dir): # This is the hash of ./six assert six_key in p.pipfile['packages'] assert six_key in p.lockfile['default'] - # Make sure we didn't put six in the lockfile by accident as a vcs ref - assert 'six' not in p.lockfile['default'] + # The hash isn't a hash anymore, its actually the name of the package (we now resolve this) + assert 'six' in p.pipfile['packages'] @pytest.mark.vcs