mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-12 04:23:01 +00:00
Skip SSL-free tests if not on SSL matrix
This commit is contained in:
@@ -9,12 +9,12 @@ from urllib.parse import urlparse
|
||||
import pytest
|
||||
from traitlets.config import Config
|
||||
|
||||
from .. import orm
|
||||
from ..utils import url_path_join as ujoin
|
||||
from ..utils import wait_for_http_server
|
||||
from .mocking import MockHub
|
||||
from .test_api import add_user
|
||||
from .test_api import api_request
|
||||
from .utils import skip_if_ssl
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@@ -27,6 +27,7 @@ def disable_check_routes(app):
|
||||
app.last_activity_callback.start()
|
||||
|
||||
|
||||
@skip_if_ssl
|
||||
async def test_external_proxy(request):
|
||||
auth_token = 'secret!'
|
||||
proxy_ip = '127.0.0.1'
|
||||
|
Reference in New Issue
Block a user