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

Commit

Permalink
added test that should fail
Browse files Browse the repository at this point in the history
  • Loading branch information
goddenrich committed Sep 23, 2019
1 parent af42f24 commit 4ea6921
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/kube_config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,13 +1353,17 @@ class TestKubeConfigMerger(BaseTestCase):
},
]
}
TEST_KUBE_CONFIG_PART4 = {
"current-context": "no_user",
}

def _create_multi_config(self):
files = []
for part in (
self.TEST_KUBE_CONFIG_PART1,
self.TEST_KUBE_CONFIG_PART2,
self.TEST_KUBE_CONFIG_PART3):
self.TEST_KUBE_CONFIG_PART3,
self.TEST_KUBE_CONFIG_PART4):
files.append(self._create_temp_file(yaml.safe_dump(part)))
return ENV_KUBECONFIG_PATH_SEPARATOR.join(files)

Expand Down

0 comments on commit 4ea6921

Please sign in to comment.