diff --git a/pytest_jupyter/jupyter_server.py b/pytest_jupyter/jupyter_server.py index c686577..1c84fe4 100644 --- a/pytest_jupyter/jupyter_server.py +++ b/pytest_jupyter/jupyter_server.py @@ -328,7 +328,7 @@ def client_fetch(*parts, headers=None, params=None, **kwargs): headers.setdefault(key, value) # Make request. req = tornado.httpclient.HTTPRequest(url, headers=headers, connect_timeout=120) - return tornado.websocket.websocket_connect(req) + return tornado.websocket.websocket_connect(req, **kwargs) return client_fetch