summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2018-05-26 20:10:22 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2018-07-17 15:02:49 +0300
commitf211d9a8879d44c967cde866ce3da7cad3db7bf4 (patch)
tree088d681d2a43dbad78599a5b599f2c41a4225ad3 /tests
parentd3f5918ccbb1c79e2fc42b7766626a0aa20dc438 (diff)
downloadwheel-git-f211d9a8879d44c967cde866ce3da7cad3db7bf4.tar.gz
Migrated the functions from wheel.paths to other modules
Diffstat (limited to 'tests')
-rw-r--r--tests/test_install.py8
-rw-r--r--tests/test_paths.py8
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)