From e583f75a74229a5e3335f863ccdddae75fe4a3fd Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Fri, 13 Nov 2020 10:32:37 +0800 Subject: [PATCH] Change the pipfile format --- tests/integration/test_install_uri.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_install_uri.py b/tests/integration/test_install_uri.py index b6a15606..f505c406 100644 --- a/tests/integration/test_install_uri.py +++ b/tests/integration/test_install_uri.py @@ -52,8 +52,9 @@ def test_git_vcs_install(PipenvInstance): @pytest.mark.needs_internet def test_git_vcs_install_with_env_var(PipenvInstance): with PipenvInstance(chdir=True) as p: + p._pipfile.add("six", {"git": "git://${GIT_HOST}/benjaminp/six.git", "ref": "1.11.0"}) os.environ["GIT_HOST"] = "github.com" - c = p.pipenv("install git+git://${GIT_HOST}/benjaminp/six.git@1.11.0#egg=six") + c = p.pipenv("install") assert c.return_code == 0 assert "six" in p.pipfile["packages"] assert "git" in p.pipfile["packages"]["six"]