Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
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:776
Method
test_min_max_length
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:781
Method
test_minimal_crew
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:160
Method
test_minimal_declaration_implies_conversation_state
(self)
lib/crewai/tests/test_flow_conversation.py:3311
Method
test_minimal_declaration_routes_to_a_declared_handler
(self)
lib/crewai/tests/test_flow_conversation.py:3316
Method
test_minimal_declaration_runs_a_conversational_turn
(self)
lib/crewai/tests/test_flow_conversation.py:3298
Method
test_minimal_is_forwarded
gpt-5's cheapest setting, and the one extraction workloads want.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:120
Function
test_minor_version
Retain nonnegative integer minor versions and omit other values.
lib/crewai-tools/tests/rag/test_notebook_loader.py:291
Function
test_mints_and_persists_an_id
(pyproject)
lib/crewai/tests/telemetry/test_project_id.py:40
Method
test_minutes
(self)
lib/crewai/tests/test_checkpoint_cli.py:135
Method
test_mismatched_names
(self, tmp_path: Path)
lib/crewai/tests/skills/test_validation.py:89
Method
test_missing_account_raises_clear_error
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/llms/snowflake/test_snowflake.py:85
Function
test_missing_action_error
()
lib/crewai/tests/agents/test_crew_agent_parser.py:216
Function
test_missing_action_input_error
()
lib/crewai/tests/agents/test_crew_agent_parser.py:225
Function
test_missing_agent_definition_has_actionable_error
(tmp_path: Path)
lib/crewai-core/tests/test_agent_project_entrypoint.py:91
Method
test_missing_agent_file_raises
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:833
Function
test_missing_agents_yaml_errors
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:479
Function
test_missing_api_key
Test that missing API key raises appropriate error.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:116
Function
test_missing_api_key_error_still_imports_from_crewai_llm
`crewai.llm` re-exported it in released 1.15.34-1.15.37; the class it names must stay the one every provider raises.
lib/crewai/tests/test_imports.py:158
Function
test_missing_api_key_is_asked_for_before_chat
(tmp_path, monkeypatch, pasted, blank)
lib/cli/tests/test_run_agent.py:302
Function
test_missing_api_key_raises
()
lib/crewai-tools/tests/tools/brave_search_tool_test.py:106
Function
test_missing_api_key_raises
(openai_mock, monkeypatch)
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:70
Method
test_missing_api_key_raises_validation_error
Test that missing API key raises ValidationError when no env vars set.
lib/crewai/tests/rag/embeddings/test_factory_openrouter.py:128
Method
test_missing_at
(self)
lib/crewai/tests/skills/test_registry.py:127
Method
test_missing_cache_fields_preserve_non_cached_totals
(self)
lib/crewai/tests/events/test_llm_usage_event.py:355
Function
test_missing_cache_function_keeps_the_caching_default
A tool dict written by hand, as in a JSON project file, may omit it.
lib/crewai/tests/tools/test_deserialization_guard.py:116
Function
test_missing_choices_without_error_object_is_a_validation_error
Distinguishable from a retryable upstream failure, which is the report's ask.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:268
Method
test_missing_closing_delimiter
(self)
lib/crewai/tests/skills/test_parser.py:46
Function
test_missing_content_reports_failure
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:238
Function
test_missing_content_type_falls_back_to_url_extension
No Content-Type at all still reads as text when the path says .csv.
lib/crewai-tools/tests/url_read_tool_test.py:278
Function
test_missing_crew_py_errors
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:473
Function
test_missing_crewai_package_shows_full_install_hint
(monkeypatch)
lib/cli/tests/test_run_crew.py:18
Method
test_missing_custom_tool_raises
(self, tmp_path, monkeypatch)
lib/crewai/tests/project/test_json_loader.py:528
Method
test_missing_description_is_empty_not_nonetype_docstring
(self)
lib/crewai/tests/test_flow_conversation.py:3464
Function
test_missing_embedding_credentials
Verify missing embedding credentials fail before document insertion.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:275
Function
test_missing_entrypoint_and_project_import_errors
(project)
lib/crewai/tests/project/test_agent_project.py:84
Method
test_missing_fields_return_none
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:445
Method
test_missing_file
Missing JSONL paths fail consistently for explicit and inferred types.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:527
Method
test_missing_file
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:71
Function
test_missing_file_is_not_an_error
(tmp_path)
lib/crewai/tests/telemetry/test_project_id.py:137
Method
test_missing_id_returns_none_on_populated_store
( self, storage: StorageBackend )
lib/crewai/tests/memory/test_storage_backend_contract.py:125
Function
test_missing_input_names_accepts_hyphenated_placeholders
The prompt regex must accept the same names kickoff interpolation does.
lib/cli/tests/test_run_crew.py:728
Function
test_missing_input_names_scans_agent_and_task_placeholders
()
lib/crewai/tests/cli/test_run_crew.py:127
Function
test_missing_key_is_still_a_value_error
Existing ``except ValueError`` handlers keep catching it.
lib/crewai/tests/llms/test_missing_api_key.py:202
Function
test_missing_key_raises_on_first_call
( provider: Provider, via_llm: bool, mode: str, stream: bool )
lib/crewai/tests/llms/test_missing_api_key.py:143
Method
test_missing_leading_slash_added
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:78
Function
test_missing_lockfile_errors
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:294
Method
test_missing_module_returns_none
(self)
lib/crewai/tests/test_callback.py:114
Function
test_missing_name_from_crew_names_crew
()
lib/crewai/tests/test_imports.py:131
Function
test_missing_name_from_flow_flow_names_flow_flow
()
lib/crewai/tests/test_imports.py:123
Method
test_missing_opening_delimiter
(self)
lib/crewai/tests/skills/test_parser.py:42
Function
test_missing_optional_dependency_has_actionable_error
Verify a missing database driver produces installation guidance.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:89
Method
test_missing_or_placeholder_key_names_azure
( self, env: dict[str, str], via_llm: bool, mode: str, stream: bool )
lib/crewai/tests/llms/test_missing_api_key.py:293
Function
test_missing_package_dir_errors
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:444
Method
test_missing_path_raises_file_not_found
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:158
Function
test_missing_personal_access_token
()
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:183
Function
test_missing_project_name_errors
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:286
Function
test_missing_provider_keys_names_each_required_value_left_unset
( provider, env_vars, expected )
lib/cli/tests/test_utils.py:152
← previous
next →
15,901–16,000 of 19,735, ranked by callers