@@ -61,7 +61,7 @@ def test_parse_config_file_correctly(self):
6161 }
6262
6363 self .create_ini_file (config )
64- options = ConfigurationManager .load_config ()
64+ options = ConfigurationManager .load_config (None )
6565
6666 self .assertIsNotNone (options )
6767 self .assertEqual (options .api_key , "SOME_API_KEY" )
@@ -98,7 +98,7 @@ def test_ignore_unknown_config_in_properties_file(self):
9898 }
9999
100100 self .create_ini_file (config )
101- options = ConfigurationManager .load_config ()
101+ options = ConfigurationManager .load_config (None )
102102
103103 self .assertIsNotNone (options )
104104 self .assertEqual (options .timeout , "1500" )
@@ -124,7 +124,7 @@ def test_handle_invalid_config_file(self):
124124 config = {"bla" : "bla" }
125125
126126 self .create_ini_file (config )
127- options = ConfigurationManager .load_config ()
127+ options = ConfigurationManager .load_config (None )
128128
129129 self .assertIsNotNone (options )
130130
@@ -154,7 +154,7 @@ def ignore_invalid_config_file_entries(self):
154154 }
155155
156156 self .create_ini_file (config )
157- options = ConfigurationManager .load_config ()
157+ options = ConfigurationManager .load_config (None )
158158
159159 self .assertIsNotNone (options )
160160 self .assertEqual (options .fail_over_strategy , FailOverStrategy .FAIL_OPEN )
@@ -177,7 +177,7 @@ def test_load_default_config(self):
177177 except KeyError :
178178 pass
179179
180- options = ConfigurationManager .load_config ()
180+ options = ConfigurationManager .load_config (None )
181181
182182 self .assertIsNotNone (options )
183183 self .assertIsNone (options .api_key )
@@ -218,7 +218,7 @@ def test_get_config_from_env_variables(self):
218218 os .environ ["SECURENATIVE_LOG_LEVEL" ] = "Debug"
219219 os .environ ["SECURENATIVE_FAILOVER_STRATEGY" ] = "fail-closed"
220220
221- options = ConfigurationManager .load_config ()
221+ options = ConfigurationManager .load_config (None )
222222
223223 self .assertEqual (options .api_key , "SOME_ENV_API_KEY" )
224224 self .assertEqual (options .api_url , "SOME_API_URL" )
@@ -253,7 +253,7 @@ def test_default_values_for_invalid_enum_config_props(self):
253253 }
254254
255255 self .create_ini_file (config )
256- options = ConfigurationManager .load_config ()
256+ options = ConfigurationManager .load_config (None )
257257
258258 self .assertIsNotNone (options )
259259 self .assertEqual (options .fail_over_strategy , FailOverStrategy .FAIL_OPEN .value )
0 commit comments