MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Functiontest_timeout_handling_llm
Test a custom LLM implementation with timeout handling and retry logic.
lib/crewai/tests/test_custom_llm.py:359
Functiontest_timeout_is_raised_at_the_deadline
The timeout error must not wait for the runaway worker to finish.
lib/crewai/tests/agents/test_agent_execution_timeout.py:13
Functiontest_timeout_is_reported_as_retryable
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:318
Functiontest_timeout_raises_runtime_error
(mock_get, web_tool)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:482
Methodtest_timeout_wrapper_preserves_the_error_type
max_execution_time wraps failures in RuntimeError; not this one.
lib/crewai/tests/tools/test_tool_failure.py:673
Methodtest_title_rows_above_the_header_are_skipped
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:580
Methodtest_to_config_dict_includes_responses_fields
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:342
Methodtest_to_config_dict_omits_api_for_completions
(self)
lib/crewai/tests/llms/azure/test_azure_responses.py:357
Methodtest_to_dict_serialization
Test serializing context to dictionary.
lib/crewai/tests/test_async_human_feedback.py:77
Methodtest_todo_item_auto_generates_unique_ids
Test that each TodoItem gets a unique auto-generated ID.
lib/crewai/tests/utilities/test_planning_types.py:129
Methodtest_todo_item_serialization
Test TodoItem can be serialized to dict.
lib/crewai/tests/utilities/test_planning_types.py:136
Methodtest_todo_item_status_values
Test all valid status values.
lib/crewai/tests/utilities/test_planning_types.py:119
Methodtest_todo_item_with_all_fields
Test TodoItem creation with all fields.
lib/crewai/tests/utilities/test_planning_types.py:99
Methodtest_todo_item_with_required_fields
Test TodoItem creation with only required fields.
lib/crewai/tests/utilities/test_planning_types.py:82
Methodtest_todo_list_workflow
Test a complete workflow through TodoList.
lib/crewai/tests/utilities/test_planning_types.py:280
Methodtest_todo_step_answer_is_not_requested_in_the_response_model
A step result is not the task's answer, so it keeps its text.
lib/crewai/tests/agents/test_agent_executor.py:565
Functiontest_token_callback_counts_dictionary_and_object_usage
( as_dict: bool, cached_tokens: int )
lib/crewai/tests/utilities/test_token_counter_callback.py:13
Functiontest_token_callback_skips_missing_usage
(usage: Any)
lib/crewai/tests/utilities/test_token_counter_callback.py:37
Functiontest_token_callback_without_token_process
()
lib/crewai/tests/utilities/test_token_counter_callback.py:45
Functiontest_token_usage_still_tracked_on_happy_path
with_raw_response must not cost us usage accounting.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:328
Methodtest_too_long_raises
(self)
lib/crewai/tests/skills/test_validation.py:48
Methodtest_too_many_members_are_refused
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:189
Functiontest_tool
A test tool.
lib/crewai/tests/tools/test_tool_usage_limit.py:49
Functiontest_tool_action_interpolates_adjacent_expressions
()
lib/crewai/tests/test_flow_from_definition.py:792
Functiontest_tool_action_interpolates_cel_string_literals
()
lib/crewai/tests/test_flow_from_definition.py:742
Functiontest_tool_action_interpolates_expression_with_surrounding_text
()
lib/crewai/tests/test_flow_from_definition.py:766
Functiontest_tool_action_interpolates_multiple_expressions_with_literals
()
lib/crewai/tests/test_flow_from_definition.py:816
Functiontest_tool_action_interpolates_non_string_values_as_json
()
lib/crewai/tests/test_flow_from_definition.py:842
Functiontest_tool_action_interpolates_null_as_empty_string
()
lib/crewai/tests/test_flow_from_definition.py:871
Functiontest_tool_action_interpolates_object_literal_fields
()
lib/crewai/tests/test_flow_from_definition.py:897
Functiontest_tool_action_interpolates_values_inside_list_inputs
()
lib/crewai/tests/test_flow_from_definition.py:1075
Functiontest_tool_action_keeps_plain_dollar_signs_literal
()
lib/crewai/tests/test_flow_from_definition.py:921
Functiontest_tool_action_platform_ref_requires_action
()
lib/crewai/tests/test_flow_from_definition.py:3392
Functiontest_tool_action_platform_ref_with_no_tools_names_ref
()
lib/crewai/tests/test_flow_from_definition.py:3402
Functiontest_tool_action_preserves_type_for_object_literal_expression
()
lib/crewai/tests/test_flow_from_definition.py:979
Functiontest_tool_action_preserves_whole_expression_value_types
()
lib/crewai/tests/test_flow_from_definition.py:1052
Functiontest_tool_action_raises_when_tool_reports_failure
()
lib/crewai/tests/test_flow_from_definition.py:3430
Functiontest_tool_action_rejects_invalid_interpolated_inputs
( search_query: str, error: str, )
lib/crewai/tests/test_flow_from_definition.py:953
Functiontest_tool_action_renders_cel_inputs_at_runtime
()
lib/crewai/tests/test_flow_from_definition.py:717
Functiontest_tool_action_renders_interpolated_inputs
()
lib/crewai/tests/test_flow_from_definition.py:1106
Functiontest_tool_action_renders_latest_output_by_method_name
()
lib/crewai/tests/test_flow_from_definition.py:1003
Functiontest_tool_action_reports_invalid_cel_expression
()
lib/crewai/tests/test_flow_from_definition.py:2287
Functiontest_tool_action_requires_module_qualname_ref
()
lib/crewai/tests/test_flow_from_definition.py:3324
Functiontest_tool_action_round_trips_with_inputs
()
lib/crewai/tests/test_flow_from_definition.py:691
Functiontest_tool_action_runs_platform_action
(selector: str)
lib/crewai/tests/test_flow_from_definition.py:3376
Functiontest_tool_action_usage_budget_resets_between_kickoffs
()
lib/crewai/tests/test_flow_tool_action_usage.py:53
Functiontest_tool_action_usage_budget_still_enforced_within_a_kickoff
()
lib/crewai/tests/test_flow_tool_action_usage.py:63
Functiontest_tool_action_uses_state_and_outputs_in_full_yaml_example
()
lib/crewai/tests/test_flow_from_definition.py:1027
Functiontest_tool_adapted_fails_without_required_methods
Test that BaseToolAdapter fails without required methods.
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:91
Functiontest_tool_add_appends_tools_and_sets_up_platform_apps
( fmt: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, platform_setup: list[list[str]],
lib/cli/tests/test_agent_tools.py:49
Functiontest_tool_add_explains_python_agents_are_edited_in_code
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:171
Functiontest_tool_add_leaves_definition_untouched_when_platform_setup_is_cancelled
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:96
Functiontest_tool_add_needs_tool_names_outside_a_terminal
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:147
Functiontest_tool_add_opens_the_picker_without_tool_names
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, platform_setup: list[list[str]] )
lib/cli/tests/test_agent_tools.py:158
Functiontest_tool_add_rejects_unknown_platform_references
( reference: str, message: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:119
Functiontest_tool_add_reports_unparseable_definitions
( fmt: str, content: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:135
Functiontest_tool_add_requires_an_agent_project
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:182
Functiontest_tool_add_skips_tools_already_in_the_definition
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, platform_setup: list[list[str]] )
lib/cli/tests/test_agent_tools.py:80
Methodtest_tool_call_event_accumulates_arguments
Test that tool call events accumulate arguments progressively.
lib/crewai/tests/llms/test_tool_call_streaming.py:113
Methodtest_tool_call_events_have_consistent_tool_id
Test that all events for the same tool call have the same tool ID.
lib/crewai/tests/llms/test_tool_call_streaming.py:138
Functiontest_tool_call_turn_emits_completed_event_with_usage
(mock_emit)
lib/crewai/tests/test_llm_litellm_usage_events.py:129
Functiontest_tool_calls_still_returned_to_the_caller
The tool-call branch reads `.choices` too and must be unaffected.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:338
Methodtest_tool_conversation_produces_valid_input
(self)
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:196
Functiontest_tool_create_is_deprecated_and_still_works
(mock_tool_command_cls, runner)
lib/cli/tests/test_create_unified.py:26
Methodtest_tool_creation_with_connection_params
Test tool creation with individual connection parameters.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:97
Methodtest_tool_creation_with_connection_url
Test tool creation with connection URL.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:126
Methodtest_tool_creation_with_empty_database
Test tool creation fails with empty database.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:154
Methodtest_tool_creation_with_nonexistent_table
Test tool creation fails with non-existent table.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:144
Methodtest_tool_creation_with_specific_tables
Test tool creation with specific table list.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:133
Functiontest_tool_decorator_with_usage_limit
Test usage limit with @tool decorator.
lib/crewai/tests/tools/test_tool_usage_limit.py:46
Functiontest_tool_defaults_survive_the_per_call_schema
Configured defaults must reach the client when the call omits them.
lib/crewai-tools/tests/tools/test_tavily_research_tool.py:23
Methodtest_tool_defaults_to_inherit
(self)
lib/crewai/tests/tools/test_tool_failure.py:319
Methodtest_tool_description
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:681
Functiontest_tool_error_does_not_emit_finished_event
()
lib/crewai/tests/tools/test_tool_usage.py:836
Functiontest_tool_event_names_task_and_agent
(store)
lib/crewai/tests/test_artifacts.py:228
Functiontest_tool_event_step_metadata_is_stored_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1498
Functiontest_tool_execution
Test tool execution via _run method.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:202
Functiontest_tool_execution_error_type_maps_authentication_failures
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:141
Functiontest_tool_execution_error_type_maps_http_and_server_errors
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:157
Functiontest_tool_execution_error_type_maps_timeout_and_validation
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:148
Functiontest_tool_execution_follow_up_turn_unchanged
Tool result -> follow-up completion, the path after a tool executes.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:348
Functiontest_tool_execution_results_are_immutable
( result: ToolExecutionSuccess | ToolExecutionFailure, field: str, value: Any, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:587
Functiontest_tool_execution_with_text_response
Test tool execution with plain text response.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:316
Functiontest_tool_failure_does_not_override_successful_plan_step_completion
()
lib/cli/tests/test_crew_run_tui.py:1451
Functiontest_tool_fallback_after_tool_calls_still_forces_the_structured_output_tool
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2394
Functiontest_tool_fallback_still_used_for_models_without_native_support
Models outside the supported set keep the forced-tool-call behavior.
lib/crewai/tests/llms/anthropic/test_anthropic.py:2138
Methodtest_tool_filter_skips_non_matching_tools
(self)
lib/crewai/tests/hooks/test_dispatch.py:122
Methodtest_tool_filter_with_hash_syntax
( self, mock_fetch, mock_client_class, agent, mock_tool_definitions )
lib/crewai/tests/mcp/test_amp_mcp.py:247
Methodtest_tool_filter_with_hyphenated_hash_syntax
notion#get-page must match the tool whose sanitized name is get_page.
lib/crewai/tests/mcp/test_amp_mcp.py:318
Functiontest_tool_info_is_immutable
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:561
Functiontest_tool_initialization
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:89
Functiontest_tool_initialization
(mocked_chrome)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:31
Functiontest_tool_initialization
Test basic tool initialization.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:83
Functiontest_tool_initialization_failure
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:123
Functiontest_tool_initialization_with_custom_base_url
Test tool initialization with custom base URL.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:102
Functiontest_tool_initialization_with_env_vars
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:103
Functiontest_tool_initialization_with_options
(mocked_chrome)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:50
Methodtest_tool_input_is_mutable_reference
Test that modifying context.tool_input modifies the original dict.
lib/crewai/tests/hooks/test_tool_hooks.py:113
Functiontest_tool_invocation
( tool_class: type[BaseTool], tool_config: BaseModel, oxylabs_api: RealtimeClient, )
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:150
Functiontest_tool_is_discoverable_without_instantiation
Verify public exports and tool metadata without opening connections.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:57
← previousnext →18,701–18,800 of 19,663, ranked by callers