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