MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

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:4374
Functiontest_hierarchical_verbose_manager_agent
(researcher, writer)
lib/crewai/tests/test_crew.py:4348
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
Functiontest_http_transport_connect_classifies_mixed_exception_group
()
lib/crewai/tests/mcp/test_http_transport_auth.py:85
Functiontest_http_transport_connect_raises_authentication_error_for_401
()
lib/crewai/tests/mcp/test_http_transport_auth.py:30
Functiontest_http_transport_connect_raises_authentication_error_for_403
()
lib/crewai/tests/mcp/test_http_transport_auth.py:51
Functiontest_http_transport_connect_raises_http_error_for_non_auth_status
()
lib/crewai/tests/mcp/test_http_transport_auth.py:68
Functiontest_http_transport_connect_timeout_recovers_auth_on_exit
()
lib/crewai/tests/mcp/test_http_transport_auth.py:161
Functiontest_http_transport_disconnect_propagates_cancellation_without_http_status
()
lib/crewai/tests/mcp/test_http_transport_auth.py:144
Functiontest_http_transport_disconnect_recovers_auth_from_exit
()
lib/crewai/tests/mcp/test_http_transport_auth.py:127
Methodtest_http_url_valid
Test that HTTP URLs are valid.
lib/crewai-files/tests/test_file_url.py:39
Methodtest_https_url_keeps_scheme_and_gets_no_default_port
An explicit https:// URL keeps its scheme and gets no default port.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:144
Methodtest_https_url_valid
Test that HTTPS URLs are valid.
lib/crewai-files/tests/test_file_url.py:45
Functiontest_huggingface_env_vars
Test that Huggingface environment variables are properly configured.
lib/cli/tests/test_constants.py:21
Functiontest_huggingface_env_vars
Test that Huggingface environment variables are properly configured.
lib/crewai/tests/cli/test_constants.py:9
Functiontest_huggingface_in_providers
Test that Huggingface is in the PROVIDERS list.
lib/cli/tests/test_constants.py:16
Functiontest_huggingface_in_providers
Test that Huggingface is in the PROVIDERS list.
lib/crewai/tests/cli/test_constants.py:4
Functiontest_huggingface_models
Test that Huggingface models are properly configured.
lib/cli/tests/test_constants.py:29
Functiontest_huggingface_models
Test that Huggingface models are properly configured.
lib/crewai/tests/cli/test_constants.py:17
Functiontest_human_feedback_emit_exposes_feedback_in_outputs
()
lib/crewai/tests/test_flow_from_definition.py:4129
Functiontest_human_feedback_emit_exposes_feedback_in_outputs_after_resume
()
lib/crewai/tests/test_flow_from_definition.py:4203
Functiontest_human_feedback_emit_feedback_renders_in_action_templates
()
lib/crewai/tests/test_flow_from_definition.py:4142
Functiontest_human_feedback_emit_overrides_inner_router_emit
()
lib/crewai/tests/test_flow_definition.py:600
Functiontest_human_feedback_emits_requested_and_received_events
Test that @human_feedback decorator emits HumanFeedbackRequested and Received events.
lib/crewai/tests/utilities/test_events.py:1848
Functiontest_human_feedback_empty_feedback_emits_events
Test that empty feedback (skipped) still emits events correctly.
lib/crewai/tests/utilities/test_events.py:1937
Functiontest_human_feedback_flow_uses_terminal_even_when_interactive
( tmp_path: Path, capsys: pytest.CaptureFixture[str], monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_run_declarative_flow.py:635
Functiontest_human_feedback_from_declaration_collapses_and_routes
()
lib/crewai/tests/test_flow_from_definition.py:4054
Functiontest_human_feedback_from_declaration_default_outcome_routes
()
lib/crewai/tests/test_flow_from_definition.py:4042
Functiontest_human_feedback_pending_and_resume_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:4085
Methodtest_human_feedback_property_returns_last
Test that human_feedback property returns the last result.
lib/crewai/tests/test_human_feedback_decorator.py:443
Functiontest_human_feedback_received_is_collected_whole
(listener)
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:94
Functiontest_human_feedback_requested_is_collected_whole
(listener)
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:71
Methodtest_human_feedback_reruns_flow_with_state_messages
Human feedback should use AgentExecutor state messages.
lib/crewai/tests/agents/test_agent_executor.py:197
Functiontest_human_feedback_spans_are_instant_children_of_the_flow
()
lib/crewai/tests/telemetry/test_event_trace_session.py:127
Functiontest_human_feedback_without_routing_emits_events
Test that @human_feedback without emit still emits events.
lib/crewai/tests/utilities/test_events.py:1899
Methodtest_human_input_pauses_flow_updates
Test that human input pauses Flow status updates.
lib/crewai/tests/test_flow_human_input_integration.py:25
Functiontest_humanize
()
lib/cli/tests/test_model_catalog.py:81
Functiontest_hybrid_flag_uses_its_own_field
A remote, non-hybrid job must not be reported as hybrid.
lib/crewai-tools/tests/tools/test_serply_job_search_tool.py:14
Functiontest_hybrid_string_and_files
(mock_vector_db, tmpdir)
lib/crewai/tests/knowledge/test_knowledge.py:358
Functiontest_id_does_not_leak_into_a_neighbouring_table
The key must never land under [build-system].
lib/crewai/tests/telemetry/test_project_id.py:109
Functiontest_id_is_stable_across_calls
(pyproject)
lib/crewai/tests/telemetry/test_project_id.py:47
Functiontest_id_lands_in_the_tool_crewai_table
(pyproject)
lib/crewai/tests/telemetry/test_project_id.py:55
Functiontest_id_only_input_skips_required_validation
(tmp_path: Path)
lib/cli/tests/test_run_declarative_flow.py:389
Functiontest_id_restore_still_drops_unknown_keys
( tmp_path: Path, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/test_run_declarative_flow.py:400
Methodtest_idempotent
(self, tmp_path: Path)
lib/crewai/tests/skills/test_parser.py:131
Methodtest_idempotent
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:82
Methodtest_identical_parallel_calls_in_one_step_count_toward_the_streak
(self)
lib/crewai/tests/tools/test_tool_failure.py:2118
Functiontest_ids_are_unique_across_projects
(tmp_path)
lib/crewai/tests/telemetry/test_project_id.py:333
Methodtest_ids_match_the_paired_finished_event
(self)
lib/crewai/tests/tools/test_tool_failure.py:1237
Functiontest_if_clauses_are_rejected_at_method_level
()
lib/crewai/tests/test_flow_from_definition.py:2837
Methodtest_ignore_policy_still_counts_the_stop
`ignore` emits no event, but the run is still stopped.
lib/crewai/tests/tools/test_tool_failure.py:2483
Methodtest_ignore_policy_still_forces_the_answer_but_records_nothing
(self)
lib/crewai/tests/tools/test_tool_failure.py:2187
Methodtest_ignore_restores_previous_behaviour
(self)
lib/crewai/tests/tools/test_tool_failure.py:350
Methodtest_ignore_still_shows_a_console_panel
With no failure flag, the ordinary green panel is restored.
lib/crewai/tests/tools/test_tool_failure.py:906
Methodtest_ignores_a_400_about_another_parameter
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:228
Methodtest_ignores_an_unsupported_value
Dropping the key here would silently restore the original bug.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:222
Methodtest_ignores_events_from_other_flows
Concurrent flow runs share the singleton bus, so the listener must scope itself to its own flow via the contextvar match.
lib/crewai/tests/test_flow_usage_metrics.py:237
← previousnext →14,601–14,700 of 19,482, ranked by callers