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