mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 04:53:01 +00:00
Fix formulation
This commit is contained in:
@@ -74,8 +74,8 @@ def ssl_tmpdir(tmpdir_factory):
|
|||||||
def app(request, io_loop, ssl_tmpdir):
|
def app(request, io_loop, ssl_tmpdir):
|
||||||
"""Mock a jupyterhub app for testing"""
|
"""Mock a jupyterhub app for testing"""
|
||||||
mocked_app = None
|
mocked_app = None
|
||||||
ssl_enabled = request.module.getattr(
|
ssl_enabled = getattr(
|
||||||
'ssl_enabled', os.environ.get('SSL_ENABLED', False)
|
request.module, 'ssl_enabled', os.environ.get('SSL_ENABLED', False)
|
||||||
)
|
)
|
||||||
kwargs = dict()
|
kwargs = dict()
|
||||||
if ssl_enabled:
|
if ssl_enabled:
|
||||||
|
Reference in New Issue
Block a user