aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test_ez_setup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test_ez_setup.py b/test_ez_setup.py
index c44308dc..49a578ea 100644
--- a/test_ez_setup.py
+++ b/test_ez_setup.py
@@ -1,9 +1,12 @@
+import py.path
+
import ez_setup
def test_download(tmpdir_cwd):
+ cwd = py.path.local()
ez_setup.download_setuptools()
- res, = tmpdir_cwd.listdir()
+ res, = cwd.listdir()
assert res.basename.startswith('setuptools-')
assert res.basename.endswith('.zip')
# file should be bigger than 64k