Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_freeze.py.orig pip-1.5.6/tests/functional/test_freeze.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_freeze.py.orig	2014-11-27 11:23:19.947665742 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_freeze.py	2014-11-27 11:30:45.937308998 +0100
Matej Stuchlik 9297164
@@ -1,6 +1,7 @@
Matej Stuchlik 9297164
 import sys
Matej Stuchlik 9297164
 import re
Matej Stuchlik 9297164
 import textwrap
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 from doctest import OutputChecker, ELLIPSIS
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 from tests.lib.local_repos import local_checkout, local_repo
Matej Stuchlik 9297164
@@ -58,6 +59,7 @@ def test_freeze_basic(script):
Matej Stuchlik 9297164
     _check_output(result, expected)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_freeze_svn(script, tmpdir):
Matej Stuchlik 9297164
     """Test freezing a svn checkout"""
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
@@ -79,6 +81,7 @@ def test_freeze_svn(script, tmpdir):
Matej Stuchlik 9297164
     _check_output(result, expected)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_freeze_git_clone(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test freezing a Git clone.
Matej Stuchlik 9297164
@@ -109,6 +112,7 @@ def test_freeze_git_clone(script, tmpdir
Matej Stuchlik 9297164
     _check_output(result, expected)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_freeze_mercurial_clone(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test freezing a Mercurial clone.
Matej Stuchlik 9297164
@@ -140,6 +144,7 @@ def test_freeze_mercurial_clone(script,
Matej Stuchlik 9297164
     _check_output(result, expected)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_freeze_bazaar_clone(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test freezing a Bazaar clone.
Matej Stuchlik 9297164
@@ -175,6 +180,7 @@ def test_freeze_bazaar_clone(script, tmp
Matej Stuchlik 9297164
     _check_output(result, expected)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_freeze_with_local_option(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test that wsgiref (from global site-packages) is reported normally, but not with --local.
Matej Stuchlik 9297164
@@ -205,6 +211,7 @@ def test_freeze_with_local_option(script
Matej Stuchlik 9297164
     _check_output(result, expected)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_freeze_with_requirement_option(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test that new requirements are created correctly with --requirement hints
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_cleanup.py.orig pip-1.5.6/tests/functional/test_install_cleanup.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_cleanup.py.orig	2014-11-27 11:23:20.863671103 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_cleanup.py	2014-11-27 14:25:05.086297126 +0100
Matej Stuchlik 9297164
@@ -1,4 +1,5 @@
Matej Stuchlik 9297164
 import os
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 from os.path import abspath, exists, join
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
@@ -20,6 +21,7 @@ def test_cleanup_after_install(script, d
Matej Stuchlik 9297164
     script.assert_no_temp()
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_no_clean_option_blocks_cleaning_after_install(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test --no-clean option blocks cleaning after install
Matej Stuchlik 9297164
@@ -29,6 +31,7 @@ def test_no_clean_option_blocks_cleaning
Matej Stuchlik 9297164
     assert exists(build), "build/simple should still exist %s" % str(result)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_cleanup_after_install_editable_from_hg(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test clean up after cloning from Mercurial.
Matej Stuchlik 9297164
@@ -87,6 +90,7 @@ def test_cleanup_req_satisifed_no_name(s
Matej Stuchlik 9297164
     script.assert_no_temp()
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_download_should_not_delete_existing_build_dir(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     It should not delete build/ if existing before run the command
Matej Stuchlik 9297164
@@ -123,6 +127,7 @@ def test_cleanup_after_egg_info_exceptio
Matej Stuchlik 9297164
     script.assert_no_temp()
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_cleanup_prevented_upon_build_dir_exception(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test no cleanup occurs after a PreviousBuildDirError
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_compat.py.orig pip-1.5.6/tests/functional/test_install_compat.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_compat.py.orig	2014-11-27 11:23:20.912671389 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_compat.py	2014-11-27 11:30:36.533251976 +0100
Matej Stuchlik 9297164
@@ -3,9 +3,11 @@ Tests for compatibility workarounds.
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 """
Matej Stuchlik 9297164
 import os
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 from tests.lib import pyversion, assert_all_changes
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_debian_egg_name_workaround(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     We can uninstall packages installed with the pyversion removed from the
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_config.py.orig pip-1.5.6/tests/functional/test_install_config.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_config.py.orig	2014-11-27 11:23:20.920671436 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_config.py	2014-11-27 11:30:03.530051860 +0100
Matej Stuchlik 9297164
@@ -1,7 +1,7 @@
Matej Stuchlik 9297164
 import os
Matej Stuchlik 9297164
 import tempfile
Matej Stuchlik 9297164
 import textwrap
Matej Stuchlik 9297164
-
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 def test_options_from_env_vars(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
@@ -28,6 +28,7 @@ def test_command_line_options_override_e
Matej Stuchlik 9297164
     assert "Getting page http://download.zope.org/ppix" in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_env_vars_override_config_file(script, virtualenv):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test that environmental variables override settings in config files.
Matej Stuchlik 9297164
@@ -62,6 +63,7 @@ def _test_env_vars_override_config_file(
Matej Stuchlik 9297164
     assert "Successfully installed INITools" in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_command_line_append_flags(script, virtualenv, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test command line flags that append to defaults set by environmental variables.
Matej Stuchlik 9297164
@@ -76,6 +78,7 @@ def test_command_line_append_flags(scrip
Matej Stuchlik 9297164
     assert "Skipping link %s" % data.find_links in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_command_line_appends_correctly(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test multiple appending options set by environmental variables.
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_download.py.orig pip-1.5.6/tests/functional/test_install_download.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_download.py.orig	2014-11-27 11:23:20.970671729 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_download.py	2014-11-27 11:29:42.503924368 +0100
Matej Stuchlik 9297164
@@ -1,9 +1,11 @@
Matej Stuchlik 9297164
 import os
Matej Stuchlik 9297164
 import textwrap
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 from tests.lib.path import Path
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_download_if_requested(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     It should download (in the scratch path) and not install if requested.
Matej Stuchlik 9297164
@@ -13,6 +15,7 @@ def test_download_if_requested(script):
Matej Stuchlik 9297164
     assert script.site_packages/ 'initools' not in result.files_created
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_download_wheel(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test using "pip install --download" to download a *.whl archive.
Matej Stuchlik 9297164
@@ -26,6 +29,7 @@ def test_download_wheel(script):
Matej Stuchlik 9297164
     assert script.site_packages/ 'piptestpackage' not in result.files_created
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_single_download_from_requirements_file(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     It should support download (in the scratch path) from PyPi from a requirements file
Matej Stuchlik 9297164
@@ -38,6 +42,7 @@ def test_single_download_from_requiremen
Matej Stuchlik 9297164
     assert script.site_packages/ 'initools' not in result.files_created
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_download_should_download_dependencies(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     It should download dependencies (in the scratch path)
Matej Stuchlik 9297164
@@ -77,6 +82,7 @@ def test_download_should_download_wheel_
Matej Stuchlik 9297164
     assert Path('scratch') / dep_filename in result.files_created
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_download_should_skip_existing_files(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     It should not download files already existing in the scratch dir
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_extras.py.orig pip-1.5.6/tests/functional/test_install_extras.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_extras.py.orig	2014-11-27 11:23:21.066672291 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_extras.py	2014-11-27 11:31:01.854405511 +0100
Matej Stuchlik 9297164
@@ -1,6 +1,8 @@
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 from os.path import join
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_simple_extras_install_from_pypi(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing a package from PyPI using extras dependency Paste[openid].
Matej Stuchlik 9297164
@@ -10,6 +12,7 @@ def test_simple_extras_install_from_pypi
Matej Stuchlik 9297164
     assert initools_folder in result.files_created, result.files_created
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_no_extras_uninstall(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     No extras dependency gets uninstalled when the root package is uninstalled
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install.py.orig pip-1.5.6/tests/functional/test_install.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install.py.orig	2014-11-27 11:23:20.227667380 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install.py	2014-11-27 11:23:20.825670880 +0100
Matej Stuchlik 9297164
@@ -13,6 +13,7 @@ from tests.lib.local_repos import local_
Matej Stuchlik 9297164
 from tests.lib.path import Path
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_without_setuptools(script):
Matej Stuchlik 9297164
     script.run("pip", "uninstall", "setuptools", "-y")
Matej Stuchlik 9297164
     result = script.run(
Matej Stuchlik 9297164
@@ -26,6 +27,7 @@ def test_without_setuptools(script):
Matej Stuchlik 9297164
     )
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_pip_second_command_line_interface_works(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Check if ``pip<PYVERSION>`` commands behaves equally
Matej Stuchlik 9297164
@@ -39,6 +41,7 @@ def test_pip_second_command_line_interfa
Matej Stuchlik 9297164
     assert initools_folder in result.files_created, str(result)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_from_pypi(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing a package from PyPI.
Matej Stuchlik 9297164
@@ -60,6 +63,7 @@ def test_editable_install(script):
Matej Stuchlik 9297164
     assert not result.files_updated, result.files_updated
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_editable_from_svn(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test checking out from svn.
Matej Stuchlik 9297164
@@ -71,6 +75,7 @@ def test_install_editable_from_svn(scrip
Matej Stuchlik 9297164
     result.assert_installed('INITools', with_files=['.svn'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_download_editable_to_custom_path(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test downloading an editable using a relative custom src folder.
Matej Stuchlik 9297164
@@ -94,6 +99,7 @@ def test_download_editable_to_custom_pat
Matej Stuchlik 9297164
     assert customdl_files_created
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_editable_no_install_followed_by_no_download(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing an editable in two steps (first with --no-install, then with --no-download).
Matej Stuchlik 9297164
@@ -113,6 +119,7 @@ def test_editable_no_install_followed_by
Matej Stuchlik 9297164
     result.assert_installed('INITools', without_files=[curdir, '.svn'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_no_install_followed_by_no_download(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing in two steps (first with --no-install, then with --no-download).
Matej Stuchlik 9297164
@@ -143,6 +150,7 @@ def test_bad_install_with_no_download(sc
Matej Stuchlik 9297164
             "an equivalent install with --no-install?" in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_dev_version_from_pypi(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test using package==dev.
Matej Stuchlik 9297164
@@ -154,6 +162,7 @@ def test_install_dev_version_from_pypi(s
Matej Stuchlik 9297164
     assert (script.site_packages / 'initools') in result.files_created, str(result.stdout)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_editable_from_git(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test cloning from Git.
Matej Stuchlik 9297164
@@ -166,6 +175,7 @@ def test_install_editable_from_git(scrip
Matej Stuchlik 9297164
     result.assert_installed('pip-test-package', with_files=['.git'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_editable_from_hg(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test cloning from Mercurial.
Matej Stuchlik 9297164
@@ -177,6 +187,7 @@ def test_install_editable_from_hg(script
Matej Stuchlik 9297164
     result.assert_installed('ScriptTest', with_files=['.hg'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_vcs_url_final_slash_normalization(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test that presence or absence of final slash in VCS URL is normalized.
Matej Stuchlik 9297164
@@ -188,6 +199,7 @@ def test_vcs_url_final_slash_normalizati
Matej Stuchlik 9297164
     assert 'pip-log.txt' not in result.files_created, result.files_created['pip-log.txt'].bytes
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_editable_from_bazaar(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test checking out from Bazaar.
Matej Stuchlik 9297164
@@ -199,6 +211,7 @@ def test_install_editable_from_bazaar(sc
Matej Stuchlik 9297164
     result.assert_installed('django-wikiapp', with_files=['.bzr'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_vcs_url_urlquote_normalization(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test that urlquoted characters are normalized for repo URL comparison.
Matej Stuchlik 9297164
@@ -295,6 +308,7 @@ def test_install_pardir(script, data):
Matej Stuchlik 9297164
     assert egg_info_folder in result.files_created, str(result)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_global_option(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test using global distutils options.
Matej Stuchlik 9297164
@@ -320,6 +334,7 @@ def test_install_with_hacked_egg_info(sc
Matej Stuchlik 9297164
     assert 'Successfully installed hackedegginfo\n' in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_using_install_option_and_editable(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing a tool using -e and --install-option
Matej Stuchlik 9297164
@@ -334,6 +349,7 @@ def test_install_using_install_option_an
Matej Stuchlik 9297164
     assert virtualenv_bin in result.files_created
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_global_option_using_editable(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test using global distutils options, but in an editable installation
Matej Stuchlik 9297164
@@ -345,6 +361,7 @@ def test_install_global_option_using_edi
Matej Stuchlik 9297164
     assert '0.2.5\n' in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_package_with_same_name_in_curdir(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing a package with the same name of a local folder
Matej Stuchlik 9297164
@@ -398,6 +415,7 @@ def test_install_folder_using_relative_p
Matej Stuchlik 9297164
     assert egg_folder in result.files_created, str(result)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_package_which_contains_dev_in_name(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing package from pypi which contains 'dev' in name
Matej Stuchlik 9297164
@@ -409,6 +427,7 @@ def test_install_package_which_contains_
Matej Stuchlik 9297164
     assert egg_info_folder in result.files_created, str(result)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_package_with_target(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing a package using pip install --target
Matej Stuchlik 9297164
@@ -481,6 +500,7 @@ def test_url_req_case_mismatch(script, d
Matej Stuchlik 9297164
     assert egg_folder not in result.files_created, str(result)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_compiles_pyc(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing with --compile on
Matej Stuchlik 9297164
@@ -501,6 +521,7 @@ def test_compiles_pyc(script):
Matej Stuchlik 9297164
     assert any(exists)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_no_compiles_pyc(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing from wheel with --compile on
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_reqs.py.orig pip-1.5.6/tests/functional/test_install_reqs.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_reqs.py.orig	2014-11-27 11:23:21.114672571 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_reqs.py	2014-11-27 14:25:42.443560282 +0100
Matej Stuchlik 9297164
@@ -13,6 +13,7 @@ from tests.lib.local_repos import local_
Matej Stuchlik 9297164
 from tests.lib.path import Path
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_requirements_file(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing from a requirements file.
Matej Stuchlik 9297164
@@ -59,6 +60,7 @@ def test_relative_requirements_file(scri
Matej Stuchlik 9297164
     assert (script.site_packages/'fspkg') in result.files_created, str(result.stdout)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_multiple_requirements_files(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing from multiple nested requirements files.
Matej Stuchlik 9297164
@@ -110,6 +112,7 @@ def test_install_local_editable_with_ext
Matej Stuchlik 9297164
     assert script.site_packages/'simple' in res.files_created, str(result)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_local_editable_with_subdirectory(script):
Matej Stuchlik 9297164
     version_pkg_path = _create_test_package_with_subdirectory(script,
Matej Stuchlik 9297164
                                                               'version_subpkg')
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_upgrade.py.orig pip-1.5.6/tests/functional/test_install_upgrade.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_upgrade.py.orig	2014-11-27 11:23:21.159672835 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_upgrade.py	2014-11-27 11:23:21.743676253 +0100
Matej Stuchlik 9297164
@@ -22,6 +22,7 @@ def test_no_upgrade_unless_requested(scr
Matej Stuchlik 9297164
     assert not result.files_created, 'pip install INITools upgraded when it should not have'
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_upgrade_to_specific_version(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     It does upgrade to specific version requested.
Matej Stuchlik 9297164
@@ -34,6 +35,7 @@ def test_upgrade_to_specific_version(scr
Matej Stuchlik 9297164
     assert script.site_packages/'INITools-0.2-py%s.egg-info' % pyversion in result.files_created
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_upgrade_if_requested(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     And it does upgrade if requested.
Matej Stuchlik 9297164
@@ -56,6 +58,7 @@ def test_upgrade_with_newest_already_ins
Matej Stuchlik 9297164
     assert 'already up-to-date' in result.stdout, result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_upgrade_force_reinstall_newest(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Force reinstallation of a package even if it is already at its newest
Matej Stuchlik 9297164
@@ -69,6 +72,7 @@ def test_upgrade_force_reinstall_newest(
Matej Stuchlik 9297164
     assert_all_changes(result, result3, [script.venv/'build', 'cache'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_uninstall_before_upgrade(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Automatic uninstall-before-upgrade.
Matej Stuchlik 9297164
@@ -82,6 +86,7 @@ def test_uninstall_before_upgrade(script
Matej Stuchlik 9297164
     assert_all_changes(result, result3, [script.venv/'build', 'cache'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_uninstall_before_upgrade_from_url(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Automatic uninstall-before-upgrade from URL.
Matej Stuchlik 9297164
@@ -95,6 +100,7 @@ def test_uninstall_before_upgrade_from_u
Matej Stuchlik 9297164
     assert_all_changes(result, result3, [script.venv/'build', 'cache'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_upgrade_to_same_version_from_url(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     When installing from a URL the same version that is already installed, no
Matej Stuchlik 9297164
@@ -109,6 +115,7 @@ def test_upgrade_to_same_version_from_ur
Matej Stuchlik 9297164
     assert_all_changes(result, result3, [script.venv/'build', 'cache'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_upgrade_from_reqs_file(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Upgrade from a requirements file.
Matej Stuchlik 9297164
@@ -161,6 +168,7 @@ def test_editable_git_upgrade(script):
Matej Stuchlik 9297164
     assert 'some different version' in version2.stdout, "Output: %s" % (version2.stdout)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_should_not_install_always_from_cache(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     If there is an old cached package, pip should download the newer version
Matej Stuchlik 9297164
@@ -173,6 +181,7 @@ def test_should_not_install_always_from_
Matej Stuchlik 9297164
     assert script.site_packages/'INITools-0.1-py%s.egg-info' % pyversion in result.files_created
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_with_ignoreinstalled_requested(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test old conflicting package is completely ignored
Matej Stuchlik 9297164
@@ -185,6 +194,7 @@ def test_install_with_ignoreinstalled_re
Matej Stuchlik 9297164
     assert os.path.exists(script.site_packages_path/'INITools-0.3-py%s.egg-info' % pyversion)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_upgrade_vcs_req_with_no_dists_found(script, tmpdir):
Matej Stuchlik 9297164
     """It can upgrade a VCS requirement that has no distributions otherwise."""
Matej Stuchlik 9297164
     req = "%s#egg=pip-test-package" % local_checkout(
Matej Stuchlik 9297164
@@ -194,6 +204,7 @@ def test_upgrade_vcs_req_with_no_dists_f
Matej Stuchlik 9297164
     assert not result.returncode
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_upgrade_vcs_req_with_dist_found(script):
Matej Stuchlik 9297164
     """It can upgrade a VCS requirement that has distributions on the index."""
Matej Stuchlik 9297164
     # TODO(pnasrat) Using local_checkout fails on windows - oddness with the test path urls/git.
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_user.py.orig pip-1.5.6/tests/functional/test_install_user.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_user.py.orig	2014-11-27 11:23:21.750676293 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_user.py	2014-11-27 11:23:22.157678676 +0100
Matej Stuchlik 9297164
@@ -42,7 +42,8 @@ def _patch_dist_in_site_packages(script)
Matej Stuchlik 9297164
 @pytest.mark.skipif("hasattr(sys, 'pypy_version_info')")
Matej Stuchlik 9297164
 class Tests_UserSite:
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
-    def test_reset_env_system_site_packages_usersite(self, script, virtualenv):
Matej Stuchlik 9297164
+    @pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
+    def test_reset_env_system_site_packages_usersite(self, script, virtualenv):
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
         reset_env(system_site_packages=True) produces env where a --user install can be found using pkg_resources
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
@@ -53,7 +54,8 @@ class Tests_UserSite:
Matej Stuchlik 9297164
         assert 'INITools'== project_name, "'%s' should be 'INITools'" %project_name
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
-    def test_install_subversion_usersite_editable_with_distribute(self, script, virtualenv, tmpdir):
Matej Stuchlik 9297164
+    @pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
+    def test_install_subversion_usersite_editable_with_distribute(self, script, virtualenv, tmpdir):
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
         Test installing current directory ('.') into usersite after installing distribute
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
@@ -85,7 +87,8 @@ class Tests_UserSite:
Matej Stuchlik 9297164
         result = script.pip('install', '--user', curdir, cwd=run_from, expect_error=True)
Matej Stuchlik 9297164
         assert "Can not perform a '--user' install. User site-packages are not visible in this virtualenv." in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
-    def test_install_user_conflict_in_usersite(self, script, virtualenv):
Matej Stuchlik 9297164
+    @pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
+    def test_install_user_conflict_in_usersite(self, script, virtualenv):
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
         Test user install with conflict in usersite updates usersite.
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
@@ -99,7 +102,8 @@ class Tests_UserSite:
Matej Stuchlik 9297164
         assert egg_info_folder in result2.files_created, str(result2)
Matej Stuchlik 9297164
         assert not isfile(initools_v3_file), initools_v3_file
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
-    def test_install_user_conflict_in_globalsite(self, script, virtualenv):
Matej Stuchlik 9297164
+    @pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
+    def test_install_user_conflict_in_globalsite(self, script, virtualenv):
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
         Test user install with conflict in global site ignores site and installs to usersite
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
@@ -129,7 +133,8 @@ class Tests_UserSite:
Matej Stuchlik 9297164
         assert isdir(egg_info_folder)
Matej Stuchlik 9297164
         assert isdir(initools_folder)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
-    def test_upgrade_user_conflict_in_globalsite(self, script, virtualenv):
Matej Stuchlik 9297164
+    @pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
+    def test_upgrade_user_conflict_in_globalsite(self, script, virtualenv):
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
         Test user install/upgrade with conflict in global site ignores site and installs to usersite
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
@@ -159,7 +164,8 @@ class Tests_UserSite:
Matej Stuchlik 9297164
         assert isdir(egg_info_folder), result2.stdout
Matej Stuchlik 9297164
         assert isdir(initools_folder)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
-    def test_install_user_conflict_in_globalsite_and_usersite(self, script, virtualenv):
Matej Stuchlik 9297164
+    @pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
+    def test_install_user_conflict_in_globalsite_and_usersite(self, script, virtualenv):
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
         Test user install with conflict in globalsite and usersite ignores global site and updates usersite.
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
@@ -190,7 +196,8 @@ class Tests_UserSite:
Matej Stuchlik 9297164
         assert isdir(egg_info_folder)
Matej Stuchlik 9297164
         assert isdir(initools_folder)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
-    def test_install_user_in_global_virtualenv_with_conflict_fails(self, script, virtualenv):
Matej Stuchlik 9297164
+    @pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
+    def test_install_user_in_global_virtualenv_with_conflict_fails(self, script, virtualenv):
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
         Test user install in --system-site-packages virtualenv with conflict in site fails.
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_vcs_git.py.orig pip-1.5.6/tests/functional/test_install_vcs_git.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_vcs_git.py.orig	2014-11-27 14:27:33.238340755 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_vcs_git.py	2014-11-27 14:28:28.154727603 +0100
Matej Stuchlik 9297164
@@ -36,6 +36,7 @@ def test_get_refs_should_return_branch_n
Matej Stuchlik 9297164
     assert result['branch0.1'] == commit, result
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_get_refs_should_ignore_no_branch(script):
Matej Stuchlik 9297164
     version_pkg_path = _create_test_package(script)
Matej Stuchlik 9297164
     script.run('git', 'branch', 'branch0.1', cwd=version_pkg_path)
Matej Stuchlik 9297164
@@ -79,6 +80,7 @@ def test_check_rev_options_should_handle
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 # TODO(pnasrat) fix all helpers to do right things with paths on windows.
Matej Stuchlik 9297164
 @pytest.mark.skipif("sys.platform == 'win32'")
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_check_submodule_addition(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Submodules are pulled in on install and updated on upgrade.
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_vcs.py.orig pip-1.5.6/tests/functional/test_install_vcs.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_vcs.py.orig	2014-11-27 11:23:22.169678746 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_vcs.py	2014-11-27 14:27:14.133206173 +0100
Matej Stuchlik 9297164
@@ -1,7 +1,9 @@
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 from tests.lib import _create_test_package, _change_test_package_version
Matej Stuchlik 9297164
 from tests.lib.local_repos import local_checkout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_editable_from_git_with_https(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test cloning from Git with https.
Matej Stuchlik 9297164
@@ -13,6 +15,7 @@ def test_install_editable_from_git_with_
Matej Stuchlik 9297164
     result.assert_installed('pip-test-package', with_files=['.git'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_git_with_sha1_revisions(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Git backend should be able to install from SHA1 revisions
Matej Stuchlik 9297164
@@ -25,6 +28,7 @@ def test_git_with_sha1_revisions(script)
Matej Stuchlik 9297164
     assert '0.1' in version.stdout, version.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_git_with_branch_name_as_revision(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Git backend should be able to install from branch names
Matej Stuchlik 9297164
@@ -37,6 +41,7 @@ def test_git_with_branch_name_as_revisio
Matej Stuchlik 9297164
     assert 'some different version' in version.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_git_with_tag_name_as_revision(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Git backend should be able to install from tag names
Matej Stuchlik 9297164
@@ -49,6 +54,7 @@ def test_git_with_tag_name_as_revision(s
Matej Stuchlik 9297164
     assert '0.1' in version.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_git_with_tag_name_and_update(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test cloning a git repository and updating to a different version.
Matej Stuchlik 9297164
@@ -64,6 +70,7 @@ def test_git_with_tag_name_and_update(sc
Matej Stuchlik 9297164
     assert '0.1.2' in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_git_branch_should_not_be_changed(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Editable installations should not change branch
Matej Stuchlik 9297164
@@ -77,6 +84,7 @@ def test_git_branch_should_not_be_change
Matej Stuchlik 9297164
     assert '* master' in result.stdout, result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_git_with_non_editable_unpacking(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test cloning a git repository from a non-editable URL with a given tag.
Matej Stuchlik 9297164
@@ -88,6 +96,7 @@ def test_git_with_non_editable_unpacking
Matej Stuchlik 9297164
     assert '0.1.2' in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_git_with_editable_where_egg_contains_dev_string(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test cloning a git repository from an editable url which contains "dev" string
Matej Stuchlik 9297164
@@ -97,6 +106,7 @@ def test_git_with_editable_where_egg_con
Matej Stuchlik 9297164
     result.assert_installed('django-devserver', with_files=['.git'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_git_with_non_editable_where_egg_contains_dev_string(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test cloning a git repository from a non-editable url which contains "dev" string
Matej Stuchlik 9297164
@@ -107,6 +117,7 @@ def test_git_with_non_editable_where_egg
Matej Stuchlik 9297164
     assert devserver_folder in result.files_created, str(result)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_git_with_ambiguous_revs(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test git with two "names" (tag/branch) pointing to the same commit
Matej Stuchlik 9297164
@@ -121,6 +132,7 @@ def test_git_with_ambiguous_revs(script)
Matej Stuchlik 9297164
     result.assert_installed('version-pkg', with_files=['.git'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_git_works_with_editable_non_origin_repo(script):
Matej Stuchlik 9297164
     # set up, create a git repo and install it as editable from a local directory path
Matej Stuchlik 9297164
     version_pkg_path = _create_test_package(script)
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_vcs_svn.py.orig pip-1.5.6/tests/functional/test_install_vcs_svn.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_vcs_svn.py.orig	2014-11-27 14:30:00.551378474 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_vcs_svn.py	2014-11-27 14:30:03.217397254 +0100
Matej Stuchlik 9297164
@@ -1,7 +1,8 @@
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 from mock import patch
Matej Stuchlik 9297164
 from pip.vcs.subversion import Subversion
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
-
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 @patch('pip.vcs.subversion.call_subprocess')
Matej Stuchlik 9297164
 def test_obtain_should_recognize_auth_info_url(call_subprocess_mock, script):
Matej Stuchlik 9297164
     svn = Subversion(url='svn+http://username:password@svn.example.com/')
Matej Stuchlik 9297164
@@ -11,6 +12,7 @@ def test_obtain_should_recognize_auth_in
Matej Stuchlik 9297164
         'http://username:password@svn.example.com/', script.scratch_path/'test'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 @patch('pip.vcs.subversion.call_subprocess')
Matej Stuchlik 9297164
 def test_export_should_recognize_auth_info_url(call_subprocess_mock, script):
Matej Stuchlik 9297164
     svn = Subversion(url='svn+http://username:password@svn.example.com/')
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_wheel.py.orig pip-1.5.6/tests/functional/test_install_wheel.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_wheel.py.orig	2014-11-27 11:23:22.371679928 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_wheel.py	2014-11-27 11:23:22.372679934 +0100
Matej Stuchlik 9297164
@@ -92,6 +92,7 @@ def test_install_from_wheel_with_headers
Matej Stuchlik 9297164
                                                       result.stdout)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_install_wheel_with_target(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test installing a wheel using pip install --target
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_list.py.orig pip-1.5.6/tests/functional/test_list.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_list.py.orig	2014-11-27 11:23:22.379679974 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_list.py	2014-11-27 11:31:06.129431433 +0100
Matej Stuchlik 9297164
@@ -1,6 +1,7 @@
Matej Stuchlik 9297164
 import os
Matej Stuchlik 9297164
 import re
Matej Stuchlik 9297164
 import textwrap
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 from tests.lib.local_repos import local_checkout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
@@ -26,6 +27,7 @@ def test_local_flag(script, data):
Matej Stuchlik 9297164
     assert 'simple (1.0)' in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_uptodate_flag(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test the behavior of --uptodate flag in the list command
Matej Stuchlik 9297164
@@ -39,6 +41,7 @@ def test_uptodate_flag(script, data):
Matej Stuchlik 9297164
     assert 'simple2 (3.0)' in result.stdout, str(result)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_outdated_flag(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test the behavior of --outdated flag in the list command
Matej Stuchlik 9297164
@@ -52,6 +55,7 @@ def test_outdated_flag(script, data):
Matej Stuchlik 9297164
     assert 'simple2' not in result.stdout, str(result) #3.0 is latest
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_editables_flag(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test the behavior of --editables flag in the list command
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_search.py.orig pip-1.5.6/tests/functional/test_search.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_search.py.orig	2014-11-27 11:23:22.903683041 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_search.py	2014-11-27 11:30:57.397378486 +0100
Matej Stuchlik 9297164
@@ -1,3 +1,4 @@
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 import pip.download
Matej Stuchlik 9297164
 from pip.commands.search import (compare_versions,
Matej Stuchlik 9297164
                                  highest_version,
Matej Stuchlik 9297164
@@ -53,6 +54,7 @@ def test_invalid_pypi_transformation():
Matej Stuchlik 9297164
     assert transform_hits(pypi_hits) == expected
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_search(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     End to end test of search command.
Matej Stuchlik 9297164
@@ -62,6 +64,7 @@ def test_search(script):
Matej Stuchlik 9297164
     assert 'A tool for installing and managing Python packages' in output.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_multiple_search(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test searching for multiple packages at once.
Matej Stuchlik 9297164
@@ -80,6 +83,7 @@ def test_search_missing_argument(script)
Matej Stuchlik 9297164
     assert 'ERROR: Missing required argument (search query).' in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_run_method_should_return_sucess_when_find_packages():
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test SearchCommand.run for found package
Matej Stuchlik 9297164
@@ -91,6 +95,7 @@ def test_run_method_should_return_sucess
Matej Stuchlik 9297164
     assert status == SUCCESS
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_run_method_should_return_no_matches_found_when_does_not_find_packages():
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test SearchCommand.run for no matches
Matej Stuchlik 9297164
@@ -102,6 +107,7 @@ def test_run_method_should_return_no_mat
Matej Stuchlik 9297164
     assert status == NO_MATCHES_FOUND, status
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_search_should_exit_status_code_zero_when_find_packages(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test search exit status code for package found
Matej Stuchlik 9297164
@@ -110,6 +116,7 @@ def test_search_should_exit_status_code_
Matej Stuchlik 9297164
     assert result.returncode == SUCCESS
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_search_exit_status_code_when_finds_no_package(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test search exit status code for no matches
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_show.py.orig pip-1.5.6/tests/functional/test_show.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_show.py.orig	2014-11-27 11:23:23.160684545 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_show.py	2014-11-27 11:30:52.417348289 +0100
Matej Stuchlik 9297164
@@ -1,4 +1,5 @@
Matej Stuchlik 9297164
 import re
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 from pip import __version__
Matej Stuchlik 9297164
 from pip.commands.show import search_packages_info
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
@@ -34,6 +35,7 @@ def test_show_with_files_not_found(scrip
Matej Stuchlik 9297164
     assert lines[6] == 'Cannot locate installed-files.txt', lines[5]
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_show_with_all_files(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test listing all files in the show command.
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_uninstall.py.orig pip-1.5.6/tests/functional/test_uninstall.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_uninstall.py.orig	2014-11-27 11:23:23.168684592 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_uninstall.py	2014-11-27 11:30:22.367166080 +0100
Matej Stuchlik 9297164
@@ -3,6 +3,7 @@ from __future__ import with_statement
Matej Stuchlik 9297164
 import textwrap
Matej Stuchlik 9297164
 import os
Matej Stuchlik 9297164
 import sys
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 from os.path import join, abspath, normpath
Matej Stuchlik 9297164
 from tempfile import mkdtemp
Matej Stuchlik 9297164
 from mock import patch
Matej Stuchlik 9297164
@@ -12,6 +13,7 @@ from tests.lib.local_repos import local_
Matej Stuchlik 9297164
 from pip.util import rmtree
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_simple_uninstall(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test simple install and uninstall.
Matej Stuchlik 9297164
@@ -25,6 +27,7 @@ def test_simple_uninstall(script):
Matej Stuchlik 9297164
     assert_all_changes(result, result2, [script.venv/'build', 'cache'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_uninstall_with_scripts(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Uninstall an easy_installed package with scripts.
Matej Stuchlik 9297164
@@ -38,6 +41,7 @@ def test_uninstall_with_scripts(script):
Matej Stuchlik 9297164
     assert_all_changes(result, result2, [script.venv/'build', 'cache', easy_install_pth])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_uninstall_easy_install_after_import(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Uninstall an easy_installed package after it's been imported
Matej Stuchlik 9297164
@@ -50,6 +54,7 @@ def test_uninstall_easy_install_after_im
Matej Stuchlik 9297164
     assert_all_changes(result, result2, [script.venv/'build', 'cache', script.site_packages/'easy-install.pth'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_uninstall_namespace_package(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Uninstall a distribution with a namespace package without clobbering
Matej Stuchlik 9297164
@@ -90,6 +95,7 @@ def test_uninstall_overlapping_package(s
Matej Stuchlik 9297164
     assert_all_changes(result2, result3, [])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_uninstall_console_scripts(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test uninstalling a package with more files (console_script entry points, extra directories).
Matej Stuchlik 9297164
@@ -102,6 +108,7 @@ def test_uninstall_console_scripts(scrip
Matej Stuchlik 9297164
     assert_all_changes(result, result2, [script.venv/'build', 'cache'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_uninstall_easy_installed_console_scripts(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test uninstalling package with console_scripts that is easy_installed.
Matej Stuchlik 9297164
@@ -114,6 +121,7 @@ def test_uninstall_easy_installed_consol
Matej Stuchlik 9297164
     assert_all_changes(result, result2, [script.venv/'build', 'cache', script.site_packages/'easy-install.pth'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_uninstall_editable_from_svn(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test uninstalling an editable installation from svn.
Matej Stuchlik 9297164
@@ -126,6 +134,7 @@ def test_uninstall_editable_from_svn(scr
Matej Stuchlik 9297164
     assert_all_changes(result, result2, [script.venv/'src', script.venv/'build', script.site_packages/'easy-install.pth'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_uninstall_editable_with_source_outside_venv(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test uninstalling editable install from existing source outside the venv.
Matej Stuchlik 9297164
@@ -149,6 +158,7 @@ def _test_uninstall_editable_with_source
Matej Stuchlik 9297164
     assert_all_changes(result, result3, [script.venv/'build', script.site_packages/'easy-install.pth'])
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_uninstall_from_reqs_file(script, tmpdir):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test uninstall from a requirements file.
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_uninstall_user.py.orig pip-1.5.6/tests/functional/test_uninstall_user.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_uninstall_user.py.orig	2014-11-27 11:23:23.590687062 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_uninstall_user.py	2014-11-27 11:29:55.413002643 +0100
Matej Stuchlik 9297164
@@ -17,7 +17,8 @@ from tests.functional.test_install_user
Matej Stuchlik 9297164
 @pytest.mark.skipif("hasattr(sys, 'pypy_version_info')")
Matej Stuchlik 9297164
 class Tests_UninstallUserSite:
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
-    def test_uninstall_from_usersite(self, script, virtualenv):
Matej Stuchlik 9297164
+    @pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
+    def test_uninstall_from_usersite(self, script, virtualenv):
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
         Test uninstall from usersite
Matej Stuchlik 9297164
         """
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_wheel.py.orig pip-1.5.6/tests/functional/test_wheel.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_wheel.py.orig	2014-11-27 11:23:23.598687109 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_wheel.py	2014-11-27 11:30:30.345214455 +0100
Matej Stuchlik 9297164
@@ -2,6 +2,7 @@
Matej Stuchlik 9297164
 import os
Matej Stuchlik 9297164
 import sys
Matej Stuchlik 9297164
 import textwrap
Matej Stuchlik 9297164
+import pytest
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 from os.path import exists
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
@@ -20,6 +21,7 @@ def test_pip_wheel_fails_without_wheel(s
Matej Stuchlik 9297164
     assert "'pip wheel' requires the 'wheel' package" in result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_pip_wheel_success(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test 'pip wheel' success.
Matej Stuchlik 9297164
@@ -32,6 +34,7 @@ def test_pip_wheel_success(script, data)
Matej Stuchlik 9297164
     assert "Successfully built simple" in result.stdout, result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_pip_wheel_downloads_wheels(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test 'pip wheel' downloads wheels
Matej Stuchlik 9297164
@@ -46,6 +49,7 @@ def test_pip_wheel_downloads_wheels(scri
Matej Stuchlik 9297164
     assert "Saved" in result.stdout, result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_pip_wheel_fail(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test 'pip wheel' failure.
Matej Stuchlik 9297164
@@ -59,6 +63,7 @@ def test_pip_wheel_fail(script, data):
Matej Stuchlik 9297164
     assert "Failed to build wheelbroken" in result.stdout, result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_pip_wheel_ignore_wheels_editables(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test 'pip wheel' ignores editables
Matej Stuchlik 9297164
@@ -85,6 +90,7 @@ def test_pip_wheel_ignore_wheels_editabl
Matej Stuchlik 9297164
     assert ignore_editable in result.stdout, result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_no_clean_option_blocks_cleaning_after_wheel(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test --no-clean option blocks cleaning after wheel build
Matej Stuchlik 9297164
@@ -95,6 +101,7 @@ def test_no_clean_option_blocks_cleaning
Matej Stuchlik 9297164
     assert exists(build), "build/simple should still exist %s" % str(result)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_pip_wheel_source_deps(script, data):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test 'pip wheel --use-wheel' finds and builds source archive dependencies of wheels
Matej Stuchlik 9297164
@@ -108,6 +115,7 @@ def test_pip_wheel_source_deps(script, d
Matej Stuchlik 9297164
     assert "Successfully built source" in result.stdout, result.stdout
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_pip_wheel_fail_cause_of_previous_build_dir(script, data):
Matej Stuchlik 9297164
     """Test when 'pip wheel' tries to install a package that has a previous build directory"""
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/unit/test_finder.py.orig pip-1.5.6/tests/unit/test_finder.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/unit/test_finder.py.orig	2014-11-27 11:23:23.937689093 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/unit/test_finder.py	2014-11-27 14:30:48.597716927 +0100
Matej Stuchlik 9297164
@@ -71,6 +71,7 @@ def test_finder_detects_latest_already_s
Matej Stuchlik 9297164
         finder.find_requirement(req, True)
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_finder_detects_latest_already_satisfied_pypi_links():
Matej Stuchlik 9297164
     """Test PackageFinder detects latest already satisified using pypi links"""
Matej Stuchlik 9297164
     req = InstallRequirement.from_line('initools', None)
Matej Stuchlik 9297164
@@ -199,6 +200,7 @@ def test_finder_priority_file_over_page(
Matej Stuchlik 9297164
     assert link.url.startswith("file://")
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_finder_priority_page_over_deplink():
Matej Stuchlik 9297164
     """Test PackageFinder prefers page links over equivalent dependency links"""
Matej Stuchlik 9297164
     req = InstallRequirement.from_line('gmpy==1.15', None)
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/unit/test_req.py.orig pip-1.5.6/tests/unit/test_req.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/unit/test_req.py.orig	2014-11-27 11:23:23.946689145 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/unit/test_req.py	2014-11-27 11:23:23.947689151 +0100
Matej Stuchlik 9297164
@@ -149,6 +149,7 @@ def test_parse_editable_local_extras(isd
Matej Stuchlik 9297164
     normcase_mock.return_value = "/some/path/foo"
Matej Stuchlik 9297164
     assert parse_editable('foo[bar,baz]', 'git') == (None, 'file:///some/path/foo', ('bar', 'baz'))
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_remote_reqs_parse():
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     Test parsing a simple remote requirements file
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_cleanup.py.orig pip-1.5.6/tests/functional/test_install_cleanup.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_cleanup.py.orig	2014-12-01 13:31:24.075490830 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_cleanup.py	2014-12-01 13:30:59.208326741 +0100
Matej Stuchlik 9297164
@@ -62,6 +62,7 @@ def test_cleanup_after_install_from_loca
Matej Stuchlik 9297164
     script.assert_no_temp()
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_no_install_and_download_should_not_leave_build_dir(script):
Matej Stuchlik 9297164
     """
Matej Stuchlik 9297164
     It should remove build/ dir if it was pip that created
Matej Stuchlik 9297164
diff -up pip-1.5.6/tests/functional/test_install_vcs_git.py.orig pip-1.5.6/tests/functional/test_install_vcs_git.py
Matej Stuchlik 9297164
--- pip-1.5.6/tests/functional/test_install_vcs_git.py.orig	2014-12-01 13:32:11.419803237 +0100
Matej Stuchlik 9297164
+++ pip-1.5.6/tests/functional/test_install_vcs_git.py	2014-12-01 13:32:30.298927814 +0100
Matej Stuchlik 9297164
@@ -13,6 +13,7 @@ from tests.lib.git_submodule_helpers imp
Matej Stuchlik 9297164
     )
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_get_refs_should_return_tag_name_and_commit_pair(script):
Matej Stuchlik 9297164
     version_pkg_path = _create_test_package(script)
Matej Stuchlik 9297164
     script.run('git', 'tag', '0.1', cwd=version_pkg_path)
Matej Stuchlik 9297164
@@ -25,6 +26,7 @@ def test_get_refs_should_return_tag_name
Matej Stuchlik 9297164
     assert result['0.2'] == commit, result
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
 
Matej Stuchlik 9297164
+@pytest.mark.skipif(True, reason='No network')
Matej Stuchlik 9297164
 def test_get_refs_should_return_branch_name_and_commit_pair(script):
Matej Stuchlik 9297164
     version_pkg_path = _create_test_package(script)
Matej Stuchlik 9297164
     script.run('git', 'branch', 'branch0.1', cwd=version_pkg_path)