Add some typing to tests

This commit is contained in:
Ayaz Salikhov
2022-01-18 19:13:17 +03:00
parent ee77b7831e
commit 2a1316c9ac
24 changed files with 211 additions and 141 deletions

View File

@@ -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")