Skip to content
This repository was archived by the owner on Mar 13, 2022. It is now read-only.

Commit bf30bb8

Browse files
committed
fix: typo
1 parent 46288d1 commit bf30bb8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: config/kube_config_test.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ class TestKubeConfigMerger(BaseTestCase):
10991099
]
11001100
}
11011101

1102-
def _create_mulit_config(self):
1102+
def _create_multi_config(self):
11031103
files = []
11041104
for part in (
11051105
self.TEST_KUBE_CONFIG_PART1,
@@ -1109,7 +1109,7 @@ def _create_mulit_config(self):
11091109
return ENV_KUBECONFIG_PATH_SEPARATOR.join(files)
11101110

11111111
def test_list_kube_config_contexts(self):
1112-
kubeconfigs = self._create_mulit_config()
1112+
kubeconfigs = self._create_multi_config()
11131113
expected_contexts = [
11141114
{'context': {'cluster': 'default'}, 'name': 'no_user'},
11151115
{'context': {'cluster': 'ssl', 'user': 'ssl'}, 'name': 'ssl'},
@@ -1124,15 +1124,15 @@ def test_list_kube_config_contexts(self):
11241124
self.assertEqual(active_context, expected_contexts[0])
11251125

11261126
def test_new_client_from_config(self):
1127-
kubeconfigs = self._create_mulit_config()
1127+
kubeconfigs = self._create_multi_config()
11281128
client = new_client_from_config(
11291129
config_file=kubeconfigs, context="simple_token")
11301130
self.assertEqual(TEST_HOST, client.configuration.host)
11311131
self.assertEqual(BEARER_TOKEN_FORMAT % TEST_DATA_BASE64,
11321132
client.configuration.api_key['authorization'])
11331133

11341134
def test_save_changes(self):
1135-
kubeconfigs = self._create_mulit_config()
1135+
kubeconfigs = self._create_multi_config()
11361136

11371137
# load configuration, update token, save config
11381138
kconf = KubeConfigMerger(kubeconfigs)

0 commit comments

Comments
 (0)