diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_install.py | 8 | ||||
| -rw-r--r-- | tests/test_paths.py | 8 |
2 files changed, 7 insertions, 9 deletions
diff --git a/tests/test_install.py b/tests/test_install.py index 42db4f0..97c510b 100644 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -14,16 +14,22 @@ import os import shutil +from distutils.command.install import SCHEME_KEYS from tempfile import mkdtemp import wheel.pep425tags import wheel.tool -from wheel.install import WheelFile +from wheel.install import WheelFile, get_install_paths THISDIR = os.path.dirname(__file__) TESTWHEEL = os.path.join(THISDIR, 'test-1.0-py2.py3-none-win32.whl') +def test_path(): + d = get_install_paths('wheel') + assert len(d) == len(SCHEME_KEYS) + + def test_compatibility_tags(): """Test compatibilty tags are working.""" wf = WheelFile("package-1.0.0-cp32.cp33-noabi-noarch.whl") diff --git a/tests/test_paths.py b/tests/test_paths.py deleted file mode 100644 index 7aed099..0000000 --- a/tests/test_paths.py +++ /dev/null @@ -1,8 +0,0 @@ -from distutils.command.install import SCHEME_KEYS - -import wheel.paths - - -def test_path(): - d = wheel.paths.get_install_paths('wheel') - assert len(d) == len(SCHEME_KEYS) |
