File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1292,12 +1292,18 @@ def test_load_kube_config_from_dict(self):
12921292
12931293 def test_load_kube_config_from_empty_file (self ):
12941294 config_file_like_object = io .StringIO ()
1295- self .assertRaises (ConfigException , load_kube_config , config_file_like_object )
1295+ self .assertRaises (
1296+ ConfigException ,
1297+ load_kube_config ,
1298+ config_file_like_object )
12961299
12971300 def test_load_kube_config_from_empty_file_like_object (self ):
12981301 config_file = self ._create_temp_file (
12991302 yaml .safe_dump (None ))
1300- self .assertRaises (ConfigException , load_kube_config , config_file )
1303+ self .assertRaises (
1304+ ConfigException ,
1305+ load_kube_config ,
1306+ config_file )
13011307
13021308 def test_list_kube_config_contexts (self ):
13031309 config_file = self ._create_temp_file (
You can’t perform that action at this time.
0 commit comments