diff --git a/tests/conftest.py b/tests/conftest.py index 20cac9e6..ab6f1b49 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -7,6 +7,7 @@ import pytest from jupyter_client.kernelspec import find_kernel_specs, get_kernel_spec +from jupyter_server.serverapp import ServerApp from jupyter_server.services.contents.largefilemanager import ( AsyncLargeFileManager, LargeFileManager, @@ -55,7 +56,13 @@ def cwd_tmp_path(tmp_path): yield tmp_path -@pytest.fixture(params=[LargeFileManager, AsyncLargeFileManager]) +@pytest.fixture( + params={ + ServerApp.contents_manager_class.default(), + LargeFileManager, + AsyncLargeFileManager, + } +) def cm(request, tmp_path): """Returns a TextContentsManager""" return jupytext.build_jupytext_contents_manager_class(request.param)()