MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Functiontest_task_output_import
Test that TaskOutput can be imported from crewai.
lib/crewai/tests/test_imports.py:10
Functiontest_task_output_includes_messages
Test that TaskOutput includes messages from agent execution.
lib/crewai/tests/test_task.py:1905
Functiontest_task_output_str_with_json_dict
()
lib/crewai/tests/test_task.py:1083
Functiontest_task_output_str_with_none
()
lib/crewai/tests/test_task.py:1131
Functiontest_task_output_str_with_pydantic
()
lib/crewai/tests/test_task.py:1066
Functiontest_task_output_str_with_pydantic_and_json_dict
()
lib/crewai/tests/test_task.py:1111
Functiontest_task_output_str_with_raw
()
lib/crewai/tests/test_task.py:1097
Methodtest_task_overrides_agent
(self)
lib/crewai/tests/tools/test_tool_failure.py:187
Methodtest_task_parent_is_crew
Task events should have crew event as parent.
lib/crewai/tests/events/test_event_ordering.py:173
Methodtest_task_policy_overrides_agent_end_to_end
(self)
lib/crewai/tests/tools/test_tool_failure.py:392
Functiontest_task_prompt_includes_expected_output
()
lib/crewai/tests/test_task.py:79
Methodtest_task_references_unknown_agent_raises
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:847
Functiontest_task_refits_final_answer_that_does_not_fit_output_json
( use_async: bool, )
lib/crewai/tests/utilities/test_converter.py:1209
Functiontest_task_refits_final_answer_that_does_not_fit_output_pydantic
( use_async: bool, )
lib/crewai/tests/utilities/test_converter.py:1181
Functiontest_task_same_callback_both_on_task_and_crew
()
lib/crewai/tests/test_crew.py:2168
Functiontest_task_spans_record_the_crewai_version
Task Created and Task Execution are the highest-volume span kinds. They are emitted together by task_started, and both were missing the versi
lib/crewai/tests/telemetry/test_telemetry.py:557
Functiontest_task_tool_reflect_agent_tools
()
lib/crewai/tests/test_task.py:26
Functiontest_task_tool_takes_precedence_over_agent_tools
()
lib/crewai/tests/test_task.py:50
Functiontest_task_tools_override_agent_tools
(researcher)
lib/crewai/tests/test_crew.py:684
Functiontest_task_tools_override_agent_tools_with_allow_delegation
Test that task tools override agent tools while preserving delegation tools when allow_delegation=True
lib/crewai/tests/test_crew.py:730
Functiontest_task_tools_preserve_code_execution_tools
Test that task tools don't override code execution tools when allow_code_execution=True
lib/crewai/tests/test_crew.py:4424
Functiontest_task_with_deterministic_fingerprint
Test using deterministic fingerprints with tasks.
lib/crewai/tests/security/test_deterministic_fingerprints.py:66
Functiontest_task_with_failing_guardrail
Test that failing guardrail triggers retry with error context.
lib/crewai/tests/test_task_guardrails.py:71
Functiontest_task_with_guardrail_retries
Test that guardrail respects max_retries configuration.
lib/crewai/tests/test_task_guardrails.py:98
Functiontest_task_with_max_execution_time
()
lib/crewai/tests/test_task.py:1750
Functiontest_task_with_max_execution_time_exceeded
(monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_task.py:1784
Functiontest_task_with_no_arguments
()
lib/crewai/tests/test_crew.py:1669
Functiontest_task_with_no_max_execution_time
()
lib/crewai/tests/test_task.py:1728
Functiontest_task_with_security_config
Test creating a Task with a SecurityConfig.
lib/crewai/tests/security/test_integration.py:72
Functiontest_task_with_successful_guardrail_func
Test that successful guardrail validation passes transformed result.
lib/crewai/tests/test_task_guardrails.py:50
Functiontest_task_without_allow_crewai_trigger_context
()
lib/crewai/tests/agents/test_agent.py:985
Functiontest_task_without_guardrail
Test that tasks work normally without guardrails (backward compatibility).
lib/crewai/tests/test_task_guardrails.py:35
Methodtest_tasks_have_correct_crew_parents
Tasks in different crews should have their own crew as parent.
lib/crewai/tests/events/test_event_ordering.py:463
Functiontest_telemetry_disable_after_singleton_creation
Test that telemetry operations are disabled when env var is set after singleton creation.
lib/crewai/tests/telemetry/test_telemetry_disable.py:62
Functiontest_telemetry_disable_with_multiple_instances
Test that multiple telemetry instances respect dynamically changed env vars.
lib/crewai/tests/telemetry/test_telemetry_disable.py:82
Functiontest_telemetry_enabled_by_default
Test that telemetry is enabled by default.
lib/crewai/tests/telemetry/test_telemetry_disable.py:53
Functiontest_telemetry_enabled_by_default
Test that telemetry is enabled by default.
lib/crewai/tests/telemetry/test_telemetry.py:63
Functiontest_telemetry_environment_variables
Test telemetry state with different environment variable configurations.
lib/crewai/tests/telemetry/test_telemetry_disable.py:39
Functiontest_telemetry_environment_variables
Test telemetry state with different environment variable configurations.
lib/crewai/tests/telemetry/test_telemetry.py:48
Functiontest_telemetry_fails_due_connect_timeout
(export_mock, logger_mock)
lib/crewai/tests/telemetry/test_telemetry.py:155
Functiontest_telemetry_failure_does_not_block_command
(failure)
lib/cli/tests/test_checkpoint_telemetry.py:56
Functiontest_telemetry_is_off_in_every_test
(leaked_value: str | None)
lib/crewai/tests/test_test_environment.py:14
Functiontest_telemetry_never_breaks_the_command
(project, monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:1238
Functiontest_telemetry_otel_sdk_disabled_after_creation
Test that OTEL_SDK_DISABLED also works when set after singleton creation.
lib/crewai/tests/telemetry/test_telemetry_disable.py:101
Functiontest_telemetry_pipeline_is_silent_when_collector_rejects
( live_telemetry: Telemetry, caplog: pytest.LogCaptureFixture )
lib/crewai-core/tests/test_telemetry_export_logs.py:133
Functiontest_telemetry_singleton_pattern
Test that Telemetry uses the singleton pattern correctly.
lib/crewai/tests/telemetry/test_telemetry.py:189
Functiontest_template_add_command
(mock_cls, runner)
lib/crewai/tests/cli/remote_template/test_main.py:52
Functiontest_template_add_is_deprecated_and_still_works
(mock_template_command_cls, runner)
lib/cli/tests/test_create_unified.py:132
Functiontest_template_add_with_output_dir
(mock_cls, runner)
lib/crewai/tests/cli/remote_template/test_main.py:64
Functiontest_template_list_command
(mock_cls, runner)
lib/crewai/tests/cli/remote_template/test_main.py:40
Functiontest_templated_role_matches_once_its_inputs_are_interpolated
The template is not a key at construction; the interpolated role is.
lib/crewai/tests/test_llm_overlay.py:187
Functiontest_temporal_serialization
(input_date, expected)
lib/crewai/tests/utilities/test_serialization.py:61
Functiontest_terminal_bound_assistants_outrank_cursor
CURSOR_* is set for every integrated terminal. Checking Cursor first would report cursor for anything spawned inside it, the same trap Codex
lib/crewai/tests/telemetry/test_coding_agent_detection.py:261
Functiontest_terminal_consent_explicitly_requests_sharing
(collector, approved)
lib/crewai/tests/telemetry/test_session_trace_export.py:671
Methodtest_terminal_resume_with_emit_returns_method_output
Terminal resumed emit methods return the original method output.
lib/crewai/tests/test_async_human_feedback.py:785
Methodtest_terminal_resume_without_emit_returns_feedback_result
Terminal resumed non-emit methods return the full feedback result.
lib/crewai/tests/test_async_human_feedback.py:694
Functiontest_test_crew_called_process_error
(mock_subprocess_run, click)
lib/cli/tests/test_crew_test.py:55
Functiontest_test_crew_negative_iterations
(click)
lib/cli/tests/test_crew_test.py:45
Functiontest_test_crew_unexpected_exception
(mock_subprocess_run, click)
lib/cli/tests/test_crew_test.py:85
Functiontest_test_crew_zero_iterations
(click)
lib/cli/tests/test_crew_test.py:36
Functiontest_test_custom_iterations
(evaluate_crew, runner)
lib/cli/tests/test_cli.py:132
Functiontest_test_custom_iterations_snake_case_alias
(evaluate_crew, runner)
lib/cli/tests/test_cli.py:141
Functiontest_test_default_iterations
(evaluate_crew, runner)
lib/cli/tests/test_cli.py:123
Functiontest_test_help_hides_legacy_flag_aliases
(runner)
lib/cli/tests/test_cli.py:173
Functiontest_test_invalid_string_iterations
(evaluate_crew, runner)
lib/cli/tests/test_cli.py:154
Methodtest_text2vec_provider_accepts_model_key
Test Text2Vec provider accepts 'model' as alias for 'model_name'.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:148
Functiontest_text_answer_is_kept_when_the_schema_request_gives_no_instance
( structured_reply: str | Exception, )
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:262
Functiontest_text_around_a_url_never_fails_a_task
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:966
Functiontest_text_around_a_url_never_fails_the_run
(downloads, text)
lib/crewai/tests/agents/test_agent_spreadsheets.py:957
Functiontest_text_bytes
Load test text bytes.
lib/crewai/tests/llms/test_multimodal_integration.py:39
Methodtest_text_cleaning_and_title_handling
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:67
Methodtest_text_cleaning_and_title_handling
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:67
Methodtest_text_dates_become_dates_when_nine_in_ten_parse
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:538
Methodtest_text_file
Test agent can process a text file.
lib/crewai/tests/test_agent_multimodal.py:280
Methodtest_text_file
Test crew can process a text file.
lib/crewai/tests/test_crew_multimodal.py:243
Methodtest_text_file_not_found_raises_error
Test that non-existent text file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:301
Methodtest_text_file_read_text
Test TextFile.read_text method.
lib/crewai/tests/utilities/test_files.py:208
Methodtest_text_file_string
Test data_type='text_file' with existing text file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:123
Methodtest_text_gemini
Test text file with Gemini.
lib/crewai/tests/test_agent_multimodal.py:385
Methodtest_text_gemini
Test text file with Gemini.
lib/crewai/tests/test_crew_multimodal.py:353
Methodtest_text_loop_is_forced_to_answer_async
(self)
lib/crewai/tests/tools/test_tool_failure.py:2098
Methodtest_text_loop_is_warned_then_forced_to_answer
(self)
lib/crewai/tests/tools/test_tool_failure.py:2084
Methodtest_text_output_parses_a_json_string_response
(self)
lib/crewai/tests/test_human_feedback_decorator.py:975
Functiontest_text_request_after_tool_calls_declares_the_used_tools
The max-iterations final answer is the same request shape without a schema.
lib/crewai/tests/llms/anthropic/test_anthropic.py:2348
Methodtest_text_rereading_a_source_does_not_stop_the_agent
Standalone, so no task format reminder makes the repeated results differ.
lib/crewai/tests/tools/test_tool_failure.py:2164
Methodtest_text_rereading_a_source_is_not_counted
(self, features: list[str])
lib/crewai/tests/tools/test_tool_failure.py:2519
Methodtest_text_step_loop_keeps_its_result
With a task, ToolUsage appends a format reminder every few results.
lib/crewai/tests/tools/test_tool_failure.py:2265
Methodtest_text_step_preserves_tool_result_when_final_answer_is_empty
The planner should receive evidence from a successful text tool call.
lib/crewai/tests/agents/test_agent_executor.py:935
Methodtest_text_string
Test data_type='text' with raw text content.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:175
Functiontest_the_agent_text_travels_under_the_standard_keys_only
The prompt and the answer leave under the two keys the ``call llm`` span already uses for its messages, and under no other. Whatever rule an e
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:236
Functiontest_the_app_files_its_evaluation_under_the_project_too
The run app's door reads the id without minting one: it runs inside a crew's process, where rewriting pyproject.toml is not its business.
lib/cli/tests/experimental/test_eval_crew.py:1645
Functiontest_the_app_it_opens_is_told_an_evaluation_is_waiting
With nothing traced, the command runs the crew — and the app it opens is told to evaluate what it ran, so nobody quits a screen to reach it.
lib/cli/tests/experimental/test_eval_crew.py:1342
Functiontest_the_app_never_trusts_an_amp_the_project_env_introduced
`crewai eval` reads CREWAI_PLUS_URL before the project's `.env` is loaded, so a shell export is trusted there and a project cannot slip one in
lib/cli/tests/experimental/test_eval_crew.py:449
Functiontest_the_app_opens_the_report_unless_crewai_eval_said_no_open
`crewai eval --no-open` with nothing traced: the app that runs the crew and evaluates it leaves the browser alone, in this process or in a child
lib/cli/tests/test_crew_run_tui.py:283
Functiontest_the_app_saying_it_had_nothing_to_grade_is_not_a_run_to_grade
An app that looked and found no trace has answered; the command says so once — the screen that showed it is gone — and grades nothing.
lib/cli/tests/experimental/test_eval_crew.py:1415
Functiontest_the_app_says_where_the_trace_goes_only_when_its_evaluation_turned_tracing_on
Said once, plainly, the time the yes is inferred and tracing turned on for the project; after that the project traces and nothing more is said.
lib/cli/tests/test_crew_run_tui.py:530
Functiontest_the_app_suppresses_messages_and_still_needs_no_modal
This app silences crewAI's console to keep it out of its own layout. That is a reason a PROMPT cannot be shown, not a reason to ask again — the ap
lib/cli/tests/test_trace_consent_session.py:99
Functiontest_the_async_path_agrees_with_the_sync_one
`kickoff_async` shares `_prepare_kickoff`; assert it, don't assume it. Driven with ``asyncio.run`` rather than an async test: ``kickoff`` takes a
lib/crewai/tests/agents/test_agent_kickoff_content_parts.py:65
Methodtest_the_async_path_learns_it_too
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:369
Functiontest_the_boolean_convention_is_not_reported_as_a_provider_failure
()
lib/crewai/tests/hooks/test_hook_abort_propagation.py:504
← previousnext →18,301–18,400 of 19,482, ranked by callers