@@ -211,7 +211,7 @@ def test_config_set_python_types():
211211 assert [dict (d ) for d in c ["list_of_dicts" ]] == [{"a" : 1 }, {"b" : 2 }]
212212
213213def test_config_contains ():
214- config = atlas4py .Config . from_kwargs (option1 = "value1" , option2 = 42 )
214+ config = atlas4py .Config (option1 = "value1" , option2 = 42 )
215215 assert "option1" in config
216216 assert "option2" in config
217217 assert "option3" not in config
@@ -223,7 +223,7 @@ def test_config_contains():
223223
224224
225225def test_config_mapping_protocol ():
226- config = atlas4py .Config . from_kwargs (option1 = "value1" , option2 = 42 , option3 = 3.14 )
226+ config = atlas4py .Config (option1 = "value1" , option2 = 42 , option3 = 3.14 )
227227 # dict() uses keys() + __getitem__
228228 d = dict (config )
229229 assert d == {"option1" : "value1" , "option2" : 42 , "option3" : 3.14 }
@@ -244,8 +244,8 @@ def test_config_mapping_errors():
244244 config ["unsupported" ] = value
245245
246246
247- def test_config_from_kwargs ():
248- config = atlas4py .Config . from_kwargs (option1 = "value1" , option2 = 42 )
247+ def test_config_constructor_with_kwargs ():
248+ config = atlas4py .Config (option1 = "value1" , option2 = 42 )
249249 config ["option3" ] = 3.14
250250 assert config ["option1" ] == "value1"
251251 assert config ["option2" ] == 42
0 commit comments