diff --git a/tests/test_litellm/llms/openai/test_openai_common_utils.py b/tests/test_litellm/llms/openai/test_openai_common_utils.py index f2740be642..d0dedd3ed9 100644 --- a/tests/test_litellm/llms/openai/test_openai_common_utils.py +++ b/tests/test_litellm/llms/openai/test_openai_common_utils.py @@ -146,12 +146,12 @@ def test_precomputed_init_params_match_inspect_signature(): _OPENAI_INIT_PARAMS, ) - expected_openai = [ + expected_openai = tuple( p for p in inspect.signature(OpenAI.__init__).parameters if p != "self" - ] - expected_azure = [ + ) + expected_azure = tuple( p for p in inspect.signature(AzureOpenAI.__init__).parameters if p != "self" - ] + ) assert _OPENAI_INIT_PARAMS == expected_openai assert _AZURE_OPENAI_INIT_PARAMS == expected_azure @@ -161,6 +161,6 @@ def test_precomputed_init_params_match_inspect_signature(): def test_get_openai_client_initialization_param_fields(client_type): """Verify the method returns the correct pre-computed params for each client type.""" result = BaseOpenAILLM.get_openai_client_initialization_param_fields(client_type) - assert isinstance(result, list) + assert isinstance(result, tuple) assert len(result) > 0 assert "self" not in result