Skip to content

Commit 2c15b6c

Browse files
committed
testing: remove mention of minikube
1 parent e1c277c commit 2c15b6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/namespace_admin_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def __init__(self):
2727
def run_test(self):
2828
try:
2929
self.setup_namespaces()
30+
self.current_context = get_kubeconfig_value("{.current-context}")
3031
self.setup_service_accounts()
3132
self.deploy_network_in_team_namespaces()
3233
self.authenticate_and_become_bob()
@@ -66,7 +67,7 @@ def deploy_network_in_team_namespaces(self):
6667

6768
def authenticate_and_become_bob(self):
6869
self.log.info("Authenticating and becoming bob...")
69-
assert get_kubeconfig_value("{.current-context}") == "minikube"
70+
assert get_kubeconfig_value("{.current-context}") == self.current_context
7071
self.log.info(self.warnet("auth kubeconfigs/bob-wargames-red-team-kubeconfig"))
7172
assert get_kubeconfig_value("{.current-context}") == "bob-wargames-red-team"
7273

0 commit comments

Comments
 (0)