Skip to content

Commit

Permalink
Merge pull request #583 from jsmolar/jsmolar4
Browse files Browse the repository at this point in the history
Small fix for cluster fixture
  • Loading branch information
jsmolar authored Nov 12, 2024
2 parents 60d0982 + 4372d26 commit e36fe2d
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 e36fe2d

Please sign in to comment.