1717from models .config import (
1818 AuthenticationConfiguration ,
1919 Configuration ,
20- LLamaStackConfiguration ,
20+ LlamaStackConfiguration ,
2121 ServiceConfiguration ,
2222 UserDataCollection ,
2323 TLSConfiguration ,
@@ -57,20 +57,20 @@ def test_service_configuration_workers_value() -> None:
5757
5858def test_llama_stack_configuration_constructor () -> None :
5959 """Test the LLamaStackConfiguration constructor."""
60- llama_stack_configuration = LLamaStackConfiguration (
60+ llama_stack_configuration = LlamaStackConfiguration (
6161 use_as_library_client = True , library_client_config_path = "foo"
6262 )
6363 assert llama_stack_configuration is not None
6464
65- llama_stack_configuration = LLamaStackConfiguration (
65+ llama_stack_configuration = LlamaStackConfiguration (
6666 use_as_library_client = False , url = "http://localhost"
6767 )
6868 assert llama_stack_configuration is not None
6969
70- llama_stack_configuration = LLamaStackConfiguration (url = "http://localhost" )
70+ llama_stack_configuration = LlamaStackConfiguration (url = "http://localhost" )
7171 assert llama_stack_configuration is not None
7272
73- llama_stack_configuration = LLamaStackConfiguration (
73+ llama_stack_configuration = LlamaStackConfiguration (
7474 use_as_library_client = False , url = "http://localhost" , api_key = "foo"
7575 )
7676 assert llama_stack_configuration is not None
@@ -82,7 +82,7 @@ def test_llama_stack_wrong_configuration_constructor_no_url() -> None:
8282 ValueError ,
8383 match = "LLama stack URL is not specified and library client mode is not specified" ,
8484 ):
85- LLamaStackConfiguration ()
85+ LlamaStackConfiguration ()
8686
8787
8888def test_llama_stack_wrong_configuration_constructor_library_mode_off () -> None :
@@ -91,14 +91,14 @@ def test_llama_stack_wrong_configuration_constructor_library_mode_off() -> None:
9191 ValueError ,
9292 match = "LLama stack URL is not specified and library client mode is not enabled" ,
9393 ):
94- LLamaStackConfiguration (use_as_library_client = False )
94+ LlamaStackConfiguration (use_as_library_client = False )
9595
9696
9797def test_llama_stack_wrong_configuration_no_config_file () -> None :
9898 """Test the LLamaStackConfiguration constructor."""
9999 m = "LLama stack library client mode is enabled but a configuration file path is not specified"
100100 with pytest .raises (ValueError , match = m ):
101- LLamaStackConfiguration (use_as_library_client = True )
101+ LlamaStackConfiguration (use_as_library_client = True )
102102
103103
104104def test_user_data_collection_feedback_enabled () -> None :
@@ -297,7 +297,7 @@ def test_configuration_empty_mcp_servers() -> None:
297297 cfg = Configuration (
298298 name = "test_name" ,
299299 service = ServiceConfiguration (),
300- llama_stack = LLamaStackConfiguration (
300+ llama_stack = LlamaStackConfiguration (
301301 use_as_library_client = True , library_client_config_path = "foo"
302302 ),
303303 user_data_collection = UserDataCollection (
@@ -318,7 +318,7 @@ def test_configuration_single_mcp_server() -> None:
318318 cfg = Configuration (
319319 name = "test_name" ,
320320 service = ServiceConfiguration (),
321- llama_stack = LLamaStackConfiguration (
321+ llama_stack = LlamaStackConfiguration (
322322 use_as_library_client = True , library_client_config_path = "foo"
323323 ),
324324 user_data_collection = UserDataCollection (
@@ -345,7 +345,7 @@ def test_configuration_multiple_mcp_servers() -> None:
345345 cfg = Configuration (
346346 name = "test_name" ,
347347 service = ServiceConfiguration (),
348- llama_stack = LLamaStackConfiguration (
348+ llama_stack = LlamaStackConfiguration (
349349 use_as_library_client = True , library_client_config_path = "foo"
350350 ),
351351 user_data_collection = UserDataCollection (
@@ -367,7 +367,7 @@ def test_dump_configuration(tmp_path) -> None:
367367 cfg = Configuration (
368368 name = "test_name" ,
369369 service = ServiceConfiguration (),
370- llama_stack = LLamaStackConfiguration (
370+ llama_stack = LlamaStackConfiguration (
371371 use_as_library_client = True , library_client_config_path = "foo"
372372 ),
373373 user_data_collection = UserDataCollection (
@@ -449,7 +449,7 @@ def test_dump_configuration_with_one_mcp_server(tmp_path) -> None:
449449 cfg = Configuration (
450450 name = "test_name" ,
451451 service = ServiceConfiguration (),
452- llama_stack = LLamaStackConfiguration (
452+ llama_stack = LlamaStackConfiguration (
453453 use_as_library_client = True , library_client_config_path = "foo"
454454 ),
455455 user_data_collection = UserDataCollection (
@@ -534,7 +534,7 @@ def test_dump_configuration_with_more_mcp_servers(tmp_path) -> None:
534534 cfg = Configuration (
535535 name = "test_name" ,
536536 service = ServiceConfiguration (),
537- llama_stack = LLamaStackConfiguration (
537+ llama_stack = LlamaStackConfiguration (
538538 use_as_library_client = True , library_client_config_path = "foo"
539539 ),
540540 user_data_collection = UserDataCollection (
0 commit comments