summaryrefslogtreecommitdiff
path: root/tests/functional/test_install.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/test_install.py')
-rw-r--r--tests/functional/test_install.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/functional/test_install.py b/tests/functional/test_install.py
index c54fe7e3c..6e0e2aaa4 100644
--- a/tests/functional/test_install.py
+++ b/tests/functional/test_install.py
@@ -7,6 +7,7 @@ from os.path import join, curdir, pardir
import pytest
+from pip import pep425tags
from pip.utils import appdirs, rmtree
from tests.lib import (pyversion, pyversion_tuple,
_create_test_package, _create_svn_repo, path_to_url)
@@ -737,7 +738,7 @@ def test_install_builds_wheels(script, data):
assert expected in str(res), str(res)
root = appdirs.user_cache_dir('pip')
wheels = []
- for top, dirs, files in os.walk(root):
+ for top, dirs, files in os.walk(os.path.join(root, "wheels")):
wheels.extend(files)
# and built wheels for upper and wheelbroken
assert "Running setup.py bdist_wheel for upper" in str(res), str(res)
@@ -754,6 +755,10 @@ def test_install_builds_wheels(script, data):
assert "Running setup.py install for requires-wheel" in str(res), str(res)
# wheelbroken has to run install
assert "Running setup.py install for wheelb" in str(res), str(res)
+ # We want to make sure we used the correct implementation tag
+ assert wheels == [
+ "Upper-2.0-{0}-none-any.whl".format(pep425tags.implementation_tag),
+ ]
def test_install_no_binary_disables_building_wheels(script, data):