File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
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
@@ -254,9 +255,15 @@ def jp_kernelspecs(jp_data_dir):
254
255
255
256
256
257
@pytest .fixture (params = [True , False ])
257
- def jp_contents_manager (request , jp_root_dir ):
258
+ def jp_contents_manager (request , tmp_path ):
258
259
"""Returns a FileContentsManager instance based on the use_atomic_writing parameter value."""
259
- return FileContentsManager (root_dir = str (jp_root_dir ), use_atomic_writing = request .param )
260
+ return FileContentsManager (root_dir = str (tmp_path ), use_atomic_writing = request .param )
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 ))
260
267
261
268
262
269
@pytest .fixture
You can’t perform that action at this time.
0 commit comments