Do not allocate TTY in tests if not needed (#2257)

This commit is contained in:
Ayaz Salikhov
2025-03-21 12:15:16 +00:00
committed by GitHub
parent f0ef7e30b2
commit 95aa99dd85
18 changed files with 3 additions and 47 deletions

View File

@@ -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],
)