From 4372d264e1f8da431eae3024d0d755f5cf0433d3 Mon Sep 17 00:00:00 2001 From: Jakub Smolar Date: Tue, 12 Nov 2024 13:31:32 +0100 Subject: [PATCH] Small fix for cluster fixture Signed-off-by: Jakub Smolar --- testsuite/tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/tests/conftest.py b/testsuite/tests/conftest.py index db476143..b641dd12 100644 --- a/testsuite/tests/conftest.py +++ b/testsuite/tests/conftest.py @@ -251,7 +251,7 @@ def module_label(label): def cluster(testconfig): """Kubernetes client for the primary namespace""" project = testconfig["service_protection"]["project"] - client = testconfig["control_plane"]["cluster"].change_project(testconfig["service_protection"]["project"]) + client = testconfig["control_plane"]["cluster"].change_project(project) if not client.connected: pytest.fail(f"You are not logged into Kubernetes or the {project} namespace doesn't exist") return client