Skip to content

Commit d2be471

Browse files
committed
namespace test: small fixups
1 parent 20eaa72 commit d2be471

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/namespace_admin_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ def run_test(self):
5151
self.setup_network()
5252
self.authenticate_and_become_bob()
5353
self.bob_runs_scenario_tests()
54-
self.return_to_intial_context()
5554
finally:
55+
self.return_to_initial_context()
5656
try:
5757
self.cleanup_kubeconfig()
5858
except K8sError as e:
@@ -146,7 +146,7 @@ def two_namespaces_are_validated(self) -> bool:
146146
return False
147147
return self.red_namespace in maybe_namespaces
148148

149-
def return_to_intial_context(self):
149+
def return_to_initial_context(self):
150150
cmd = f"kubectl config use-context {self.initial_context}"
151151
self.log.info(run_command(cmd))
152152
self.wait_for_predicate(self.this_is_the_current_context(self.initial_context))

0 commit comments

Comments
 (0)