mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-14 21:42:57 +00:00
Do not allocate TTY in tests if not needed (#2257)
This commit is contained in:
@@ -12,11 +12,8 @@ def run_command(
|
||||
command: str,
|
||||
timeout: int = 5,
|
||||
) -> str:
|
||||
"""Runs the given package manager with its version argument."""
|
||||
|
||||
LOGGER.info(f"Test that the command '{command}' is working properly ...")
|
||||
return container.run_and_wait(
|
||||
timeout=timeout,
|
||||
tty=True,
|
||||
command=["bash", "-c", command],
|
||||
)
|
||||
|
Reference in New Issue
Block a user