MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,484 in github.com/crewAIInc/crewAI

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_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
Functiontest_mcp_request_success
Test successful MCP request.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:134
Functiontest_mcp_tool_execution_in_async_context
Test MCPNativeTool execution in async context (e.g., from a Flow).
lib/crewai/tests/mcp/test_mcp_config.py:163
Functiontest_mcp_tool_execution_in_sync_context
Test MCPNativeTool execution in synchronous context (normal crew execution).
lib/crewai/tests/mcp/test_mcp_config.py:137
Methodtest_mdx_file_not_found_raises_error
Test that non-existent MDX file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:326
Methodtest_mdx_multiple_imports_exports
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:62
Functiontest_mdx_search_tool
()
lib/crewai-tools/tests/tools/test_search_tools.py:155
Methodtest_mdx_string
Test data_type='mdx' with existing MDX file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:165
Methodtest_mdx_url_fetch_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_mdx_loader.py:165
Methodtest_medium_effort_marks_failed_step_as_failed
(self)
lib/crewai/tests/agents/test_agent_executor.py:3254
Methodtest_members_whose_names_differ_only_in_case_are_refused
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:754
Functiontest_membership_filters_probe_array_elements
(operator)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1453
Functiontest_memoization_is_per_instance
()
lib/crewai/tests/test_project.py:186
Functiontest_memoized_agent_is_not_returned_to_a_later_instance
()
lib/crewai/tests/test_project.py:164
Functiontest_memoized_async_agent_is_not_returned_to_a_later_instance
()
lib/crewai/tests/test_project.py:176
Functiontest_memory_analysis_llm_is_isolated_from_streaming_agent_llm
Memory analysis should not share a mutable streaming LLM with the agent UI.
lib/crewai/tests/memory/test_unified_memory.py:22
Functiontest_memory_analysis_surfaces_a_deny_instead_of_a_safe_default
( denied_helper, denying_llm, denied_calls )
lib/crewai/tests/hooks/test_hook_abort_propagation.py:141
Methodtest_memory_azure_config
Test Azure config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:282
Methodtest_memory_cohere_config
Test Cohere config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:305
Functiontest_memory_config
()
lib/crewai/tests/memory/test_unified_memory.py:136
Functiontest_memory_enabled_creates_unified_memory
With unified memory, memory=True creates _memory and kickoff runs.
lib/crewai/tests/test_crew.py:2617
Functiontest_memory_events_are_emitted
()
lib/crewai/tests/test_crew.py:2498
Functiontest_memory_extract_memories_empty_content_returns_empty_list
Memory.extract_memories() with empty/whitespace content returns [] without calling LLM.
lib/crewai/tests/memory/test_unified_memory.py:589
Functiontest_memory_extract_memories_returns_list_from_llm
Memory.extract_memories() delegates to LLM and returns list of strings.
lib/crewai/tests/memory/test_unified_memory.py:566
Functiontest_memory_forget
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:342
Methodtest_memory_google_generativeai_config
Test Google Generative AI config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:296
Functiontest_memory_kind_inference_preserves_input
Inferring a legacy config's discriminator must not mutate that config.
lib/crewai/tests/memory/test_unified_memory.py:396
Functiontest_memory_list_scopes_info_tree
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:408
← previousnext →15,601–15,700 of 19,484, ranked by callers