From 8d41794068e6f8d4446c5b41d8cc4cb007dc9bca Mon Sep 17 00:00:00 2001 From: Maciej Golaszewski Date: Fri, 8 Nov 2024 17:41:37 +0100 Subject: [PATCH] merge with main --- tests/integration/tests/test_clustering.py | 1 - tests/integration/tests/test_cncf_conformace.py | 4 +++- tests/integration/tests/test_util/config.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/integration/tests/test_clustering.py b/tests/integration/tests/test_clustering.py index 0e08d617d..2dabeb215 100644 --- a/tests/integration/tests/test_clustering.py +++ b/tests/integration/tests/test_clustering.py @@ -7,7 +7,6 @@ import subprocess import tempfile from typing import List -import os import pytest from cryptography import x509 diff --git a/tests/integration/tests/test_cncf_conformace.py b/tests/integration/tests/test_cncf_conformace.py index 3b68554aa..5232ba20d 100644 --- a/tests/integration/tests/test_cncf_conformace.py +++ b/tests/integration/tests/test_cncf_conformace.py @@ -67,6 +67,8 @@ def cluster_setup(instances: List[harness.Instance]) -> harness.Instance: def install_sonobuoy(instance: harness.Instance): - instance.exec(["curl", "-L", config.sonobuoy_tar_gz(instance.arch), "-o", "sonobuoy.tar.gz"]) + instance.exec( + ["curl", "-L", config.sonobuoy_tar_gz(instance.arch), "-o", "sonobuoy.tar.gz"] + ) instance.exec(["tar", "xvzf", "sonobuoy.tar.gz"]) instance.exec(["./sonobuoy", "version"]) diff --git a/tests/integration/tests/test_util/config.py b/tests/integration/tests/test_util/config.py index bfbc0fe90..e3dd73ff0 100644 --- a/tests/integration/tests/test_util/config.py +++ b/tests/integration/tests/test_util/config.py @@ -137,4 +137,4 @@ # sonobuoy_tar_gz is a full path of sonobuoy to download def sonobuoy_tar_gz(architecture: str) -> str: os.getenv("TEST_SONOBUOY_VERSION") or "v0.57.2" - return f"https://github.com/vmware-tanzu/sonobuoy/releases/download/{SONOBUOY_VERSION}/sonobuoy_{SONOBUOY_VERSION[1: ]}_linux_{architecture}.tar.gz" # noqa + return f"https://github.com/vmware-tanzu/sonobuoy/releases/download/{SONOBUOY_VERSION}/sonobuoy_{SONOBUOY_VERSION[1: ]}_linux_{architecture}.tar.gz" # noqa