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

Commit 4ea6921

Browse files
committed
added test that should fail
1 parent af42f24 commit 4ea6921

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

config/kube_config_test.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -1353,13 +1353,17 @@ class TestKubeConfigMerger(BaseTestCase):
13531353
},
13541354
]
13551355
}
1356+
TEST_KUBE_CONFIG_PART4 = {
1357+
"current-context": "no_user",
1358+
}
13561359

13571360
def _create_multi_config(self):
13581361
files = []
13591362
for part in (
13601363
self.TEST_KUBE_CONFIG_PART1,
13611364
self.TEST_KUBE_CONFIG_PART2,
1362-
self.TEST_KUBE_CONFIG_PART3):
1365+
self.TEST_KUBE_CONFIG_PART3,
1366+
self.TEST_KUBE_CONFIG_PART4):
13631367
files.append(self._create_temp_file(yaml.safe_dump(part)))
13641368
return ENV_KUBECONFIG_PATH_SEPARATOR.join(files)
13651369

0 commit comments

Comments
 (0)