Better tests directory structure (#2231)

This commit is contained in:
Ayaz Salikhov
2025-02-21 17:46:43 +00:00
committed by GitHub
parent 80f4426b8e
commit 165bbc1e71
67 changed files with 174 additions and 148 deletions

View File

@@ -0,0 +1,22 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
import pytest # type: ignore
from tests.utils.run_command import run_command
from tests.utils.tracked_container import TrackedContainer
@pytest.mark.parametrize(
"package_manager_command",
[
"apt --version",
"conda --version",
"mamba --version",
"pip --version",
],
)
def test_package_manager(
container: TrackedContainer, package_manager_command: str
) -> None:
"""Test that package managers are installed and run."""
run_command(container, package_manager_command)