def test_toolkit_function_argument_errors(dbx_client):
    """
    Test that we raise Pydantic validation if function_names is missing entirely.
    """
    with pytest.raises(
        ValidationError,
        match=r"1 validation error for UCFunctionToolkit\nfunction_names\n  Field required",
    ):
        UCFunctionToolkit(client=dbx_client)

    Test that we raise Pydantic validation if function_names is missing entirely.
    
ai/integrations/autogen/tests/test_autogen_toolkit.py