From 82ec1c4cafd7b7c9d338f867b4b4dc6094bb0a22 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Tue, 31 Mar 2015 13:52:08 +1300 Subject: [PATCH] Add functional test that we can install non-wheelable sdists. This is a preventative against breaking this as we add automatic wheelisation. --- tests/functional/test_install.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/functional/test_install.py b/tests/functional/test_install.py index 2ccc6335ad5..fe370b3e025 100644 --- a/tests/functional/test_install.py +++ b/tests/functional/test_install.py @@ -740,3 +740,10 @@ def test_install_topological_sort(script, data): order1 = 'TopoRequires, TopoRequires2, TopoRequires3, TopoRequires4' order2 = 'TopoRequires, TopoRequires3, TopoRequires2, TopoRequires4' assert order1 in res or order2 in res, res + + +def test_install_wheel_broken(script, data): + script.pip('install', 'wheel') + res = script.pip( + 'install', '--no-index', '-f', data.find_links, 'wheelbroken') + assert "Successfully installed wheelbroken-0.1" in str(res), str(res)