Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
Function
test_mcp_request_success
Test successful MCP request.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:134
Function
test_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
Function
test_mcp_tool_execution_in_sync_context
Test MCPNativeTool execution in synchronous context (normal crew execution).
lib/crewai/tests/mcp/test_mcp_config.py:137
Method
test_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
Method
test_mdx_multiple_imports_exports
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:62
Function
test_mdx_search_tool
()
lib/crewai-tools/tests/tools/test_search_tools.py:155
Method
test_mdx_string
Test data_type='mdx' with existing MDX file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:165
Method
test_mdx_url_fetch_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_mdx_loader.py:165
Method
test_medium_effort_marks_failed_step_as_failed
(self)
lib/crewai/tests/agents/test_agent_executor.py:3254
Method
test_members_whose_names_differ_only_in_case_are_refused
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:754
Function
test_membership_filters_probe_array_elements
(operator)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1453
Function
test_memoization_is_per_instance
()
lib/crewai/tests/test_project.py:186
Function
test_memoized_agent_is_not_returned_to_a_later_instance
()
lib/crewai/tests/test_project.py:164
Function
test_memoized_async_agent_is_not_returned_to_a_later_instance
()
lib/crewai/tests/test_project.py:176
Function
test_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
Function
test_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
Method
test_memory_azure_config
Test Azure config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:282
Method
test_memory_cohere_config
Test Cohere config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:305
Function
test_memory_config
()
lib/crewai/tests/memory/test_unified_memory.py:136
Function
test_memory_enabled_creates_unified_memory
With unified memory, memory=True creates _memory and kickoff runs.
lib/crewai/tests/test_crew.py:2617
Function
test_memory_events_are_emitted
()
lib/crewai/tests/test_crew.py:2498
Function
test_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
Function
test_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
Function
test_memory_forget
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:342
Method
test_memory_google_generativeai_config
Test Google Generative AI config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:296
Function
test_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
Function
test_memory_list_scopes_info_tree
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:408
Function
test_memory_match
()
lib/crewai/tests/memory/test_unified_memory.py:87
Function
test_memory_match_embedding_excluded_from_serialization
MemoryMatch serialization should not leak embedding vectors.
lib/crewai/tests/memory/test_unified_memory.py:117
Method
test_memory_openai_config
Test OpenAI config from memory.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:264
Method
test_memory_openai_config_with_options
Test OpenAI config with all options from memory.mdx.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:271
Function
test_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
Function
test_memory_record_defaults
()
lib/crewai/tests/memory/test_unified_memory.py:76
Function
test_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
Function
test_memory_remember_and_recall_with_default_embedder
( tmp_path: Path, openai_mock )
lib/crewai/tests/memory/test_default_embedder.py:42
Function
test_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
Function
test_memory_remember_recall_shallow
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:319
Function
test_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
Function
test_memory_reset_all_rebuilds_reopened_store_with_new_dimension
( lancedb_path: Path, )
lib/crewai/tests/memory/test_dimension_mismatch.py:101
Function
test_memory_root_scope_confines_crafted_explicit_scope
( storage: LanceDBStorage, )
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:136
Method
test_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
Method
test_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
Function
test_memory_save_completion_updates_timed_out_row
()
lib/cli/tests/test_crew_run_tui.py:1167
Function
test_memory_save_completion_with_unmatched_id_does_not_update_running_row
()
lib/cli/tests/test_crew_run_tui.py:1202
Function
test_memory_save_completion_without_id_does_not_update_stale_row
()
lib/cli/tests/test_crew_run_tui.py:1294
Function
test_memory_save_events_are_shown_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1061
Function
test_memory_save_failure_is_shown_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1139
Function
test_memory_save_failure_with_unmatched_id_does_not_update_running_row
()
lib/cli/tests/test_crew_run_tui.py:1247
Function
test_memory_save_failure_without_id_does_not_update_stale_row
()
lib/cli/tests/test_crew_run_tui.py:1344
Function
test_memory_save_payloads_are_truncated_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1393
Function
test_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
Function
test_memory_scope_extract_memories_delegates
MemoryScope.extract_memories delegates to underlying Memory.
lib/crewai/tests/memory/test_unified_memory.py:660
Function
test_memory_scope_remember_recall
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:424
Method
test_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
Function
test_memory_scope_slice
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:353
Function
test_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
Function
test_memory_slice_extract_memories_delegates
MemorySlice.extract_memories delegates to underlying Memory.
lib/crewai/tests/memory/test_unified_memory.py:672
Function
test_memory_slice_recall
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:437
Function
test_memory_slice_remember_is_noop_when_read_only
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:448
Function
test_memory_string_storage_qdrant_edge
Test that storage='qdrant-edge' string instantiation works.
lib/crewai/tests/memory/test_qdrant_edge_storage.py:319
Function
test_memory_with_qdrant_edge
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:294
Method
test_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
Function
test_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
Method
test_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
Method
test_memory_without_root_scope_works_normally
Memory without root_scope behaves exactly as before.
lib/crewai/tests/memory/test_memory_root_scope.py:671
Method
test_merge_file_and_input_data
(self)
lib/cli/tests/test_config.py:49
Method
test_merge_file_and_input_data
(self)
lib/crewai/tests/cli/test_config.py:46
Method
test_merges_session_and_user_message
(self)
lib/crewai/tests/test_flow_conversation.py:78
Function
test_message
Create a simple test message.
lib/crewai/tests/a2a/test_a2a_integration.py:28
Method
test_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
Function
test_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
Method
test_messages_are_mutable_reference
Test that modifying context.messages modifies executor.messages.
lib/crewai/tests/hooks/test_llm_hooks.py:77
Method
test_messages_without_tool_calls_pass_through
(self, message)
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:160
Function
test_metadata
Retain notebook versions, language, kernel, and counts for each cell type.
lib/crewai-tools/tests/rag/test_notebook_loader.py:75
Method
test_metadata_accepts_other_keys
(self)
lib/crewai/tests/skills/test_models_version.py:26
Function
test_metadata_filter
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:132
Function
test_metadata_filter_handling
Test metadata filter parameter handling.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:163
Function
test_metadata_filter_with_categories_still_applies
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_search_categories.py:74
Method
test_metadata_included_in_result
Test that metadata is passed through to HumanFeedbackResult.
lib/crewai/tests/test_human_feedback_integration.py:648
Method
test_metadata_level
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:257
Method
test_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
Method
test_metadata_skill_emits_only_after_runtime_selection
( self, tmp_path: Path )
lib/crewai/tests/events/test_skill_usage_events.py:50
Method
test_metadata_structure
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:132
Method
test_method
(self)
lib/crewai/tests/test_human_feedback_decorator.py:44
Method
test_method
(self)
lib/crewai/tests/test_human_feedback_decorator.py:754
Method
test_method_description_reaches_the_router_catalog
(self)
lib/crewai/tests/test_flow_conversation.py:3325
Function
test_method_execution_paused_is_collected_whole
(listener)
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:115
Method
test_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
Function
test_method_level_persist_decorator_saves_only_that_method
()
lib/crewai/tests/test_flow_from_definition.py:3930
Function
test_method_level_persist_disabled_wins_over_flow_level
()
lib/crewai/tests/test_flow_from_definition.py:3884
Function
test_method_level_persist_from_declaration_saves_only_that_method
()
lib/crewai/tests/test_flow_from_definition.py:3874
Method
test_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
Method
test_method_parent_is_flow
Method execution events should have flow as parent.
lib/crewai/tests/events/test_event_ordering.py:292
Function
test_method_paused_marks_step_paused
()
lib/cli/tests/test_crew_run_tui.py:2342
Function
test_method_persist_backend_overrides_flow_level_backend_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3949
Function
test_method_persist_decorator_overrides_class_level_backend
()
lib/crewai/tests/test_flow_from_definition.py:3980
Method
test_method_signature_detected
Test that methods with 'self' parameter are detected.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:576
Function
test_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
Function
test_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
Method
test_min_max
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:728
← previous
next →
15,801–15,900 of 19,663, ranked by callers