Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Make install editable option an option #2299

Closed
wants to merge 13 commits into from
Prev Previous commit
Next Next commit
Add multiple editable test case
  • Loading branch information
mlouielu committed Jul 4, 2018
commit 15f3a95f9faacb3027ec1c087605e59f6c2186dd
20 changes: 20 additions & 0 deletions tests/integration/test_install_uri.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,26 @@ def test_install_editable_git_tag(PipenvInstance, pip_src_dir, pypi):
assert 'ref' in p.lockfile['default']['six']


@pytest.mark.install
@pytest.mark.vcs
@pytest.mark.tablib
@pytest.mark.needs_internet
@flaky
def test_install_multiple_editable(PipenvInstance, pip_src_dir, pypi):
with PipenvInstance(pypi=pypi) as p:
c = p.pipenv('install -e git+https://github.com/requests/requests.git#egg=requests '
'-e git+https://github.com/benjaminp/six.git@1.11.0#egg=six')
assert c.return_code == 0
assert 'requests' in p.pipfile['packages']
assert 'six' in p.pipfile['packages']
assert 'git' in p.pipfile['packages']['requests']
assert 'git' in p.pipfile['packages']['six']
assert 'editable' in p.pipfile['packages']['requests']
assert 'editable' in p.lockfile['default']['requests']
assert 'editable' in p.pipfile['packages']['six']
assert 'editable' in p.lockfile['default']['six']


@pytest.mark.install
@pytest.mark.index
@pytest.mark.needs_internet
Expand Down