mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-10 19:42:58 +00:00
10 lines
354 B
Python
10 lines
354 B
Python
# Copyright (c) Jupyter Development Team.
|
|
# Distributed under the terms of the Modified BSD License.
|
|
|
|
def test_secured_server(container, http_client):
|
|
"""Notebook server should eventually request user login."""
|
|
container.run()
|
|
resp = http_client.get('http://localhost:8888')
|
|
resp.raise_for_status()
|
|
assert 'login_submit' in resp.text
|