-
Notifications
You must be signed in to change notification settings - Fork 348
Expose a jupyter_server pytest plugin #162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@Zsailer Strange: Failing for windows py 3.8 on appveyor while succeeding on github actions. I can't remember we had such cases during our sprint to make tests green a few weeks ago...?
The print message you have added shows exactly the same information: Maybe @kevin-bates can help here? |
Hm, this was really weird. I changed a few things:
Anyways, getting all greens now. Whoever wants to review, go ahead and squash and merge if you find no issues. @echarles, you should be able to start using this for your jupyterlab_server branch. For an example on how to use this plugin, checkout the conftest file from |
LGTM. Merging now. Thx @Zsailer, this was not an easy one. I will start using the plugin for the jupyterlab_server tests. |
* make a jupyter server pytest plugin * rollback extension conftest * add a create_notebook fixture * move ioloop into serverapp * use pip to install dependencies * Update jupyter_server/pytest_plugin.py
This PR moves the
conftest
into the jupyter_server module and exposes an entrypoint to that module to enable extensions to use these helpful fixtures for testing.To use these fixtures, you simply have to add
pytest_jupyter_server
to thepytest_plugins
list in any test suite.