Fix installation test

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2018-04-14 21:08:14 -04:00
parent 76119a2301
commit 8705147674
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2341,7 +2341,7 @@ def do_check(three=None, python=False, system=False, unused=False, args=None):
def do_graph(bare=False, json=False, reverse=False):
import pipdeptree
try:
try:
python_path = which('python')
except AttributeError:
click.echo(
+2 -2
View File
@@ -81,10 +81,10 @@ def test_editable_vcs_install(PipenvInstance, pip_src_dir, pypi):
@pytest.mark.tablib
@pytest.mark.needs_internet
@flaky
def test_install_editable_git_tag(PipenvInstance, pip_src_dir):
def test_install_editable_git_tag(PipenvInstance, pip_src_dir, pypi):
# This uses the real PyPI since we need Internet to access the Git
# dependency anyway.
with PipenvInstance() as p:
with PipenvInstance(pypi=pypi) as p:
c = p.pipenv('install -e git+https://github.com/benjaminp/six.git@1.11.0#egg=six')
assert c.return_code == 0
assert 'six' in p.pipfile['packages']