File: test_entrypoint.py

package info (click to toggle)
jupyter-server 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,844 kB
  • sloc: python: 12,331; makefile: 175; javascript: 72
file content (16 lines) | stat: -rw-r--r-- 325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import os
import pytest


# All test coroutines will be treated as marked.
pytestmark = pytest.mark.script_launch_mode('subprocess')


def test_server_extension_list(jp_environ, script_runner):
    ret = script_runner.run(
        'jupyter',
        'server',
        'extension',
        'list',
    )
    assert ret.success