mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 23:12:56 +00:00
Add run_command script in tests (#1931)
* Add run_command script in tests * Fix * Add timeout back
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
import logging
|
||||
|
||||
from tests.conftest import TrackedContainer
|
||||
from tests.package_helper import run_package_manager
|
||||
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
from tests.run_command import run_command
|
||||
|
||||
|
||||
def test_npm_package_manager(container: TrackedContainer) -> None:
|
||||
"""Test that npm is installed and runs."""
|
||||
run_package_manager(container, "npm", "--version")
|
||||
run_command(container, "npm --version")
|
||||
|
Reference in New Issue
Block a user