def test_toolkit_creation_errors_missing_function_names(uc_client):
    """Test that UCFunctionToolkit raises ValidationError when function_names are missing."""
    with pytest.raises(
        ValidationError,
        match=r"Cannot create tool instances without function_names being provided.",
    ):
        UCFunctionToolkit(function_names=[], client=uc_client)
Test that UCFunctionToolkit raises ValidationError when function_names are missing.
ai/integrations/litellm/tests/test_litellm_toolkit_oss.py