Skip to content

Commit ef143c8

Browse files
committed
Fixed linter problems found by Ruff
1 parent 0b716f6 commit ef143c8

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

tests/unit/models/test_config.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,23 @@ def test_service_configuration_workers_value() -> None:
3535

3636
def 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

5557
def test_llama_stack_wrong_configuration_constructor_no_url() -> None:

0 commit comments

Comments
 (0)