MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

Functiontest_handle_partial_json_with_valid_partial
()
lib/crewai/tests/utilities/test_converter.py:190
Functiontest_handle_partial_json_without_agent_raises_validation_error
()
lib/crewai/tests/utilities/test_converter.py:1154
Functiontest_handle_streaming_tool_calls
(get_weather_tool_schema, mock_emit)
lib/crewai/tests/test_llm.py:663
Functiontest_handle_streaming_tool_calls_no_available_functions
( get_weather_tool_schema, mock_emit )
lib/crewai/tests/test_llm.py:716
Functiontest_handle_streaming_tool_calls_no_tools
(mock_emit)
lib/crewai/tests/test_llm.py:741
Functiontest_handle_streaming_tool_calls_with_error
(get_weather_tool_schema, mock_emit)
lib/crewai/tests/test_llm.py:691
Methodtest_handle_turn_emits_failed_instead_of_completed_when_turn_raises
Failed turns emit a terminal failure event without completion.
lib/crewai/tests/test_flow_conversation.py:1263
Methodtest_handle_turn_emits_started_and_completed_for_each_conversational_turn
Each ``handle_turn()`` emits paired turn lifecycle events.
lib/crewai/tests/test_flow_conversation.py:1217
Methodtest_handle_turn_guard_matches_chat_and_stream_turn
(self)
lib/crewai/tests/test_flow_conversation.py:2380
Methodtest_handle_turn_rejects_non_conversational_flows
(self)
lib/crewai/tests/test_flow_conversation.py:2368
Methodtest_handle_turn_reruns_graph_after_prior_turn_completed
Multi-turn must not flip ``_is_execution_resuming`` and short-circuit. ``Flow.kickoff`` with persistence enabled treats ``inputs={"id": ...}`
lib/crewai/tests/test_flow_conversation.py:809
Methodtest_handle_turn_routes_to_listener_and_records_public_result
(self)
lib/crewai/tests/test_flow_conversation.py:282
Methodtest_handler
(source: object, event: SignalEvent)
lib/crewai/tests/events/types/test_system_events.py:141
Methodtest_handler_is_unregistered_after_kickoff
Long-lived workers (Celery, devkit) must not leak one handler per kickoff on the singleton bus, on either the success or failure path.
lib/crewai/tests/test_flow_usage_metrics.py:277
Functiontest_handler_registration_thread_safety
()
lib/crewai/tests/utilities/events/test_shutdown.py:210
Methodtest_handler_that_already_replied_is_not_double_promoted
(self)
lib/crewai/tests/test_flow_conversation.py:3757
Functiontest_handler_without_dependency_runs_normally
Test that handlers without dependencies still work as before.
lib/crewai/tests/events/test_depends.py:220
Functiontest_handles_broken_stdout
(clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:365
Methodtest_handles_invalid_version_strings
Test that invalid version strings are skipped.
lib/cli/tests/test_version.py:226
Methodtest_handles_invalid_version_strings
Test that invalid version strings are skipped.
lib/crewai/tests/cli/test_version.py:190
Methodtest_handles_multiple_crewai_entries
(self)
lib/devtools/tests/test_toml_updates.py:345
Methodtest_handles_multiple_pins
(self)
lib/devtools/tests/test_toml_updates.py:410
Methodtest_handles_optional_dependencies
(self)
lib/devtools/tests/test_toml_updates.py:332
Methodtest_handles_v1_with_trailing_slash
Test /v1/ is normalized.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:124
Functiontest_happy_path
(mock_post, monkeypatch)
lib/crewai-tools/tests/tools/parallel_search_tool_test.py:18
Functiontest_happy_path_async_plain_unchanged
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:312
Functiontest_happy_path_async_structured_unchanged
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:319
Functiontest_happy_path_plain_completion_unchanged
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:296
Functiontest_happy_path_structured_completion_unchanged
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:302
Functiontest_hardcoded_reply_uses_same_contract_without_fake_model_timing
()
lib/crewai/tests/test_flow_turns.py:95
Methodtest_has_tool_failures_exists_on_all_output_types
(self)
lib/crewai/tests/tools/test_tool_failure.py:653
Functiontest_has_uncommitted_changes
(fp, repository)
lib/cli/tests/test_git.py:56
Functiontest_hash_based_id_generation_with_doc_id_in_metadata
Test that documents with doc_id in metadata use the doc_id directly, not hash-based.
lib/crewai/tests/knowledge/test_knowledge.py:614
Functiontest_hash_based_id_generation_without_doc_id
Test that documents without doc_id generate hash-based IDs. Duplicates are deduplicated before upsert.
lib/crewai/tests/knowledge/test_knowledge.py:567
Methodtest_hash_comment_is_blocked_on_mysql
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:652
Methodtest_hash_is_an_operator_on_postgres
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:658
Functiontest_hatchling_with_explicit_wheel_config_passes
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:524
Functiontest_hatchling_without_wheel_config_passes_when_pkg_dir_matches
( tmp_path: Path, )
lib/cli/tests/deploy/test_validate.py:513
Functiontest_head_commit_is_none_before_the_first_commit
(tmp_path)
lib/cli/tests/test_git.py:170
Functiontest_head_commit_is_the_short_hash_of_head
(tmp_path)
lib/cli/tests/test_git.py:176
Methodtest_header_interceptor_adds_headers
Test that header interceptor adds custom headers to requests.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:238
Methodtest_header_interceptor_with_anthropic
Test that header interceptor can be used with Anthropic LLM.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:227
Methodtest_header_interceptor_with_real_call
Test that header interceptor works with real Anthropic API call.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:253
Methodtest_header_row_overrides_the_detected_one
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:434
Functiontest_headless_chat_reports_no_terminal
(monkeypatch)
lib/cli/tests/test_run_agent.py:12
Functiontest_help_and_invalid_arguments_are_not_counted
(args)
lib/cli/tests/test_checkpoint_telemetry.py:47
Functiontest_helper_functions_cover_error_paths
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:813
Methodtest_heuristic_observation_reflects_step_success
(self)
lib/crewai/tests/agents/test_agent_executor.py:1529
Methodtest_hidden_files_and_dirs_excluded
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:81
Functiontest_hierarchical_crew_creation_tasks_with_agents
Agents are not required for tasks in a hierarchical process but sometimes they are still added This test makes sure that the manager still de
lib/crewai/tests/test_crew.py:1884
Functiontest_hierarchical_crew_creation_tasks_with_async_execution
Tests that async tasks in hierarchical crews are handled correctly with proper delegation tools
lib/crewai/tests/test_crew.py:1934
Functiontest_hierarchical_crew_creation_tasks_with_sync_last
Agents are not required for tasks in a hierarchical process but sometimes they are still added This test makes sure that the manager still de
lib/crewai/tests/test_crew.py:1987
Functiontest_hierarchical_crew_delegates_to_workers_on_every_kickoff
( manager, async_entry )
lib/crewai/tests/test_crew.py:2938
Functiontest_hierarchical_kickoff_usage_metrics_include_manager
Ensure Crew.kickoff() sums UsageMetrics from both regular and manager agents.
lib/crewai/tests/test_crew.py:1818
Functiontest_hierarchical_process
(researcher, writer)
lib/crewai/tests/test_crew.py:362
Functiontest_hierarchical_verbose_false_manager_agent
(researcher, writer)
lib/crewai/tests/test_crew.py:4350
Functiontest_hierarchical_verbose_manager_agent
(researcher, writer)
lib/crewai/tests/test_crew.py:4324
Methodtest_history_accumulates
Test that multiple feedbacks are stored in history.
lib/crewai/tests/test_human_feedback_decorator.py:418
Functiontest_history_is_retained_and_kickoff_stays_independent
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:29
Functiontest_history_keeps_its_parts_list_untouched
Only the promoted turn collapses to text; the provider still gets parts.
lib/crewai/tests/agents/test_agent_kickoff_content_parts.py:93
Methodtest_history_preserved_across_steps
Test that feedback history is preserved across flow execution.
lib/crewai/tests/test_human_feedback_integration.py:546
Functiontest_history_sits_between_the_system_prompt_and_this_turn
()
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:85
Functiontest_history_survives_with_the_system_prompt_disabled
That branch builds one combined prompt, so history had nowhere to go.
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:235
Functiontest_hitl_resumption_skips_completed_listeners
Test that HITL resumption skips completed listener methods but continues chains.
lib/crewai/tests/test_flow_resumability_regression.py:14
Methodtest_hitl_self_loop_immediate_approval
Test that a HITL self-loop flow works when approved on the first try. No looping occurs -- the flow should proceed straight through.
lib/crewai/tests/test_human_feedback_integration.py:398
Methodtest_hitl_self_loop_multiple_rejections
Test that a HITL router can loop back multiple times before approving. Verifies the self-loop works for more than one rejection cycle.
lib/crewai/tests/test_human_feedback_integration.py:338
Methodtest_hitl_self_loop_routes_back_to_same_method
Test that a HITL router can loop back to itself via its own emit outcome. Pattern: review_work listens to or_("do_work", "review") and emits
lib/crewai/tests/test_human_feedback_integration.py:273
Functiontest_honors_declared_charset
The charset in the Content-Type header drives decoding.
lib/crewai-tools/tests/url_read_tool_test.py:155
Methodtest_hook
(context)
lib/crewai/tests/hooks/test_llm_hooks.py:94
Methodtest_hook
(context)
lib/crewai/tests/hooks/test_llm_hooks.py:152
Methodtest_hook
(context)
lib/crewai/tests/hooks/test_llm_hooks.py:311
Methodtest_hook
(context)
lib/crewai/tests/hooks/test_decorators.py:56
Methodtest_hook
(context)
lib/crewai/tests/hooks/test_decorators.py:135
Methodtest_hook
(context)
lib/crewai/tests/hooks/test_decorators.py:290
Methodtest_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:133
Methodtest_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:226
Methodtest_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:467
Functiontest_hook_abort_on_the_schema_request_is_not_swallowed
()
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:341
Methodtest_hook_aborted_propagates_with_reason_and_source
(self)
lib/crewai/tests/hooks/test_dispatch.py:86
Functiontest_hook_dispatched_span_counts_aborts
()
lib/crewai/tests/telemetry/test_telemetry.py:275
Functiontest_hook_dispatched_span_counts_point_usage
()
lib/crewai/tests/telemetry/test_telemetry.py:256
Methodtest_hook_marker_attribute_is_set
Test that decorator sets marker attribute on method.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:368
Methodtest_hooks_run_in_registration_order
(self)
lib/crewai/tests/hooks/test_dispatch.py:79
Methodtest_hooks_with_validation_and_sanitization
Test a realistic scenario with validation and sanitization hooks.
lib/crewai/tests/hooks/test_tool_hooks.py:412
Functiontest_host_can_supply_processors_and_a_logging_callback
(flow_source)
lib/crewai/tests/telemetry/test_enterprise_session_compatibility.py:119
Functiontest_host_hitl_resume_links_segments_and_exposes_human_feedback
(flow_source)
lib/crewai/tests/telemetry/test_enterprise_session_compatibility.py:199
Methodtest_host_port_without_scheme_gets_scheme
host:port without a scheme gets http:// prepended.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:136
Functiontest_host_provider_preserves_event_spans_and_logging_context
(flow_source)
lib/crewai/tests/telemetry/test_enterprise_session_compatibility.py:63
Functiontest_host_supplied_conversation_identity_survives_turn_execution_id
(public_id)
lib/crewai/tests/telemetry/test_trace_lifecycle.py:649
Functiontest_hosted_environments_are_not_reported_as_assistants
REPL_ID marks a hosted environment, not an assistant driving the run.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:208
Methodtest_hosted_vllm_config
Test hosted_vllm provider configuration.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:78
Methodtest_hostname_server_tool_name_is_unchanged
( self, mock_client_class, resolver )
lib/crewai/tests/mcp/test_tool_resolver_native.py:134
Functiontest_hosts_in_no_proxy_are_reached_directly
( proxy: _RecordingServer, amp: _RecordingServer, machine: dict[str, str] )
lib/crewai-core/tests/test_plus_api_proxy.py:196
Methodtest_hours
(self)
lib/crewai/tests/test_checkpoint_cli.py:132
Functiontest_html_is_stripped_to_visible_text
HTML returns visible text with script and style content removed.
lib/crewai-tools/tests/url_read_tool_test.py:241
Methodtest_http_defaults
(self)
lib/crewai/tests/mcp/test_amp_mcp.py:91
Methodtest_http_error_handling
(self, mock_get_version, mock_requests_get)
lib/cli/tests/enterprise/test_main.py:79
Functiontest_http_server_info_strips_port_from_hostname
()
lib/crewai/tests/mcp/test_client_server_info.py:18
Functiontest_http_server_info_uses_hostname_not_url
()
lib/crewai/tests/mcp/test_client_server_info.py:10
Functiontest_http_transport_connect_cancelled_on_enter_recovers_auth_on_exit
()
lib/crewai/tests/mcp/test_http_transport_auth.py:107
← previousnext →14,401–14,500 of 19,264, ranked by callers