We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8f4697 commit 6875c84Copy full SHA for 6875c84
tests/conftest.py
@@ -7,6 +7,7 @@
7
8
import pytest
9
from jupyter_client.kernelspec import find_kernel_specs, get_kernel_spec
10
+from jupyter_server.serverapp import ServerApp
11
from jupyter_server.services.contents.largefilemanager import (
12
AsyncLargeFileManager,
13
LargeFileManager,
@@ -55,7 +56,13 @@ def cwd_tmp_path(tmp_path):
55
56
yield tmp_path
57
58
-@pytest.fixture(params=[LargeFileManager, AsyncLargeFileManager])
59
+@pytest.fixture(
60
+ params={
61
+ ServerApp.contents_manager_class.default(),
62
+ LargeFileManager,
63
+ AsyncLargeFileManager,
64
+ }
65
+)
66
def cm(request, tmp_path):
67
"""Returns a TextContentsManager"""
68
return jupytext.build_jupytext_contents_manager_class(request.param)()
0 commit comments