File: jupyter_server.md

package info (click to toggle)
pytest-jupyter 0.10.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: python: 644; sh: 23; makefile: 14
file content (20 lines) | stat: -rw-r--r-- 513 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Jupyter Server plugin

The jupyter_server module provides fixtures for automatically setting-up/tearing-down Jupyter Servers.

To use this plugin, install the dependencies for this plugin:

```
pip install 'pytest-jupyter[server]'
```

and list the plugin in the `conftest.py` file at the root of your project's test directory.

You can make requests to a *test server* using the `jp_fetch` and `jp_ws_fetch` fixtures.

## Fixtures

```{eval-rst}
.. automodule:: pytest_jupyter.jupyter_server
    :members:
```