We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b3a057 commit 95f3af1Copy full SHA for 95f3af1
tests/integration/test_install_basic.py
@@ -799,10 +799,11 @@ def test_install_respects_lockfile_versions(pipenv_instance_pypi):
799
c = p.pipenv("graph --json")
800
assert c.returncode == 0
801
802
+ import json
803
graph_data = json.loads(c.stdout)
- for package in graph_data:
804
- if package["package"] == "sh":
805
- assert package["version"] == "1.14.1"
+ for entry in graph_data:
+ if entry["package"]["package_name"] == "sh":
806
+ assert entry["package"]["installed_version"] == "1.14.1"
807
break
808
else:
809
pytest.fail("sh package not found in graph output")
0 commit comments