We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20eaa72 commit d2be471Copy full SHA for d2be471
test/namespace_admin_test.py
@@ -51,8 +51,8 @@ def run_test(self):
51
self.setup_network()
52
self.authenticate_and_become_bob()
53
self.bob_runs_scenario_tests()
54
- self.return_to_intial_context()
55
finally:
+ self.return_to_initial_context()
56
try:
57
self.cleanup_kubeconfig()
58
except K8sError as e:
@@ -146,7 +146,7 @@ def two_namespaces_are_validated(self) -> bool:
146
return False
147
return self.red_namespace in maybe_namespaces
148
149
- def return_to_intial_context(self):
+ def return_to_initial_context(self):
150
cmd = f"kubectl config use-context {self.initial_context}"
151
self.log.info(run_command(cmd))
152
self.wait_for_predicate(self.this_is_the_current_context(self.initial_context))
0 commit comments