From 9dbe52177ff576fe31145baa7040e2fb7837aeca Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Thu, 22 Nov 2018 13:50:37 -0500 Subject: [PATCH] clone a fresh copy of six before running tests Signed-off-by: Dan Ryan --- tests/integration/test_install_uri.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/test_install_uri.py b/tests/integration/test_install_uri.py index 2d279001..25f668ed 100644 --- a/tests/integration/test_install_uri.py +++ b/tests/integration/test_install_uri.py @@ -189,9 +189,9 @@ six = "*" def test_install_local_vcs_not_in_lockfile(PipenvInstance, pip_src_dir): with PipenvInstance(chdir=True) as p: # six_path = os.path.join(p.path, "six") - six_path = p._pipfile.get_fixture_path("git/six").as_posix() - requests_uri = p._pipfile.get_fixture_path("git/requests").as_uri() - c = p.pipenv("install -e {0}".format(six_path)) + six_path = p._pipfile.get_fixture_path("git/six/").as_posix() + c = delegator.run("git clone {0} ./six".format(six_path)) + c = p.pipenv("install -e ./six".format(six_path)) assert c.return_code == 0 six_key = list(p.pipfile["packages"].keys())[0] # we don't need the rest of the test anymore, this just works on its own