allow stderr output from git clone for these 2 tests

This commit is contained in:
Marcus Smith 2013-11-20 13:57:09 -08:00
parent 73b8692d86
commit 40e731045d
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ def test_freeze_git_clone(script, tmpdir):
Test freezing a Git clone.
"""
result = script.run('git', 'clone', local_repo('git+http://github.com/pypa/pip-test-package.git', tmpdir.join("cache")), 'pip-test-package')
result = script.run('git', 'clone', local_repo('git+http://github.com/pypa/pip-test-package.git', tmpdir.join("cache")), 'pip-test-package', expect_stderr=True)
result = script.run('git', 'checkout', '7d654e66c8fa7149c165ddeffa5b56bc06619458',
cwd=script.scratch_path / 'pip-test-package', expect_stderr=True)
result = script.run('python', 'setup.py', 'develop',

View File

@ -142,7 +142,7 @@ def test_uninstall_editable_with_source_outside_venv(script, tmpdir):
def _test_uninstall_editable_with_source_outside_venv(script, tmpdir, cache_dir):
result = script.run('git', 'clone', local_repo('git+git://github.com/pypa/virtualenv', cache_dir), tmpdir)
result = script.run('git', 'clone', local_repo('git+git://github.com/pypa/virtualenv', cache_dir), tmpdir, expect_stderr=True)
result2 = script.pip('install', '-e', tmpdir)
assert (join(script.site_packages, 'virtualenv.egg-link') in result2.files_created), list(result2.files_created.keys())
result3 = script.pip('uninstall', '-y', 'virtualenv', expect_error=True)