Skip to content

Commit

Permalink
Update platform tests
Browse files Browse the repository at this point in the history
  • Loading branch information
axmahr committed Oct 22, 2024
1 parent 8a74794 commit 9e186fe
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions tests/platform/test-platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 9e186fe

Please sign in to comment.