File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 15
15
from jupyter_server .serverapp import ServerApp
16
16
from jupyter_server .utils import url_path_join
17
17
from jupyter_server .services .contents .filemanager import FileContentsManager
18
+ from jupyter_server .services .contents .largefilemanager import LargeFileManager
18
19
from tornado .escape import url_escape
19
20
from traitlets .config import Config
20
21
@@ -259,6 +260,12 @@ def jp_contents_manager(request, tmp_path):
259
260
return FileContentsManager (root_dir = str (tmp_path ), use_atomic_writing = request .param )
260
261
261
262
263
+ @pytest .fixture
264
+ def jp_large_contents_manager (tmp_path ):
265
+ """Returns a LargeFileManager instance."""
266
+ return LargeFileManager (root_dir = str (tmp_path ))
267
+
268
+
262
269
@pytest .fixture
263
270
def jp_create_notebook (jp_root_dir ):
264
271
"""Creates a notebook in the test's home directory."""
You can’t perform that action at this time.
0 commit comments