Add a way to easily test units

This commit is contained in:
Ayaz Salikhov
2021-06-26 14:40:45 +03:00
parent 5211732116
commit 30a1d17085
16 changed files with 93 additions and 98 deletions

View File

@@ -8,7 +8,11 @@ LOGGER = logging.getLogger(__name__)
@pytest.mark.parametrize(
"env,expected_server", [(["JUPYTER_ENABLE_LAB=yes"], "lab"), (None, "notebook"), ],
"env,expected_server",
[
(["JUPYTER_ENABLE_LAB=yes"], "lab"),
(None, "notebook")
]
)
def test_start_notebook(container, http_client, env, expected_server):
"""Test the notebook start-notebook script"""