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

Commit

Permalink
removing load from dict presist from the added test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnu667 committed May 21, 2020
1 parent 6c32737 commit 52a3bdc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions config/kube_config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1380,15 +1380,6 @@ def test__get_kube_config_loader_dict_no_persist(self):
config_dict=self.TEST_KUBE_CONFIG)
self.assertIsNone(actual._config_persister)

def test__get_kube_config_loader_dict_persist(self):
expected = FakeConfig(host=TEST_HOST,
token=BEARER_TOKEN_FORMAT % TEST_DATA_BASE64)
actual = _get_kube_config_loader(config_dict=self.TEST_KUBE_CONFIG,
persist_config=True)
self.assertTrue(callable(actual._config_persister))
self.assertEquals(actual._config_persister.__name__, "save_changes")


class TestKubernetesClientConfiguration(BaseTestCase):
# Verifies properties of kubernetes.client.Configuration.
# These tests guard against changes to the upstream configuration class,
Expand Down

0 comments on commit 52a3bdc

Please # to comment.