From 8173752ef1a4dc9e3b6039638821dbe71f216642 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 23 Mar 2014 20:16:21 -0400 Subject: Remove test_do_download, which also no longer works due to complexities around secure downloaders. --- tests/test_ez_setup.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'tests') diff --git a/tests/test_ez_setup.py b/tests/test_ez_setup.py index 3e895dd4..5e7ffa62 100644 --- a/tests/test_ez_setup.py +++ b/tests/test_ez_setup.py @@ -9,8 +9,7 @@ CURDIR = os.path.abspath(os.path.dirname(__file__)) TOPDIR = os.path.split(CURDIR)[0] sys.path.insert(0, TOPDIR) -from ez_setup import (use_setuptools, _build_egg, _python_cmd, _do_download, - _install, DEFAULT_URL, DEFAULT_VERSION) +from ez_setup import (use_setuptools, _python_cmd, _install) import ez_setup class TestSetup(unittest.TestCase): @@ -35,12 +34,6 @@ class TestSetup(unittest.TestCase): os.chdir(self.cwd) sys.path = copy.copy(self.old_sys_path) - def test_do_download(self): - tmpdir = tempfile.mkdtemp() - _do_download(DEFAULT_VERSION, DEFAULT_URL, tmpdir, 1) - import setuptools - self.assertTrue(setuptools.bootstrap_install_from.startswith(tmpdir)) - def test_install(self): def _faked(*args): return True -- cgit v1.2.1