mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-10 11:32:57 +00:00
Merge branch 'master' into asalikhov/py_codestyle
This commit is contained in:
@@ -11,11 +11,13 @@ LOGGER = logging.getLogger(__name__)
|
||||
def test_cli_args(container, http_client):
|
||||
"""Container should respect notebook server command line args
|
||||
(e.g., disabling token security)"""
|
||||
container.run(
|
||||
command=['start-notebook.sh', '--NotebookApp.token=""']
|
||||
c = container.run(
|
||||
command=["start-notebook.sh", "--NotebookApp.token=''"]
|
||||
)
|
||||
resp = http_client.get('http://localhost:8888')
|
||||
resp.raise_for_status()
|
||||
logs = c.logs(stdout=True).decode('utf-8')
|
||||
LOGGER.debug(logs)
|
||||
assert 'login_submit' not in resp.text
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user