Commit 1cd6c9a1 authored by Jason R. Coombs's avatar Jason R. Coombs

Skip integration tests when SSL is broken. Ref #317.

parent cde1eb84
......@@ -12,6 +12,7 @@ import pytest
from setuptools.command.easy_install import easy_install
from setuptools.command import easy_install as easy_install_pkg
from setuptools.dist import Distribution
from setuptools.compat import urlopen
def setup_module(module):
......@@ -24,6 +25,11 @@ def setup_module(module):
except ImportError:
pass
try:
urlopen('https://pypi.python.org/pypi')
except Exception as exc:
pytest.skip(reason=str(exc))
@pytest.fixture
def install_context(request, tmpdir, monkeypatch):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment