Skip to content

Commit

Permalink
Add functional test that we can install non-wheelable sdists.
Browse files Browse the repository at this point in the history
This is a preventative against breaking this as we add automatic
wheelisation.
  • Loading branch information
rbtcollins committed Apr 1, 2015
1 parent 23334c9 commit 5f707e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/functional/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,3 +741,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)

0 comments on commit 5f707e8

Please sign in to comment.