mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-10 19:42:58 +00:00
Add some typing to tests
This commit is contained in:
@@ -2,7 +2,13 @@
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
|
||||
def test_secured_server(container, http_client):
|
||||
import requests
|
||||
from conftest import TrackedContainer
|
||||
|
||||
|
||||
def test_secured_server(
|
||||
container: TrackedContainer, http_client: requests.Session
|
||||
) -> None:
|
||||
"""Notebook server should eventually request user login."""
|
||||
container.run()
|
||||
resp = http_client.get("http://localhost:8888")
|
||||
|
Reference in New Issue
Block a user