diff options
author | Xavier Fernandez <xav.fernandez@gmail.com> | 2016-05-19 21:43:41 +0200 |
---|---|---|
committer | Xavier Fernandez <xav.fernandez@gmail.com> | 2016-05-19 21:43:41 +0200 |
commit | 1ca4e5e1e71b8d5c64db01ca7177c1ef73590148 (patch) | |
tree | 29e06ff8f13abf67cdad6b70c767ba1bdef4a906 /tests/functional/test_install.py | |
parent | 5685e0149ac575965105182f7e0e2f5f53392936 (diff) | |
parent | cd576e66d5bd8813a11f16e11bd2dd00c20f61c7 (diff) | |
download | pip-develop.tar.gz |
Merge pull request #3686 from xavfernandez/list_formatdevelop
Add --format option to pip list
Diffstat (limited to 'tests/functional/test_install.py')
-rw-r--r-- | tests/functional/test_install.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/functional/test_install.py b/tests/functional/test_install.py index 5ab2b79ce..ce3816128 100644 --- a/tests/functional/test_install.py +++ b/tests/functional/test_install.py @@ -804,8 +804,8 @@ def test_install_upgrade_editable_depending_on_other_editable(script): version='0.1') """)) script.pip('install', '--editable', pkga_path) - result = script.pip('list') - assert "pkga" in result.stdout + result = script.pip('list', '--format=freeze') + assert "pkga==0.1" in result.stdout script.scratch_path.join("pkgb").mkdir() pkgb_path = script.scratch_path / 'pkgb' @@ -815,9 +815,9 @@ def test_install_upgrade_editable_depending_on_other_editable(script): version='0.1', install_requires=['pkga']) """)) - script.pip('install', '--upgrade', '--editable', pkgb_path) - result = script.pip('list') - assert "pkgb" in result.stdout + script.pip('install', '--upgrade', '--editable', pkgb_path, '--no-index') + result = script.pip('list', '--format=freeze') + assert "pkgb==0.1" in result.stdout def test_install_subprocess_output_handling(script, data): |