Add test for install -e

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2018-06-22 02:04:37 -04:00
parent 0ef4929098
commit c76b95db34
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
Massive internal improvements to requirements parsing codebase, resolver, and error messaging.
+10
View File
@@ -299,3 +299,13 @@ name = 'mockpi'
assert c.return_code == 0
assert p.pipfile['source'][0]['url'] == '${PYPI_URL}/simple'
assert p.lockfile['_meta']['sources'][0]['url'] == '${PYPI_URL}/simple'
@pytest.mark.editable
@pytest.mark.badparameter
@pytest.mark.install
def test_editable_no_args(PipenvInstance):
with PipenvInstance() as p:
c = p.pipenv('install -e')
assert c.return_code != 0
assert 'Please provide path to editable package' in c.err