From 9e186fee117453bad8c6217131cb61c597d075a6 Mon Sep 17 00:00:00 2001 From: Axel Mahr Date: Tue, 22 Oct 2024 14:03:38 +0200 Subject: [PATCH] Update platform tests --- tests/platform/test-platform.py | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/tests/platform/test-platform.py b/tests/platform/test-platform.py index b9830cf..ab63c6a 100755 --- a/tests/platform/test-platform.py +++ b/tests/platform/test-platform.py @@ -113,34 +113,13 @@ def run_system_tests(platform, log): "ssh", platform, "-c", - "sudo " + package_manager + " -y install python3-pip", + "sudo " + + package_manager + + " -y install python3-pip python3-virtualenv python3-pytest", ], stdout=log, stderr=log, ) - if platform == "ubuntu-24.04": - subprocess.check_call( - [ - "vagrant", - "ssh", - platform, - "-c", - "sudo apt -y install python3-pytest", - ], - stdout=log, - stderr=log, - ) - subprocess.check_call( - ["vagrant", "ssh", platform, "-c", "pip install virtualenv"], - stdout=log, - stderr=log, - ) - else: - subprocess.check_call( - ["vagrant", "ssh", platform, "-c", "pip install pytest virtualenv"], - stdout=log, - stderr=log, - ) except subprocess.CalledProcessError: pass test_command = [