MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Functiontest_tool_setup_validates_platform_apps_from_the_definition
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, platform_setup: list[list[str]] )
lib/cli/tests/test_agent_tools.py:193
Functiontest_tool_setup_without_platform_apps_does_nothing
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, platform_setup: list[list[str]] )
lib/cli/tests/test_agent_tools.py:210
Methodtest_tool_usage_accepts_and_stores_crew
(self)
lib/crewai/tests/tools/test_tool_failure.py:1149
Functiontest_tool_usage_cache_callback_receives_raw_typed_output
()
lib/crewai/tests/tools/test_tool_usage.py:166
Functiontest_tool_usage_events_do_not_advance_plan_steps
()
lib/cli/tests/test_crew_run_tui.py:956
Functiontest_tool_usage_finished_event_with_cached_result
Test that ToolUsageFinishedEvent is emitted with correct result attributes when using cached result.
lib/crewai/tests/tools/test_tool_usage.py:764
Functiontest_tool_usage_finished_event_with_result
Test that ToolUsageFinishedEvent is emitted with correct result attributes.
lib/crewai/tests/tools/test_tool_usage.py:692
Methodtest_tool_usage_increments_after_successful_execution
Test that usage count increments after each successful native tool call.
lib/crewai/tests/agents/test_native_tool_calling.py:1082
Functiontest_tool_usage_limit
Test that tools respect usage limits.
lib/crewai/tests/tools/test_tool_usage_limit.py:8
Functiontest_tool_usage_render
()
lib/crewai/tests/tools/test_tool_usage.py:116
Functiontest_tool_usage_returns_json_agent_text_for_typed_output
()
lib/crewai/tests/tools/test_tool_usage.py:144
Functiontest_tool_usage_with_toolusage_class
Test that ToolUsage class correctly enforces usage limits.
lib/crewai/tests/tools/test_tool_usage_limit.py:109
Functiontest_tool_validate_input_error_event
Test tool validation input error event emission from ToolUsage class.
lib/crewai/tests/tools/test_tool_usage.py:632
Functiontest_tool_wiring
(tool_cls, expected_url, expected_params, expected_headers)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:213
Methodtest_tool_without_args_schema
Test converting a tool that doesn't have an args_schema.
lib/crewai/tests/utilities/test_agent_utils.py:567
Functiontest_tools
()
lib/crewai/tests/utilities/test_i18n.py:17
Methodtest_tools_available_but_none_used
(self, mock_agent, mock_task)
lib/crewai/tests/experimental/evaluation/metrics/test_tools_metrics.py:32
Methodtest_tools_carry_the_slug_they_were_requested_by
( self, mock_fetch, mock_client_class, agent, mock_tool_definitions )
lib/crewai/tests/mcp/test_amp_mcp.py:273
Functiontest_tools_emits_error_events
()
lib/crewai/tests/utilities/test_events.py:528
Functiontest_tools_emits_finished_events
()
lib/crewai/tests/utilities/test_events.py:491
Methodtest_tools_from_a_url_have_no_slug
( self, mock_client_class, agent, mock_tool_definitions )
lib/crewai/tests/mcp/test_amp_mcp.py:301
Functiontest_tools_method
(tools_list)
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:61
Functiontest_tools_method_empty
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:67
Functiontest_tools_with_custom_caching
()
lib/crewai/tests/test_crew.py:2202
Functiontest_top_level_empty_filter_still_means_no_filter
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1499
Functiontest_topological_path_counting
Test that topological path counting is accurate.
lib/crewai/tests/test_flow_visualization.py:368
Functiontest_touch_records
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:176
Methodtest_trace_batch_id_cleared_on_exception
trace_batch_id must be None when the API call raises an exception.
lib/crewai/tests/tracing/test_tracing.py:886
Methodtest_trace_batch_id_set_on_success
trace_batch_id must be set from the server response on success.
lib/crewai/tests/tracing/test_tracing.py:910
Methodtest_trace_batch_marked_as_failed_on_finalize_error
Test that trace batch is marked as failed when finalization returns non-200 status
lib/crewai/tests/tracing/test_tracing.py:630
Methodtest_trace_listener_collects_crew_events
Crew kickoff exports its event hierarchy through the session transport.
lib/crewai/tests/tracing/test_tracing.py:232
Methodtest_trace_listener_disabled_when_env_false
Test that trace listener doesn't make HTTP calls when tracing is disabled
lib/crewai/tests/tracing/test_tracing.py:347
Methodtest_trace_listener_ephemeral_batch
Unauthenticated kickoff uploads buffered spans only after consent.
lib/crewai/tests/tracing/test_tracing.py:441
Methodtest_trace_listener_setup_correctly_for_crew
Test that trace listener is set up correctly when enabled
lib/crewai/tests/tracing/test_tracing.py:388
Methodtest_trace_listener_setup_correctly_for_flow
Test that trace listener is set up correctly when enabled
lib/crewai/tests/tracing/test_tracing.py:418
Methodtest_trace_listener_with_authenticated_user
Authenticated kickoff uses a grant without requesting upload consent.
lib/crewai/tests/tracing/test_tracing.py:458
Functiontest_traces_status_shows_disabled_when_env_false_overrides_consent
( runner, tmp_path, monkeypatch )
lib/cli/tests/test_cli.py:991
Functiontest_tracing_already_on_follows_the_run_gate
( tmp_path, monkeypatch, env_value, consented, already_on )
lib/cli/tests/experimental/test_eval_crew.py:4524
Functiontest_tracing_already_on_lets_the_project_env_beat_a_shell_false
The run loads `.env` over the shell, so `.env` true with a shell false is traced: nobody is asked to turn on what is already on.
lib/cli/tests/experimental/test_eval_crew.py:4543
Functiontest_tracing_asked_for_is_the_answer_and_the_run_is_not_asked_again
Turning tracing on IS consent. The prompt at the end of a run is for the first-time collection nobody asked for — not for a user who said collect
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:119
Functiontest_tracing_asked_for_needs_no_modal
The user turned tracing on for this project; the modal would be the same question a second time.
lib/cli/tests/test_trace_consent_session.py:85
Functiontest_tracing_asked_for_reads_the_declaration_but_keeps_the_other_guards
The ContextVar is set where the crew is CONSTRUCTED, not on the worker thread that later asks — but an app with nobody in front of it is still
lib/cli/tests/test_crew_run_tui.py:615
Functiontest_tracing_controls_gate_execution_export
( monkeypatch, environment, override, enabled )
lib/crewai/tests/tracing/test_trace_enable_disable.py:40
Functiontest_tracing_is_never_turned_on_toward_an_amp_the_command_does_not_trust
A project's crewai older than the handshake sends the saved login to the AMP its `.env` names whenever the run traces: toward an untrusted AMP the
lib/cli/tests/experimental/test_eval_crew.py:3823
Functiontest_tracing_is_turned_on_and_said_once_only_when_nobody_had
With nobody at the terminal (a coding agent), the first evaluation infers the yes, turns tracing on for the project and says so; from then on
lib/cli/tests/experimental/test_eval_crew.py:3482
Functiontest_tracing_preserves_flow_usage_metrics
(fail)
lib/crewai/tests/telemetry/test_event_trace_session.py:189
Methodtest_trailing_hyphen_raises
(self)
lib/crewai/tests/skills/test_validation.py:60
Methodtest_trailing_semicolon_allowed_single_statement
A single statement with a trailing semicolon should pass.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:270
Methodtest_trailing_slash_in_query_is_preserved
Only the path is stripped, so a query ending in / keeps that character.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:152
Methodtest_trailing_slash_removed
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:75
Functiontest_trailing_turns_survive_with_the_system_prompt_disabled
The combined-prompt branch needs the same after-request placement.
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:252
Functiontest_train_command_exits_with_the_script_exit_code
( mock_subprocess_run, tmp_path, monkeypatch )
lib/cli/tests/test_train_crew.py:125
Functiontest_train_command_exits_zero_when_the_script_succeeds
( mock_subprocess_run, tmp_path, monkeypatch )
lib/cli/tests/test_train_crew.py:140
Functiontest_train_crew_called_process_error
(mock_subprocess_run, click)
lib/cli/tests/test_train_crew.py:63
Functiontest_train_crew_exits_with_the_script_exit_code
(mock_subprocess_run)
lib/cli/tests/test_train_crew.py:113
Functiontest_train_crew_invalid_filename
(mock_subprocess_run)
lib/cli/tests/test_train_crew.py:53
Functiontest_train_crew_negative_iterations
(mock_subprocess_run)
lib/cli/tests/test_train_crew.py:43
Functiontest_train_crew_positive_iterations
(mock_subprocess_run)
lib/cli/tests/test_train_crew.py:13
Functiontest_train_crew_unexpected_exception
(mock_subprocess_run, click)
lib/cli/tests/test_train_crew.py:94
Functiontest_train_crew_zero_iterations
(mock_subprocess_run)
lib/cli/tests/test_train_crew.py:33
Functiontest_train_custom_iterations
(train_crew, runner)
lib/cli/tests/test_cli.py:54
Functiontest_train_custom_iterations_snake_case_alias
(train_crew, runner)
lib/cli/tests/test_cli.py:63
Functiontest_train_default_iterations
(train_crew, runner)
lib/cli/tests/test_cli.py:45
Functiontest_train_help_hides_legacy_flag_aliases
(runner)
lib/cli/tests/test_cli.py:165
Functiontest_train_invalid_string_iterations
(train_crew, runner)
lib/cli/tests/test_cli.py:76
Functiontest_training_converter_fallback_mechanism
( convert_field_by_field_mock, to_pydantic_mock )
lib/crewai/tests/utilities/evaluators/test_task_evaluator.py:69
Methodtest_training_mode_human_input
Test human input in training mode.
lib/crewai/tests/test_flow_human_input_integration.py:114
Methodtest_transport_instantiation
Test that transport can be instantiated with interceptor.
lib/crewai/tests/llms/hooks/test_transport.py:78
Methodtest_transport_requires_interceptor
Test that transport requires interceptor parameter.
lib/crewai/tests/llms/hooks/test_transport.py:85
Functiontest_tree_copy_full_structure
(temp_tree)
lib/cli/tests/test_utils.py:69
Functiontest_tree_copy_preserve_content
(temp_tree)
lib/cli/tests/test_utils.py:83
Functiontest_tree_copy_to_existing_directory
(temp_tree)
lib/cli/tests/test_utils.py:95
Functiontest_tree_find_and_replace_directory_name
(temp_tree)
lib/cli/tests/test_utils.py:47
Functiontest_tree_find_and_replace_file_content
(temp_tree)
lib/cli/tests/test_utils.py:32
Functiontest_tree_find_and_replace_file_name
(temp_tree)
lib/cli/tests/test_utils.py:38
Functiontest_tree_find_and_replace_nested_content
(temp_tree)
lib/cli/tests/test_utils.py:53
Functiontest_tree_find_and_replace_no_matches
(temp_tree)
lib/cli/tests/test_utils.py:59
Methodtest_tree_record_roundtrip
(self)
lib/crewai/tests/test_event_record.py:293
Methodtest_trigger_all
(self)
lib/crewai/tests/test_checkpoint.py:201
Methodtest_trigger_bidirectional
(self)
lib/crewai/tests/test_event_record.py:158
Methodtest_trigger_events
(self)
lib/crewai/tests/test_checkpoint.py:213
Functiontest_trigger_requests_wait_60_seconds_only_for_the_response
(call, path)
lib/cli/tests/test_plus_api.py:594
Methodtest_triggered_by_event_id_for_listeners
Listener events should have triggered_by_event_id pointing to the triggering method_execution_finished event.
lib/crewai/tests/events/test_event_ordering.py:633
Methodtest_triggers_fetch_on_stale_cache
Test that a stale cache triggers a re-fetch.
lib/cli/tests/test_version.py:348
Methodtest_triggers_fetch_on_stale_cache
Test that a stale cache triggers a re-fetch.
lib/crewai/tests/cli/test_version.py:312
Methodtest_triple_dash_in_body
(self)
lib/crewai/tests/skills/test_parser.py:54
Methodtest_true_returns_config
(self)
lib/crewai/tests/test_checkpoint.py:46
Functiontest_truncates_to_max_models
(monkeypatch)
lib/cli/tests/test_model_catalog.py:356
Functiontest_truncation_preserves_json_and_respects_byte_cap
(payload, cap)
lib/crewai/tests/telemetry/test_gen_ai_shapes.py:25
Functiontest_trust_remote_completion_status_false_continues_conversation
When trust_remote_completion_status=False and A2A returns completed, ask server agent.
lib/crewai/tests/agents/test_a2a_trust_completion_status.py:83
Functiontest_trust_remote_completion_status_true_returns_directly
When trust_remote_completion_status=True and A2A returns completed, return result directly.
lib/crewai/tests/agents/test_a2a_trust_completion_status.py:28
Functiontest_try_finally_syntax
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:100
Functiontest_try_finally_syntax_sse
(echo_sse_server)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:116
Functiontest_try_finally_with_filtered_tools
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:160
Functiontest_try_parse_structured_rejects_deeply_nested_input
A nesting depth no JSON backend can walk must parse as nothing, not recurse.
lib/cli/tests/test_crew_run_tui.py:2484
Functiontest_try_parse_structured_rejects_non_serializable_literals
ast.literal_eval("[...]") is a valid [Ellipsis] list but cannot be JSON-encoded.
lib/cli/tests/test_crew_run_tui.py:2466
Functiontest_try_parse_structured_still_accepts_serializable_values
()
lib/cli/tests/test_crew_run_tui.py:2473
Methodtest_tty_repaints_panel_per_chunk
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:306
Functiontest_tui_chat_requires_a_terminal
(monkeypatch)
lib/crewai/tests/test_flow_chat_tui.py:35
Functiontest_tui_chat_requires_conversational_opt_in
()
lib/crewai/tests/test_flow_chat_tui.py:57
← previousnext →18,901–19,000 of 19,735, ranked by callers