diff --git a/config/kube_config_test.py b/config/kube_config_test.py index f81e646d..dc783c21 100644 --- a/config/kube_config_test.py +++ b/config/kube_config_test.py @@ -1099,7 +1099,7 @@ class TestKubeConfigMerger(BaseTestCase): ] } - def _create_mulit_config(self): + def _create_multi_config(self): files = [] for part in ( self.TEST_KUBE_CONFIG_PART1, @@ -1109,7 +1109,7 @@ def _create_mulit_config(self): return ENV_KUBECONFIG_PATH_SEPARATOR.join(files) def test_list_kube_config_contexts(self): - kubeconfigs = self._create_mulit_config() + kubeconfigs = self._create_multi_config() expected_contexts = [ {'context': {'cluster': 'default'}, 'name': 'no_user'}, {'context': {'cluster': 'ssl', 'user': 'ssl'}, 'name': 'ssl'}, @@ -1124,7 +1124,7 @@ def test_list_kube_config_contexts(self): self.assertEqual(active_context, expected_contexts[0]) def test_new_client_from_config(self): - kubeconfigs = self._create_mulit_config() + kubeconfigs = self._create_multi_config() client = new_client_from_config( config_file=kubeconfigs, context="simple_token") self.assertEqual(TEST_HOST, client.configuration.host) @@ -1132,7 +1132,7 @@ def test_new_client_from_config(self): client.configuration.api_key['authorization']) def test_save_changes(self): - kubeconfigs = self._create_mulit_config() + kubeconfigs = self._create_multi_config() # load configuration, update token, save config kconf = KubeConfigMerger(kubeconfigs)