MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Functiontest_execute_command_exits_with_a_failed_scripts_code
( _subprocess_run: mock.Mock, _read_toml: mock.Mock, record_run_stopped: mock.Mock, capsys: py
lib/crewai/tests/cli/test_run_crew.py:95
Functiontest_execute_command_omits_env_var_when_filename_absent
( _build_env: mock.Mock, subprocess_run: mock.Mock )
lib/crewai/tests/cli/test_run_crew.py:80
Functiontest_execute_command_sets_env_var_when_filename_provided
( _build_env: mock.Mock, subprocess_run: mock.Mock )
lib/crewai/tests/cli/test_run_crew.py:61
Methodtest_execute_native_tool_falls_back_to_sequential_for_result_as_answer
( self, mock_dependencies )
lib/crewai/tests/agents/test_agent_executor.py:1412
Methodtest_execute_native_tool_result_as_answer_short_circuits_remaining_calls
( self, mock_dependencies )
lib/crewai/tests/agents/test_agent_executor.py:1454
Methodtest_execute_native_tool_runs_parallel_for_multiple_calls
( self, mock_dependencies )
lib/crewai/tests/agents/test_agent_executor.py:1376
Functiontest_execute_task_span_says_what_was_declared_and_what_came_out
( pipeline, declaration, produced, expected )
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:128
Functiontest_execute_with_agent
()
lib/crewai/tests/test_task.py:174
Methodtest_execute_with_trigger_api_error
(self, mock_console_print)
lib/cli/tests/triggers/test_main.py:129
Methodtest_execute_with_trigger_invalid_format
(self, mock_console_print)
lib/cli/tests/triggers/test_main.py:89
Methodtest_execute_with_trigger_not_found
(self, mock_console_print)
lib/cli/tests/triggers/test_main.py:117
Methodtest_execute_with_trigger_success
(self, mock_run_crew, mock_console_print)
lib/cli/tests/triggers/test_main.py:99
Methodtest_execute_with_trigger_with_default_error_message
(self, mock_console_print)
lib/cli/tests/triggers/test_main.py:177
Methodtest_executes_function_with_context
Function executes normally with RequestContext when not cancelled.
lib/crewai/tests/a2a/utils/test_task.py:88
Methodtest_executes_function_without_context
Function executes normally when no RequestContext is provided.
lib/crewai/tests/a2a/utils/test_task.py:72
Functiontest_execution_failure_clears_buffer_without_consent_or_requests
( collector, monkeypatch, failure )
lib/crewai/tests/telemetry/test_session_trace_export.py:607
Methodtest_executor_init_does_not_mutate_shared_llm
Constructing executors must not touch the shared LLM's stop list.
lib/crewai/tests/agents/test_agent.py:3077
Methodtest_executor_initialization
Test AgentExecutor initialization.
lib/crewai/tests/agents/test_agent_executor.py:416
Functiontest_executor_save_to_memory_calls_extract_then_remember_per_item
_save_to_memory calls memory.extract_memories(raw) then memory.remember(m) for each.
lib/crewai/tests/memory/test_unified_memory.py:600
Functiontest_executor_save_to_memory_skips_delegation_output
_save_to_memory does nothing when output contains delegate action.
lib/crewai/tests/memory/test_unified_memory.py:632
Methodtest_executor_state_contains_plan_after_planning
Test that executor state contains plan after planning phase.
lib/crewai/tests/agents/test_agent_executor.py:1667
Methodtest_exhausts_retries_then_clears_batch_id
After all retries fail, trace_batch_id is None.
lib/crewai/tests/tracing/test_tracing.py:1090
Functiontest_existing_collection_does_not_trigger_a_probe
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:72
Methodtest_existing_file_reader_keeps_local_access_when_artifact_reader_is_added
( self, tmp_path )
lib/crewai/tests/agents/test_agent_executor.py:2808
Methodtest_existing_loose_dir_is_tightened
A pre-existing world-traversable directory is corrected to 0o700.
lib/cli/tests/test_token_manager.py:316
Functiontest_existing_output_no_overwrite
(_, __, ___, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:90
Functiontest_exit_hook_returns_as_soon_as_the_flush_succeeds
( live_telemetry: Telemetry, caplog: pytest.LogCaptureFixture )
lib/crewai-core/tests/test_telemetry_shutdown.py:74
Functiontest_exit_hook_stops_waiting_at_the_flush_deadline
( live_telemetry: Telemetry, monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture, )
lib/crewai-core/tests/test_telemetry_shutdown.py:49
Functiontest_exit_hook_stops_waiting_at_the_flush_deadline
( live_telemetry, monkeypatch, caplog )
lib/crewai/tests/telemetry/test_export_logs.py:49
Methodtest_experiment_results_compare_with_baseline
(self, mock_open, mock_json_load, mock_path_getsize, mock_path_exists, mock_results)
lib/crewai/tests/experimental/evaluation/test_experiment_result.py:56
Functiontest_experimental_agent_executor_attribute_still_resolves
1.15.28 and earlier taught `from crewai.experimental import AgentExecutor`.
lib/crewai/tests/test_imports.py:47
Functiontest_experimental_agent_executor_module_still_imports
()
lib/crewai/tests/test_imports.py:57
Functiontest_experimental_conversational_mixin_aliases_stable_module
()
lib/crewai/tests/test_experimental_conversational_shim.py:42
Functiontest_experimental_conversational_module_aliases_stable_module
()
lib/crewai/tests/test_experimental_conversational_shim.py:17
Functiontest_experimental_namespace_reexports_public_names
()
lib/crewai/tests/skills/test_experimental_shim.py:4
Functiontest_experimental_namespace_reexports_stable_types
()
lib/crewai/tests/test_experimental_conversational_shim.py:24
Functiontest_experimental_submodule_imports_alias_real_modules
Old submodule import style must resolve to the crewai.skills modules.
lib/crewai/tests/skills/test_experimental_shim.py:19
Functiontest_expired_grant_is_renewed_for_same_execution
(collector)
lib/crewai/tests/telemetry/test_session_trace_export.py:555
Methodtest_explain_allowed
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:65
Methodtest_explain_analyse_delete_blocked_in_read_only
British spelling ANALYSE is also caught.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:379
Methodtest_explain_analyze_delete_allowed_when_dml_enabled
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:399
Methodtest_explain_analyze_delete_blocked_in_read_only
EXPLAIN ANALYZE DELETE actually runs the delete — block it.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:373
Methodtest_explain_analyze_delete_triggers_commit
EXPLAIN ANALYZE DELETE should trigger commit when allow_dml=True.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:549
Methodtest_explain_analyze_drop_blocked_in_read_only
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:385
Methodtest_explain_analyze_select_allowed_in_read_only
EXPLAIN ANALYZE on a SELECT is safe — must be permitted.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:390
Methodtest_explain_analyze_verbose_delete_blocked
EXPLAIN ANALYZE VERBOSE DELETE should be blocked.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:519
Methodtest_explain_analyze_verbose_select_allowed
EXPLAIN ANALYZE VERBOSE SELECT should be allowed (read-only).
lib/crewai-tools/tests/tools/test_nl2sql_security.py:514
Methodtest_explain_paren_analyze_delete_blocked_in_read_only
EXPLAIN (ANALYZE) DELETE actually runs the delete — block it.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:403
Methodtest_explain_paren_analyze_verbose_delete_blocked_in_read_only
EXPLAIN (ANALYZE, VERBOSE) DELETE actually runs the delete — block it.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:409
Methodtest_explain_paren_verbose_select_allowed_in_read_only
EXPLAIN (VERBOSE) SELECT is safe — no ANALYZE means no execution.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:415
Methodtest_explain_verbose_select_allowed
EXPLAIN VERBOSE SELECT (no ANALYZE) should be allowed.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:525
Methodtest_explain_without_analyze_allowed
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:395
Methodtest_explicit_api_key_overrides_env
Test explicit API key overrides environment variable.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:191
Methodtest_explicit_base_url_overrides_all
Test explicit base URL overrides env and config.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:226
Methodtest_explicit_base_url_uses_organization_from_settings
( self, mock_settings_class )
lib/crewai/tests/cli/test_plus_api.py:417
Methodtest_explicit_cache_false_stays_off_even_with_handler
(self)
lib/crewai/tests/test_tool_cache_default.py:184
Functiontest_explicit_cel_fields_accept_expression_markers
()
lib/crewai/tests/test_flow_from_definition.py:2943
Methodtest_explicit_config_matches_implicit_planning
Agent(planning=True) and Agent(planning=True, planning_config=PlanningConfig()) should produce the same reasoning_effort.
lib/crewai/tests/agents/test_agent_executor.py:3387
Functiontest_explicit_context_window_size_does_not_warn
( caplog: pytest.LogCaptureFixture, )
lib/crewai/tests/llms/test_context_window.py:629
Functiontest_explicit_context_window_size_is_honored_by_every_provider
( kwargs: dict[str, object], )
lib/crewai/tests/llms/test_context_window.py:493
Functiontest_explicit_context_window_size_is_honored_from_an_llm_config_dict
()
lib/crewai/tests/llms/test_context_window.py:772
Functiontest_explicit_context_window_size_is_honored_when_building_a_native_class
()
lib/crewai/tests/llms/test_context_window.py:504
Functiontest_explicit_context_window_size_is_not_sent_to_the_provider
()
lib/crewai/tests/llms/test_context_window.py:520
Functiontest_explicit_context_window_size_moves_the_deferral_and_compaction_gates
()
lib/crewai/tests/llms/test_context_window.py:645
Functiontest_explicit_context_window_size_survives_an_agent_checkpoint_round_trip
( kwargs: dict[str, object], )
lib/crewai/tests/llms/test_context_window.py:709
Functiontest_explicit_context_window_size_survives_to_config_dict
()
lib/crewai/tests/llms/test_context_window.py:762
Functiontest_explicit_custom_openai_uses_legacy_api_base_env_var
Explicit custom routing supports the legacy endpoint environment variable.
lib/crewai/tests/llms/openai/test_openai.py:134
Functiontest_explicit_data_definition_uses_project_root_for_custom_tools
( data_project, extension )
lib/crewai/tests/project/test_agent_project.py:174
Functiontest_explicit_data_definition_wins_over_default_python
(project)
lib/crewai/tests/project/test_agent_project.py:203
Functiontest_explicit_definition_cannot_escape_project
(data_project, tmp_path)
lib/crewai/tests/project/test_agent_project.py:271
Functiontest_explicit_disable_prevents_first_time_collection
(monkeypatch, disabled)
lib/crewai/tests/telemetry/test_trace_lifecycle.py:310
Functiontest_explicit_doc_id_is_kept
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:153
Functiontest_explicit_embedding_callable_does_not_need_chromadb
(monkeypatch)
lib/crewai/tests/rag/embeddings/test_chromadb_optional_providers.py:130
Methodtest_explicit_flag_without_a_config_still_opts_in
(self)
lib/crewai/tests/test_flow_conversation.py:2327
Functiontest_explicit_headers_are_not_replaced_by_the_environment
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/tools/test_weaviate_tool.py:21
Functiontest_explicit_headers_do_not_require_openai_env
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/tools/test_weaviate_tool.py:32
Methodtest_explicit_key_is_used_unchanged
(self)
lib/crewai/tests/llms/test_missing_api_key.py:426
Methodtest_explicit_kwargs_override_introspection
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:217
Functiontest_explicit_llm_is_used_over_complexity_map
An explicitly provided LLM takes precedence over the complexity map.
lib/crewai-tools/tests/tools/test_vision_tool.py:21
Methodtest_explicit_max_tokens_takes_precedence
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:313
Functiontest_explicit_model_overrides_complexity_map
VisionTool(model="custom") must use "custom", not the complexity map.
lib/crewai-tools/tests/tools/test_vision_tool.py:33
Methodtest_explicit_organization_uses_base_url_from_settings
( self, mock_settings_class )
lib/crewai/tests/cli/test_plus_api.py:429
Functiontest_explicit_path_is_used_as_given
(tmp_path, monkeypatch)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:182
Methodtest_explicit_provider_creates_native_snowflake_provider
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:121
Functiontest_explicit_provider_kwarg_takes_priority
Test that explicit provider kwarg takes priority over model name inference.
lib/crewai/tests/test_llm.py:1227
Methodtest_explicit_public_visibility_still_publishes
(self)
lib/crewai/tests/test_flow_conversation.py:3651
Functiontest_explicit_python_definition_loads_selected_filename
(data_project, filename)
lib/crewai/tests/project/test_agent_project.py:281
Functiontest_explicit_python_filename_supports_relative_imports
(project)
lib/crewai/tests/project/test_agent_project.py:210
Functiontest_explicit_qdrant_embedder_is_wrapped_for_the_qdrant_client
(created_config)
lib/crewai-tools/tests/tools/rag/test_rag_tool_default_provider.py:64
Methodtest_explicit_responses_is_honoured
(self)
lib/crewai/tests/llms/openai/test_responses_only_models.py:177
Methodtest_explicit_result_schema_wins_over_return_annotation
(self)
lib/crewai/tests/tools/test_base_tool.py:534
Methodtest_explicit_setting_is_forwarded_whatever_the_name
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:458
Functiontest_explicit_storage_bypasses_factory
()
lib/crewai/tests/knowledge/test_storage_factory.py:93
Functiontest_explicit_storage_instance_bypasses_factory
()
lib/crewai/tests/memory/test_storage_factory.py:58
Methodtest_explicit_string_wins_over_model_env
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_human_feedback_decorator.py:169
Methodtest_explicit_target_takes_precedence
(self)
lib/crewai/tests/cli/test_plus_api.py:404
Functiontest_explicit_trace_scope_wins_over_legacy_flags
(scope, expected, legacy_defer)
lib/crewai/tests/test_flow_conversation.py:3776
Methodtest_explicit_type
(self)
lib/crewai-tools/tests/rag/test_data_types.py:44
Functiontest_explicit_vectors_config_wins_over_embedder_dimension
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:83
Methodtest_export_evaluation
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:125
← previousnext →13,501–13,600 of 19,482, ranked by callers