File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -35,21 +35,23 @@ def test_service_configuration_workers_value() -> None:
3535
3636def test_llama_stack_configuration_constructor () -> None :
3737 """Test the LLamaStackConfiguration constructor."""
38- l = LLamaStackConfiguration (
38+ llama_stack_configuration = LLamaStackConfiguration (
3939 use_as_library_client = True , library_client_config_path = "foo"
4040 )
41- assert l is not None
41+ assert llama_stack_configuration is not None
4242
43- l = LLamaStackConfiguration (use_as_library_client = False , url = "http://localhost" )
44- assert l is not None
43+ llama_stack_configuration = LLamaStackConfiguration (
44+ use_as_library_client = False , url = "http://localhost"
45+ )
46+ assert llama_stack_configuration is not None
4547
46- l = LLamaStackConfiguration (url = "http://localhost" )
47- assert l is not None
48+ llama_stack_configuration = LLamaStackConfiguration (url = "http://localhost" )
49+ assert llama_stack_configuration is not None
4850
49- l = LLamaStackConfiguration (
51+ llama_stack_configuration = LLamaStackConfiguration (
5052 use_as_library_client = False , url = "http://localhost" , api_key = "foo"
5153 )
52- assert l is not None
54+ assert llama_stack_configuration is not None
5355
5456
5557def test_llama_stack_wrong_configuration_constructor_no_url () -> None :
You can’t perform that action at this time.
0 commit comments