MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Functiontest_every_model_the_wizard_lists_gets_the_extras_crewai_needs_to_run_it
()
lib/cli/tests/test_constants.py:360
Methodtest_every_op
(self, column, op, values, expected)
lib/crewai-files/tests/spreadsheets/test_answers.py:346
Methodtest_every_pin_on_one_line_is_bumped
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:539
Functiontest_every_provider_create_offers_is_mapped_or_needs_no_extra
A provider added to either picker has to be checked against crewai's routing: openai, ollama and cerebras run on `crewai[tools]` alone.
lib/cli/tests/test_constants.py:193
Functiontest_every_provider_extra_is_a_crewai_extra
A name crewai does not publish makes `uv sync` warn and install nothing.
lib/cli/tests/test_constants.py:186
Methodtest_every_reason_is_actually_produced
Guard against another declared-but-unused reason.
lib/crewai/tests/tools/test_tool_failure.py:1559
Functiontest_every_span_records_the_crewai_version
Regression guard for span kinds added later, in BOTH emitters. Enumerating the source rather than emitting all 32 spans: the point is to fail
lib/crewai/tests/telemetry/test_telemetry.py:606
Functiontest_every_text_block_reaches_the_agent
All text blocks are kept, in order, not just the first one.
lib/crewai/tests/mcp/test_tool_result_content.py:81
Functiontest_every_upstream_code_maps_to_its_sdk_exception
A masked failure must be catchable exactly like the honest one.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:500
Methodtest_every_use_is_collected
Activation is idempotent; usage is not. One event per use.
lib/crewai/tests/tracing/test_skill_used_tracing.py:86
Methodtest_every_way_a_spreadsheet_arrives
(self, file)
lib/crewai-files/tests/spreadsheets/test_loading.py:47
Functiontest_everything_from_the_wire_prints_literally
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2094
Functiontest_exa_search_tool_highlights_uses_search_and_contents
()
lib/crewai-tools/tests/tools/exa_search_tool_test.py:91
Functiontest_exa_search_tool_initialization
()
lib/crewai-tools/tests/tools/exa_search_tool_test.py:19
Functiontest_exa_search_tool_initialization_with_base_url
()
lib/crewai-tools/tests/tools/exa_search_tool_test.py:44
Functiontest_exa_search_tool_initialization_with_env
(mock_exa_api_key)
lib/crewai-tools/tests/tools/exa_search_tool_test.py:35
Functiontest_exa_search_tool_initialization_with_env_base_url
( mock_exa_api_key, mock_exa_base_url )
lib/crewai-tools/tests/tools/exa_search_tool_test.py:68
Functiontest_exa_search_tool_initialization_without_base_url
()
lib/crewai-tools/tests/tools/exa_search_tool_test.py:78
Functiontest_exact_answers_over_two_hundred_thousand_rows
Counts and totals come from every row, not a sample.
lib/crewai-files/tests/spreadsheets/test_reading.py:594
Functiontest_exact_body_limit_and_oversized_span_preserve_fitting_neighbors
( destination, caplog, extra_bytes )
lib/crewai/tests/telemetry/test_grant_export_bounds.py:100
Methodtest_exact_match
Test exact match returns the correct outcome.
lib/crewai/tests/test_human_feedback_decorator.py:465
Functiontest_example_dataset_report
(tmp_path)
lib/crewai/tests/test_jev_evaluation_runner.py:146
Methodtest_examples
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:786
Functiontest_exasearchtool_alias_is_deprecated
()
lib/crewai-tools/tests/tools/exa_search_tool_test.py:109
Methodtest_exceeded_routes_to_force_final_answer
(self)
lib/crewai/tests/agents/test_agent_executor.py:2452
Functiontest_excel_knowledge_source
Test ExcelKnowledgeSource with a simple Excel file.
lib/crewai/tests/knowledge/test_knowledge.py:482
Methodtest_exception_failures_do_not_double_print
ToolUsageErrorEvent already prints; the failure panel must not repeat it.
lib/crewai/tests/tools/test_tool_failure.py:515
Methodtest_exception_handling_triggered_by
Events emitted after exception should still have correct triggered_by.
lib/crewai/tests/events/test_event_ordering.py:1186
Methodtest_exception_is_catchable
Test that exception can be caught and handled.
lib/crewai/tests/test_async_human_feedback.py:208
Methodtest_exception_with_callback_info
Test pending exception with callback information.
lib/crewai/tests/test_async_human_feedback.py:170
Methodtest_exception_with_custom_message
Test pending exception with custom message.
lib/crewai/tests/test_async_human_feedback.py:191
Functiontest_exclude_keys
()
lib/crewai/tests/utilities/test_serialization.py:194
Functiontest_execute_agent_span_carries_the_exact_prompt_and_answer
(pipeline)
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:224
Functiontest_execute_command_exits_1_when_uv_cannot_start
( _subprocess_run: mock.Mock, record_run_stopped: mock.Mock, capsys: pytest.CaptureFixture[str], )
lib/crewai/tests/cli/test_run_crew.py:114
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:175
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:3057
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:631
Functiontest_explicit_context_window_size_is_honored_by_every_provider
( kwargs: dict[str, object], )
lib/crewai/tests/llms/test_context_window.py:495
Functiontest_explicit_context_window_size_is_honored_from_an_llm_config_dict
()
lib/crewai/tests/llms/test_context_window.py:774
Functiontest_explicit_context_window_size_is_honored_when_building_a_native_class
()
lib/crewai/tests/llms/test_context_window.py:506
Functiontest_explicit_context_window_size_is_not_sent_to_the_provider
()
lib/crewai/tests/llms/test_context_window.py:522
Functiontest_explicit_context_window_size_moves_the_deferral_and_compaction_gates
()
lib/crewai/tests/llms/test_context_window.py:647
Functiontest_explicit_context_window_size_survives_an_agent_checkpoint_round_trip
( kwargs: dict[str, object], )
lib/crewai/tests/llms/test_context_window.py:711
Functiontest_explicit_context_window_size_survives_to_config_dict
()
lib/crewai/tests/llms/test_context_window.py:764
← previousnext →13,601–13,700 of 19,735, ranked by callers