summaryrefslogtreecommitdiff
path: root/tests/test_cleanup.py
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2012-02-16 21:09:00 +0100
committerJannis Leidel <jannis@leidel.info>2012-02-16 21:09:00 +0100
commitee554dd82b8bc6ed9a3cf989b353126580fcc082 (patch)
treeb0604f39ed465673316fe94ffa29046ed868aafc /tests/test_cleanup.py
parent47f1b2c2b2523469e6107cb2ef325eb61fa8fcf1 (diff)
parent40ac381fad2cc31f75014f02d3e8bf755d933abb (diff)
downloadpip-1.1.tar.gz
Merge branch 'release/1.1'1.1
Diffstat (limited to 'tests/test_cleanup.py')
-rw-r--r--tests/test_cleanup.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test_cleanup.py b/tests/test_cleanup.py
index 8dbc45129..15a050833 100644
--- a/tests/test_cleanup.py
+++ b/tests/test_cleanup.py
@@ -1,11 +1,11 @@
import os
import textwrap
from os.path import abspath, exists, join
-from tests.test_pip import (here, reset_env, run_pip, write_file, mkdir,
- pyversion)
+from tests.test_pip import (here, reset_env, run_pip, write_file, mkdir)
from tests.local_repos import local_checkout
from tests.path import Path
+
def test_cleanup_after_install_from_pypi():
"""
Test clean up after installing a package from PyPI.
@@ -49,6 +49,7 @@ def test_cleanup_after_install_from_local_directory():
assert not exists(build), "unexpected build/ dir exists: %s" % build
assert not exists(src), "unexpected src/ dir exist: %s" % src
+
def test_cleanup_after_create_bundle():
"""
Test clean up after making a bundle. Make sure (build|src)-bundle/ dirs are removed but not src/.
@@ -58,8 +59,8 @@ def test_cleanup_after_create_bundle():
# Install an editable to create a src/ dir.
args = ['install']
args.extend(['-e',
- '%s#egg=django-feedutil' %
- local_checkout('git+http://github.com/jezdez/django-feedutil.git')])
+ '%s#egg=pip-test-package' %
+ local_checkout('git+http://github.com/pypa/pip-test-package.git')])
run_pip(*args)
build = env.venv_path/"build"
src = env.venv_path/"src"