MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Functiontest_lockfile_check_that_cannot_resolve_offline_warns_unverified
( tmp_path: Path, )
lib/cli/tests/deploy/test_validate.py:376
Functiontest_lockfile_check_timeout_warns_unverified
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:404
Functiontest_lockfile_is_current_when_only_project_metadata_changed
( tmp_path: Path, )
lib/cli/tests/deploy/test_validate.py:347
Functiontest_log_tasks_outputs_plain_output
(mock_load, runner)
lib/cli/tests/test_cli.py:1017
Functiontest_log_tasks_outputs_shows_result_not_blob
(mock_load, runner)
lib/cli/tests/test_cli.py:972
Methodtest_logging_interceptor_instantiation
Test that logging interceptor can be created with OpenAI LLM.
lib/crewai/tests/llms/hooks/test_openai_interceptor.py:143
Methodtest_logging_interceptor_instantiation
Test that logging interceptor can be created with Anthropic LLM.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:155
Methodtest_logging_interceptor_tracks_details
Test that logging interceptor tracks request/response details.
lib/crewai/tests/llms/hooks/test_openai_interceptor.py:152
Methodtest_logging_interceptor_tracks_details
Test that logging interceptor tracks request/response details.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:164
Functiontest_login
(command, runner)
lib/cli/tests/test_cli.py:670
Methodtest_login
( self, mock_console_print, mock_poll, mock_display, mock_get_device,
lib/cli/tests/authentication/test_auth_main.py:74
Functiontest_login_exits_non_zero_when_the_login_times_out
(mock_post, _open, runner)
lib/cli/tests/test_cli.py:680
Methodtest_login_to_tool_repository
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:139
Methodtest_login_to_tool_repository
(self, mock_make_request)
lib/crewai/tests/cli/test_plus_api.py:25
Methodtest_login_to_tool_repository_error
( self, mock_console_print, mock_tool_command )
lib/cli/tests/authentication/test_auth_main.py:228
Methodtest_login_to_tool_repository_success
( self, mock_console_print, mock_settings, mock_tool_command )
lib/cli/tests/authentication/test_auth_main.py:195
Methodtest_login_to_tool_repository_with_org_uuid
( self, mock_client_class, mock_settings_class )
lib/cli/tests/test_plus_api.py:168
Methodtest_login_to_tool_repository_with_org_uuid
( self, mock_client_class, mock_settings_class )
lib/crewai/tests/cli/test_plus_api.py:66
Methodtest_login_to_tool_repository_with_user_identifier
(self, mock_make_request)
lib/crewai/tests/cli/test_plus_api.py:37
Methodtest_logs_warning_and_returns_empty_when_server_has_no_tools
( self, mock_client_class, resolver, http_config )
lib/crewai/tests/mcp/test_tool_resolver_native.py:33
Methodtest_logs_warning_when_tool_filter_removes_all_tools
( self, mock_client_class, resolver )
lib/crewai/tests/mcp/test_tool_resolver_native.py:59
Methodtest_long_cells_are_cut_and_pipes_escaped
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:269
Methodtest_long_handles_and_descriptions_are_never_cut_when_piped
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str], monke
lib/cli/tests/skills/test_main.py:419
Methodtest_long_text
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:200
Methodtest_loop_detection
(self, mock_create_llm, mock_agent, mock_task, mock_output)
lib/crewai/tests/experimental/evaluation/metrics/test_reasoning_metrics.py:129
Functiontest_losing_amp_while_waiting_counts_as_a_network_error
(project, monkeypatch, usage)
lib/cli/tests/experimental/test_eval_crew.py:2571
Functiontest_machine_id_always_has_fallback
Test that machine ID always generates something even in worst case.
lib/crewai/tests/events/test_tracing_utils_machine_id.py:100
Functiontest_machine_id_consistency
Test that machine ID is consistent across multiple calls.
lib/crewai/tests/events/test_tracing_utils_machine_id.py:92
Functiontest_main_prints_the_report_as_json
(tmp_path, capsys)
lib/crewai/tests/test_jev_evaluation_runner.py:419
Functiontest_main_reports_invalid_input_as_a_usage_error
(tmp_path, capsys)
lib/crewai/tests/test_jev_evaluation_runner.py:427
Methodtest_make_request
(self, mock_client_class)
lib/cli/tests/test_plus_api.py:319
Methodtest_make_request
(self, mock_client_class)
lib/crewai/tests/cli/test_plus_api.py:258
Methodtest_makes_all_required
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:911
Methodtest_malformed_call_aborts_under_raise
(self)
lib/crewai/tests/tools/test_tool_failure.py:1523
Functiontest_malformed_inputs_for_a_json_crew
(project, usage, commands, inputs)
lib/cli/tests/test_run_usage.py:332
Functiontest_malformed_inputs_for_a_python_flow
(project, usage, commands)
lib/cli/tests/test_run_usage.py:342
Methodtest_malformed_json_original_tool_defaults_to_none
(self)
lib/crewai/tests/utilities/test_agent_utils.py:878
Methodtest_malformed_json_preserves_original_tool
(self)
lib/crewai/tests/utilities/test_agent_utils.py:872
Methodtest_malformed_json_returns_error_dict
(self)
lib/crewai/tests/utilities/test_agent_utils.py:862
Methodtest_malformed_json_returns_parse_error
Malformed JSON args must return a descriptive error, not silently become {}.
lib/crewai/tests/agents/test_native_tool_calling.py:1164
Functiontest_malformed_jsonl_raises_with_location
(tmp_path, lines, message)
lib/crewai/tests/test_jev_evaluation_runner.py:370
Functiontest_malformed_live_responses_become_failed_records
(response, error)
lib/crewai/tests/test_jev_evaluation_runner.py:566
Functiontest_malformed_probabilities_fail_without_stopping_collection
(probabilities)
lib/crewai/tests/test_jev_evaluation_runner.py:610
Functiontest_malformed_toml_is_never_written_to
Appending to a file we cannot parse would corrupt it further.
lib/crewai/tests/telemetry/test_project_id.py:181
Functiontest_malformed_toml_is_not_an_error
(tmp_path)
lib/crewai/tests/telemetry/test_project_id.py:141
Functiontest_malformed_zip_bodies_are_refused_without_raising
Zip magic on unreadable bytes fails closed rather than escaping _run.
lib/crewai-tools/tests/url_read_tool_test.py:515
Functiontest_managed_platforms_are_not_reported_as_serverless
Long-lived managed platforms must not claim the serverless label. DYNO and WEBSITE_INSTANCE_ID mark Heroku dynos and Azure App Service instan
lib/crewai/tests/telemetry/test_coding_agent_detection.py:663
Functiontest_manager_agent
(researcher, writer)
lib/crewai/tests/test_crew.py:2829
Functiontest_manager_agent_delegates_with_varied_role_cases
Test that the manager agent can delegate to agents regardless of case or whitespace variations in role names. This test verifies the fix for
lib/crewai/tests/test_crew.py:479
Functiontest_manager_agent_delegating_to_all_agents
Test that the manager agent delegates to all agents when none are specified.
lib/crewai/tests/test_crew.py:446
Functiontest_manager_agent_delegating_to_assigned_task_agent
Test that the manager agent delegates to the assigned task agent.
lib/crewai/tests/test_crew.py:397
Functiontest_manager_agent_in_agents_raises_exception
(researcher, writer)
lib/crewai/tests/test_crew.py:2865
Functiontest_manager_agent_with_tools_raises_exception
(researcher, writer)
lib/crewai/tests/test_crew.py:2888
Methodtest_manager_gets_crew_handler_when_cache_enabled
(self)
lib/crewai/tests/test_tool_cache_default.py:260
Methodtest_manager_has_no_cache_when_crew_did_not_opt_in
(self)
lib/crewai/tests/test_tool_cache_default.py:265
Functiontest_manager_llm_requirement_for_hierarchical_process
(researcher, writer)
lib/crewai/tests/test_crew.py:382
Functiontest_manual_acquire_release
()
lib/crewai/tests/utilities/events/test_rw_lock.py:255
Methodtest_manual_injection_on_plain_agent
inject_a2a_server_methods should work when called manually.
lib/crewai/tests/a2a/utils/test_agent_card.py:63
Functiontest_manual_save_restore_and_fork
(tmp_path, features)
lib/crewai/tests/telemetry/test_checkpoint_telemetry.py:38
Methodtest_mark_completed
Test mark_completed changes status correctly.
lib/crewai/tests/utilities/test_planning_types.py:262
Methodtest_mark_completed_does_nothing_for_missing
Test mark_completed handles missing step gracefully.
lib/crewai/tests/utilities/test_planning_types.py:276
Methodtest_mark_completed_none_does_not_overwrite
(self)
lib/crewai/tests/agents/test_agent_executor.py:3317
Methodtest_mark_completed_preserves_empty_string
(self)
lib/crewai/tests/agents/test_agent_executor.py:3295
Methodtest_mark_completed_with_result
Test mark_completed with result.
lib/crewai/tests/utilities/test_planning_types.py:269
Methodtest_mark_failed_preserves_empty_string
(self)
lib/crewai/tests/agents/test_agent_executor.py:3306
Methodtest_mark_returns_new_dict
(self)
lib/crewai/tests/llms/test_prompt_cache.py:16
Methodtest_mark_running
Test mark_running changes status correctly.
lib/crewai/tests/utilities/test_planning_types.py:252
Methodtest_mark_running_does_nothing_for_missing
Test mark_running handles missing step gracefully.
lib/crewai/tests/utilities/test_planning_types.py:258
Functiontest_markdown_option_in_task_prompt
Test that markdown flag correctly controls the inclusion of markdown formatting instructions.
lib/crewai/tests/test_markdown_task.py:16
Functiontest_markdown_with_code_blocks_is_left_alone
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:860
Functiontest_markdown_with_complex_output_format
Test markdown with JSON output format to ensure compatibility.
lib/crewai/tests/test_markdown_task.py:70
Functiontest_markdown_with_empty_description
Test markdown formatting with empty description.
lib/crewai/tests/test_markdown_task.py:46
Functiontest_marker_tables_still_import_from_utilities_constants
(name: str)
lib/crewai/tests/telemetry/test_detection_reexports.py:52
Methodtest_marks_public_skills_that_may_belong_to_another_organization
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:457
Functiontest_masked_404_does_not_trigger_the_responses_api_fallback
`_is_responses_only_error` keys off OpenAI's wording, not any 404. A gateway 404 inside a 200 must not send the call to /v1/responses.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:406
Methodtest_matches_a_flat_error_body
The SDK populates `body` flat or nested depending on how it parsed.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:148
Functiontest_matches_below_ann_fetch_limit_are_found
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_search_categories.py:42
Functiontest_matches_chromadb_openai_function
Same request and same vectors as chromadb's OpenAI embedding function.
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:167
Methodtest_matches_the_tools_effort_400
(self)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:143
Methodtest_matches_unrecognized_argument
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:217
Methodtest_matches_unsupported_parameter
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:212
Functiontest_matching_label_indices_keeps_original_positions
()
lib/cli/tests/test_tui_picker.py:198
Methodtest_matching_names
(self, tmp_path: Path)
lib/crewai/tests/skills/test_validation.py:84
Functiontest_matching_role_gets_the_overlay_model_others_keep_their_own
()
lib/crewai/tests/test_llm_overlay.py:65
Methodtest_max_distance_filters_far_results
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:434
Methodtest_max_files_limit
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:71
Functiontest_max_iterations_answer_is_admitted_by_the_rpm_limiter
( replies: tuple[Any, ...], admitted: int )
lib/crewai/tests/agents/test_empty_llm_response_retry.py:244
Functiontest_max_iterations_answer_is_retried_once
()
lib/crewai/tests/agents/test_empty_llm_response_retry.py:263
Functiontest_max_iterations_empty_twice_raises_typed_error
()
lib/crewai/tests/agents/test_empty_llm_response_retry.py:274
Functiontest_max_iterations_request_ends_on_a_user_turn
Claude 4.6+ rejects a request whose last message is an assistant turn (no prefill). Regression for the max_iter path: the forced final-answer ins
lib/crewai/tests/llms/anthropic/test_anthropic.py:2207
Methodtest_max_length
(self)
lib/crewai/tests/skills/test_validation.py:37
Functiontest_max_usage_count_is_respected
()
lib/crewai/tests/tools/test_base_tool.py:211
Methodtest_max_usage_count_limit_enforced_in_native_tool_calling
Test that when max_usage_count is reached, tool returns error message.
lib/crewai/tests/agents/test_native_tool_calling.py:1053
Methodtest_max_usage_count_tracked_in_native_tool_calling
Test that max_usage_count is properly tracked when using native tool calling.
lib/crewai/tests/agents/test_native_tool_calling.py:1023
Methodtest_max_usage_reached_without_original_tool
(self)
lib/crewai/tests/agents/test_agent_executor.py:2511
Methodtest_mcp_failures_do_print
(self)
lib/crewai/tests/tools/test_tool_failure.py:524
Functiontest_mcp_request_builds_correct_url
Test that MCP request builds correct URL.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:341
Functiontest_mcp_request_error
Test MCP request with error response.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:157
Functiontest_mcp_request_http_error
Test MCP request with HTTP error.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:183
Functiontest_mcp_request_includes_correct_headers
Test that MCP request includes correct headers.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:368
← previousnext →15,701–15,800 of 19,663, ranked by callers