Skip to content

Commit

Permalink
Small fix for cluster fixture
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Smolar <[email protected]>
  • Loading branch information
jsmolar committed Nov 12, 2024
1 parent 08ff7b1 commit 4372d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4372d26

Please sign in to comment.