mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-07 10:04:03 +00:00
17 lines
536 B
Python
17 lines
536 B
Python
# Copyright (c) Jupyter Development Team.
|
|
# Distributed under the terms of the Modified BSD License.
|
|
import pytest # type: ignore
|
|
|
|
from tests.utils.tracked_container import TrackedContainer
|
|
|
|
|
|
@pytest.mark.parametrize(
|
|
"package_manager_command",
|
|
["apt", "conda", "mamba", "pip"],
|
|
)
|
|
def test_package_manager(
|
|
container: TrackedContainer, package_manager_command: str
|
|
) -> None:
|
|
"""Test that package managers are installed and run."""
|
|
container.run_and_wait(timeout=10, command=[package_manager_command, "--version"])
|