Fix iterator that i broke for reasons

Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
This commit is contained in:
Dan Ryan
2018-06-13 19:26:16 -04:00
parent 126b7444c6
commit 18f6e94602
+1 -1
View File
@@ -208,7 +208,7 @@ def test_relative_paths(PipenvInstance, pypi, testsroot):
# Test installing a relative path in a subdirectory
c = p.pipenv('install {}/{}'.format(artifact_dir, file_name))
assert c.return_code == 0
key = next(p.pipfile['packages'].keys())
key = next(k for k in p.pipfile['packages'].keys())
dep = p.pipfile['packages'][key]
assert 'path' in dep