diff options
Diffstat (limited to 'tests/test_cleanup.py')
-rw-r--r-- | tests/test_cleanup.py | 9 |
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" |