MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

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
Functiontest_memory_match
()
lib/crewai/tests/memory/test_unified_memory.py:87
Functiontest_memory_match_embedding_excluded_from_serialization
MemoryMatch serialization should not leak embedding vectors.
lib/crewai/tests/memory/test_unified_memory.py:117
Methodtest_memory_openai_config
Test OpenAI config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:264
Methodtest_memory_openai_config_with_options
Test OpenAI config with all options from memory.mdx.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:271
Functiontest_memory_recall_and_save_get_text_not_a_repr
Both memory paths flattened the same way and stored the repr.
lib/crewai/tests/agents/test_agent_kickoff_content_parts.py:115
Functiontest_memory_record_defaults
()
lib/crewai/tests/memory/test_unified_memory.py:76
Functiontest_memory_record_embedding_excluded_from_serialization
Embedding vectors should not appear in serialized output to save tokens.
lib/crewai/tests/memory/test_unified_memory.py:95
Functiontest_memory_remember_and_recall_with_default_embedder
( tmp_path: Path, openai_mock )
lib/crewai/tests/memory/test_default_embedder.py:42
Functiontest_memory_remember_called_after_task
With memory=True, extract_memories is called with raw content and remember is called per extracted item.
lib/crewai/tests/test_crew.py:2644
Functiontest_memory_remember_recall_shallow
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:319
Functiontest_memory_remember_receives_task_content
With memory=True, extract_memories receives raw content with task, agent, expected output, and result.
lib/crewai/tests/test_crew.py:5467
Functiontest_memory_reset_all_rebuilds_reopened_store_with_new_dimension
( lancedb_path: Path, )
lib/crewai/tests/memory/test_dimension_mismatch.py:101
Functiontest_memory_root_scope_confines_crafted_explicit_scope
( storage: LanceDBStorage, )
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:136
Methodtest_memory_root_scope_per_call_override
Per-call root_scope overrides instance-level root_scope.
lib/crewai/tests/memory/test_memory_root_scope.py:209
Methodtest_memory_root_scope_with_llm_inferred_scope
When root_scope is set and scope is inferred by LLM, they combine.
lib/crewai/tests/memory/test_memory_root_scope.py:180
Functiontest_memory_save_completion_updates_timed_out_row
()
lib/cli/tests/test_crew_run_tui.py:1167
Functiontest_memory_save_completion_with_unmatched_id_does_not_update_running_row
()
lib/cli/tests/test_crew_run_tui.py:1202
Functiontest_memory_save_completion_without_id_does_not_update_stale_row
()
lib/cli/tests/test_crew_run_tui.py:1294
Functiontest_memory_save_events_are_shown_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1061
Functiontest_memory_save_failure_is_shown_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1139
Functiontest_memory_save_failure_with_unmatched_id_does_not_update_running_row
()
lib/cli/tests/test_crew_run_tui.py:1247
Functiontest_memory_save_failure_without_id_does_not_update_stale_row
()
lib/cli/tests/test_crew_run_tui.py:1344
Functiontest_memory_save_payloads_are_truncated_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1393
Functiontest_memory_scope_config_can_be_reused
Constructing a scope must not remove the memory from caller-owned config.
lib/crewai/tests/memory/test_unified_memory.py:364
Functiontest_memory_scope_extract_memories_delegates
MemoryScope.extract_memories delegates to underlying Memory.
lib/crewai/tests/memory/test_unified_memory.py:660
Functiontest_memory_scope_remember_recall
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:424
Methodtest_memory_scope_remembers_within_root_scope
MemoryScope with underlying Memory that has root_scope works correctly.
lib/crewai/tests/memory/test_memory_root_scope.py:809
Functiontest_memory_scope_slice
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:353
Functiontest_memory_slice_config_can_be_reused_without_normalizing_it_in_place
Constructing a slice must preserve caller-owned dependencies and paths.
lib/crewai/tests/memory/test_unified_memory.py:379
Functiontest_memory_slice_extract_memories_delegates
MemorySlice.extract_memories delegates to underlying Memory.
lib/crewai/tests/memory/test_unified_memory.py:672
Functiontest_memory_slice_recall
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:437
Functiontest_memory_slice_remember_is_noop_when_read_only
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:448
Functiontest_memory_string_storage_qdrant_edge
Test that storage='qdrant-edge' string instantiation works.
lib/crewai/tests/memory/test_qdrant_edge_storage.py:319
Functiontest_memory_with_qdrant_edge
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:294
Methodtest_memory_with_root_scope_prepends_to_explicit_scope
When root_scope is set and explicit scope is provided, they combine.
lib/crewai/tests/memory/test_memory_root_scope.py:135
Functiontest_memory_without_an_llm_analyses_with_gpt_6_luna
The default analysis model runs on OpenAI's chat completions, which the memory flows' structured calls use.
lib/crewai/tests/memory/test_unified_memory.py:57
Methodtest_memory_without_root_scope_uses_explicit_scope_directly
When root_scope is None, explicit scope is used as-is (backward compat).
lib/crewai/tests/memory/test_memory_root_scope.py:158
Methodtest_memory_without_root_scope_works_normally
Memory without root_scope behaves exactly as before.
lib/crewai/tests/memory/test_memory_root_scope.py:671
Methodtest_merge_file_and_input_data
(self)
lib/cli/tests/test_config.py:49
Methodtest_merge_file_and_input_data
(self)
lib/crewai/tests/cli/test_config.py:46
Methodtest_merges_session_and_user_message
(self)
lib/crewai/tests/test_flow_conversation.py:78
Functiontest_message
Create a simple test message.
lib/crewai/tests/a2a/test_a2a_integration.py:28
Methodtest_message_does_not_offer_keyless_auth
azure-identity cannot authenticate the OpenAI delegate, so do not suggest it.
lib/crewai/tests/llms/test_missing_api_key.py:304
Functiontest_message_names_the_host_but_never_url_credentials
The message reaches logs and the model context, so it carries only the host. Some gateways accept credentials in the URL; the guard reports `
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:517
Methodtest_messages_are_mutable_reference
Test that modifying context.messages modifies executor.messages.
lib/crewai/tests/hooks/test_llm_hooks.py:77
Methodtest_messages_without_tool_calls_pass_through
(self, message)
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:160
Functiontest_metadata
Retain notebook versions, language, kernel, and counts for each cell type.
lib/crewai-tools/tests/rag/test_notebook_loader.py:75
Methodtest_metadata_accepts_other_keys
(self)
lib/crewai/tests/skills/test_models_version.py:26
Functiontest_metadata_filter
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:132
Functiontest_metadata_filter_handling
Test metadata filter parameter handling.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:163
Functiontest_metadata_filter_with_categories_still_applies
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_search_categories.py:74
Methodtest_metadata_included_in_result
Test that metadata is passed through to HumanFeedbackResult.
lib/crewai/tests/test_human_feedback_integration.py:648
Methodtest_metadata_level
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:257
Methodtest_metadata_passed_to_documents
Test that metadata is properly passed to documents.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:456
Methodtest_metadata_skill_emits_only_after_runtime_selection
( self, tmp_path: Path )
lib/crewai/tests/events/test_skill_usage_events.py:50
Methodtest_metadata_structure
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:132
Methodtest_method
(self)
lib/crewai/tests/test_human_feedback_decorator.py:44
Methodtest_method
(self)
lib/crewai/tests/test_human_feedback_decorator.py:754
Methodtest_method_description_reaches_the_router_catalog
(self)
lib/crewai/tests/test_flow_conversation.py:3325
Functiontest_method_execution_paused_is_collected_whole
(listener)
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:115
Methodtest_method_execution_suppressed_when_flow_events_suppressed
``suppress_flow_events=True`` silences MethodExecution events so infrastructure flows (AgentExecutor, memory) don't emit one trace span
lib/crewai/tests/test_flow_conversation.py:1845
Functiontest_method_level_persist_decorator_saves_only_that_method
()
lib/crewai/tests/test_flow_from_definition.py:3930
Functiontest_method_level_persist_disabled_wins_over_flow_level
()
lib/crewai/tests/test_flow_from_definition.py:3884
Functiontest_method_level_persist_from_declaration_saves_only_that_method
()
lib/crewai/tests/test_flow_from_definition.py:3874
Methodtest_method_outputs_contains_real_output
The _method_outputs list should contain the real method output, not the collapsed outcome.
lib/crewai/tests/test_human_feedback_decorator.py:1260
Methodtest_method_parent_is_flow
Method execution events should have flow as parent.
lib/crewai/tests/events/test_event_ordering.py:292
Functiontest_method_paused_marks_step_paused
()
lib/cli/tests/test_crew_run_tui.py:2342
Functiontest_method_persist_backend_overrides_flow_level_backend_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3949
Functiontest_method_persist_decorator_overrides_class_level_backend
()
lib/crewai/tests/test_flow_from_definition.py:3980
Methodtest_method_signature_detected
Test that methods with 'self' parameter are detected.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:576
Functiontest_migrate_pyproject_backs_up_lock_file
The migration renames ``poetry.lock`` to ``poetry-old.lock`` and backs up pyproject.
lib/cli/tests/test_update_crew.py:32
Functiontest_migrate_pyproject_overwrites_existing_lock_backup
A second ``crewai update`` must replace a stale ``poetry-old.lock``. ``os.rename`` refuses to overwrite an existing destination on Windows (`
lib/cli/tests/test_update_crew.py:48
Methodtest_min_max
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:728
← previousnext →15,801–15,900 of 19,663, ranked by callers