From 66499a12726dec1344bf384a550f2252e58f7a1e Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Tue, 5 Nov 2024 10:38:33 +0100 Subject: [PATCH] Rename tests to shared so the shared cluster is called at the end Signed-off-by: Petr "Stone" Hracek --- ...test_mariadb_template.py => test_mariadb_local_template.py} | 0 ...magestreams.py => test_mariadb_shared_helm_imagestreams.py} | 0 ...b_helm_template.py => test_mariadb_shared_helm_template.py} | 3 ++- 3 files changed, 2 insertions(+), 1 deletion(-) rename test/{test_mariadb_template.py => test_mariadb_local_template.py} (100%) rename test/{test_mariadb_helm_imagestreams.py => test_mariadb_shared_helm_imagestreams.py} (100%) rename test/{test_mariadb_helm_template.py => test_mariadb_shared_helm_template.py} (96%) diff --git a/test/test_mariadb_template.py b/test/test_mariadb_local_template.py similarity index 100% rename from test/test_mariadb_template.py rename to test/test_mariadb_local_template.py diff --git a/test/test_mariadb_helm_imagestreams.py b/test/test_mariadb_shared_helm_imagestreams.py similarity index 100% rename from test/test_mariadb_helm_imagestreams.py rename to test/test_mariadb_shared_helm_imagestreams.py diff --git a/test/test_mariadb_helm_template.py b/test/test_mariadb_shared_helm_template.py similarity index 96% rename from test/test_mariadb_helm_template.py rename to test/test_mariadb_shared_helm_template.py index d6d17be..a9606df 100644 --- a/test/test_mariadb_helm_template.py +++ b/test/test_mariadb_shared_helm_template.py @@ -13,11 +13,12 @@ class TestHelmMariaDBPersistent: def setup_method(self): package_name = "mariadb-persistent" path = test_dir - self.hc_api = HelmChartsAPI(path=path, package_name=package_name, tarball_dir=test_dir, remote=True) + self.hc_api = HelmChartsAPI(path=path, package_name=package_name, tarball_dir=test_dir) self.hc_api.clone_helm_chart_repo( repo_url="https://github.com/sclorg/helm-charts", repo_name="helm-charts", subdir="charts/redhat" ) + def teardown_method(self): self.hc_api.delete_project()