diff --git a/jupyterlab_server/tests/utils.py b/jupyterlab_server/tests/utils.py index 572e3e02..d4d737d8 100755 --- a/jupyterlab_server/tests/utils.py +++ b/jupyterlab_server/tests/utils.py @@ -44,7 +44,7 @@ def wrap_request(request, spec): # work around lack of support for path parameters which can contain slashes # https://github.com/OAI/OpenAPI-Specification/issues/892 url = None - for path in spec.paths: + for path in spec['paths']: if url: continue has_arg = '{' in path diff --git a/setup.cfg b/setup.cfg index 10d81031..093025f6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,7 +38,7 @@ install_requires = [options.extras_require] -test = codecov; ipykernel; pytest>=5.3.2; pytest-cov; jupyter_server[test]; openapi_core~=0.13.8; pytest-console-scripts; strict-rfc3339; ruamel.yaml; wheel +test = codecov; ipykernel; pytest>=5.3.2; pytest-cov; jupyter_server[test]; openapi_core~=0.14.0; pytest-console-scripts; strict-rfc3339; ruamel.yaml; wheel [options.packages.find] exclude = ['docs*']