Migrating of tests for custom storage managers from Jupyter Notebook to Jupyter Server

Hi,

I’m not sure if this is the right place to ask, so apologies if not.

I’m wondering if someone can provide some advice about migrating some custom storage managers we have that are written against Jupyter Notebook to Jupyter Server.

We have a few of these, and we’ve been using an older version of Jupyter Notebook (6.5). In terms of migrating the implementation of these storage managers, this has been very straightforward.

But we haven’t been able to migrate all the tests. The ones we’re uncertain about are modeled on those here:

In particular, we are using these two classes from the notebook package:

from notebook.services.contents.tests.test_manager import TestContentsManager
from notebook.services.contents.tests.test_contents_api import APITest

I haven’t seen any counterparts of these classes in jupyter_server and most (or all?) of the tests in that repository are not included within the jupyter_server package. So we are really unsure how to proceed with updating the tests.

We’ll be grateful for any advice on migrating our tests.

Many thanks.