MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Methodtest_add_documents_all_without_metadata
Test add_documents when all documents have no metadata.
lib/crewai/tests/rag/chromadb/test_client.py:328
Methodtest_add_documents_collection_not_exists
Test that add_documents raises error if collection doesn't exist.
lib/crewai/tests/rag/qdrant/test_client.py:272
Functiontest_add_documents_embeds_each_batch_with_one_call
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:108
Methodtest_add_documents_empty_list
Test that add_documents raises error for empty documents list.
lib/crewai/tests/rag/qdrant/test_client.py:265
Methodtest_add_documents_empty_list_raises_error
Test that add_documents raises error for empty documents list.
lib/crewai/tests/rag/chromadb/test_client.py:347
Functiontest_add_documents_keeps_per_document_calls_for_plain_embedders
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:123
Methodtest_add_documents_with_batch_size
Test add_documents with batch size splits documents into batches.
lib/crewai/tests/rag/chromadb/test_client.py:635
Methodtest_add_documents_with_custom_ids
Test add_documents with custom document IDs.
lib/crewai/tests/rag/chromadb/test_client.py:285
Methodtest_add_documents_with_doc_id
Test that add_documents uses provided doc_id.
lib/crewai/tests/rag/qdrant/test_client.py:246
Methodtest_add_documents_with_explicit_batch_size
Test add_documents with explicitly provided batch size.
lib/crewai/tests/rag/chromadb/test_client.py:677
Methodtest_add_documents_without_metadata
Test add_documents with documents that have no metadata.
lib/crewai/tests/rag/chromadb/test_client.py:311
Methodtest_add_documents_wrong_client_type
Test that add_documents raises TypeError for async client.
lib/crewai/tests/rag/qdrant/test_client.py:288
Methodtest_add_edge
(self)
lib/crewai/tests/test_event_record.py:87
Functiontest_add_inline_jsonl
Inline JSONL requires explicit selection, not a whole-document JSON parser.
lib/crewai-tools/tests/rag/test_rag_core_jsonl.py:114
Functiontest_add_jsonl_stores_records
Explicit selection and discovery preserve JSON values and record order.
lib/crewai-tools/tests/rag/test_rag_core_jsonl.py:77
Functiontest_add_property_ordering_to_schema
Test that _add_property_ordering correctly adds propertyOrdering to schemas.
lib/crewai/tests/llms/google/test_google.py:1032
Methodtest_add_records
Store the real loader's records and metadata, not just a mock result.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:494
Methodtest_add_single_event
(self)
lib/crewai/tests/test_event_record.py:106
Methodtest_add_template_dir_exists_prompts_rename
(self, mock_resolve, mock_prompt, mock_download, mock_extract, cmd, tmp_path)
lib/crewai/tests/cli/remote_template/test_main.py:223
Methodtest_add_template_dir_exists_quit
(self, mock_prompt, mock_resolve, cmd, tmp_path)
lib/crewai/tests/cli/remote_template/test_main.py:237
Methodtest_add_template_not_found
(self, mock_resolve, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:213
Methodtest_add_template_success
(self, mock_resolve, mock_download, mock_extract, cmd, tmp_path)
lib/crewai/tests/cli/remote_template/test_main.py:200
Functiontest_add_texts
(mongodb_vector_search_tool)
lib/crewai-tools/tests/tools/test_mongodb_vector_search_tool.py:65
Functiontest_add_texts_covers_validation_errors
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1395
Functiontest_add_texts_creates_table_and_inserts_rows
(monkeypatch)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:681
Methodtest_add_usage_metrics_aggregates_reasoning_and_cache_creation
(self)
lib/crewai/tests/events/test_llm_usage_event.py:255
Functiontest_added_key_bypasses_negative_cache
(monkeypatch)
lib/cli/tests/test_model_catalog.py:455
Functiontest_adding_a_crew_to_an_existing_project_is_not_an_acquisition
`create_crew(parent_folder=...)` adds a crew to a project that already exists. It mints no id and must emit no creation span, or every added crew
lib/crewai/tests/cli/test_project_created_span.py:170
Methodtest_additional_params_are_not_promoted_to_typed_fields
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:253
Methodtest_adds_empty_properties_and_required
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:813
Methodtest_adds_to_object
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:808
Methodtest_adds_v1_suffix
Test that /v1 is added when missing.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:112
Methodtest_adelete_collection
Test that adelete_collection deletes the collection asynchronously.
lib/crewai/tests/rag/qdrant/test_client.py:642
Methodtest_adelete_collection
Test that adelete_collection calls the underlying client correctly.
lib/crewai/tests/rag/chromadb/test_client.py:606
Methodtest_adelete_collection_not_exists
Test that adelete_collection raises error if collection doesn't exist.
lib/crewai/tests/rag/qdrant/test_client.py:657
Methodtest_adelete_collection_wrong_client_type
Test that adelete_collection raises TypeError for sync client.
lib/crewai/tests/rag/qdrant/test_client.py:674
Methodtest_adelete_removes_the_same_records_as_delete
( self, storage_pair: tuple[StorageBackend, StorageBackend], delete_kwargs: dict[str,
lib/crewai/tests/memory/test_storage_backend_async_parity.py:205
Functiontest_adelete_uses_injected_async_session
()
lib/crewai-files/tests/test_bedrock_async_client.py:81
Functiontest_advertised_cap_follows_assignment
()
lib/crewai-tools/tests/tools/wait_tool_test.py:146
Functiontest_advertised_cap_matches_enforced_cap
(build)
lib/crewai-tools/tests/tools/wait_tool_test.py:138
Functiontest_aemit_during_shutdown
()
lib/crewai/tests/utilities/events/test_shutdown.py:43
Functiontest_aemit_ignores_dependencies
Test that aemit only processes async handlers (no dependency support yet).
lib/crewai/tests/events/test_depends.py:261
Functiontest_aemit_publishes_to_active_stream_sinks
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:58
Functiontest_aemit_with_async_handlers
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:40
Functiontest_aemit_with_no_handlers
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:151
Methodtest_aexecute_sync_adds_agent_to_processed_by
Test that async execution adds agent to processed_by_agents.
lib/crewai/tests/task/test_async_task.py:139
Methodtest_aexecute_sync_basic
Test basic async task execution.
lib/crewai/tests/task/test_async_task.py:31
Methodtest_aexecute_sync_calls_callback
Test that async execution calls the callback.
lib/crewai/tests/task/test_async_task.py:158
Methodtest_aexecute_sync_handles_exception
Test that async execution handles exceptions properly.
lib/crewai/tests/task/test_async_task.py:218
Methodtest_aexecute_sync_output_format_raw
Test async execution with raw output format.
lib/crewai/tests/task/test_async_task.py:353
Methodtest_aexecute_sync_sets_start_and_end_time
Test that async execution sets start and end times.
lib/crewai/tests/task/test_async_task.py:97
Methodtest_aexecute_sync_stores_output
Test that async execution stores the output.
lib/crewai/tests/task/test_async_task.py:119
Methodtest_aexecute_sync_task_output_attributes
Test that task output has correct attributes.
lib/crewai/tests/task/test_async_task.py:370
Methodtest_aexecute_sync_with_context
Test async task execution with context.
lib/crewai/tests/task/test_async_task.py:52
Methodtest_aexecute_sync_with_different_agent
Test async execution with a different agent than assigned.
lib/crewai/tests/task/test_async_task.py:191
Methodtest_aexecute_sync_with_tools
Test async task execution with custom tools.
lib/crewai/tests/task/test_async_task.py:74
Methodtest_aexecute_sync_without_agent_raises
Test that async execution without agent raises exception.
lib/crewai/tests/task/test_async_task.py:177
Methodtest_aexecute_tasks_sequential
Test async sequential task execution.
lib/crewai/tests/crew/test_async_crew.py:298
Methodtest_aexecute_tasks_with_async_task
Test async execution with async_execution task flag.
lib/crewai/tests/crew/test_async_crew.py:338
Methodtest_aexport_output_uses_acall_not_call
(self)
lib/crewai/tests/task/test_async_task.py:403
Functiontest_affected_model_ids_use_their_specific_context_windows
( model: str, raw_context_window: int )
lib/crewai/tests/llms/test_context_window.py:122
Methodtest_after_hook_can_modify_response
Test that after hooks can modify the response.
lib/crewai/tests/hooks/test_llm_hooks.py:178
Methodtest_after_hook_can_modify_result
Test that after hooks can modify the tool result.
lib/crewai/tests/hooks/test_tool_hooks.py:251
Methodtest_after_hook_includes_raw_tool_result_for_typed_output
(self)
lib/crewai/tests/utilities/test_agent_utils.py:1004
Methodtest_after_hook_returns_none_keeps_original
Test that returning None keeps the original response.
lib/crewai/tests/hooks/test_llm_hooks.py:192
Methodtest_after_hook_returns_none_keeps_original
Test that returning None keeps the original result.
lib/crewai/tests/hooks/test_tool_hooks.py:271
Methodtest_after_hooks_do_not_clobber_native_tool_call_responses
A registered after hook must not break native tool execution. Regression for crewAIInc/crewAI#6529: `_setup_after_llm_call_hooks` str
lib/crewai/tests/hooks/test_llm_hooks.py:275
Functiontest_after_kickoff_modification
()
lib/crewai/tests/test_project.py:283
Methodtest_after_llm_call_decorator_registers_hook
Test that @after_llm_call decorator registers the hook.
lib/crewai/tests/hooks/test_decorators.py:62
Methodtest_after_tool_call_decorator_registers_hook
Test that @after_tool_call decorator registers the hook.
lib/crewai/tests/hooks/test_decorators.py:141
Methodtest_after_tool_call_with_filter
Test that after_tool_call decorator with filter works.
lib/crewai/tests/hooks/test_decorators.py:250
Functiontest_agent
Create a test agent.
lib/crewai/tests/crew/test_async_crew.py:14
Functiontest_agent
Create a test agent.
lib/crewai/tests/task/test_async_task.py:15
Functiontest_agent_accepts_custom_i18n
()
lib/crewai/tests/agents/test_agent.py:107
Methodtest_agent_accepts_inline_skill_string
(self)
lib/crewai/tests/skills/test_integration.py:109
Functiontest_agent_action_accepts_a_rendered_message_list
A chat handler can hand the agent the conversation, not just a string.
lib/crewai/tests/test_flow_from_definition.py:4675
Functiontest_agent_action_delivers_a_rendered_conversation_to_the_agent
The whole path: `${state.messages}` -> normalization -> `kickoff_async`.
lib/crewai/tests/test_flow_from_definition.py:1336
Functiontest_agent_action_json_schema_describes_inline_agent_definitions
()
lib/crewai/tests/test_flow_from_definition.py:1460
Functiontest_agent_action_keeps_a_none_content_tool_call_message
A tool-call turn has no content; dropping the key breaks the sequence.
lib/crewai/tests/test_flow_from_definition.py:4698
Functiontest_agent_action_rejects_a_shape_that_is_neither
()
lib/crewai/tests/test_flow_from_definition.py:4728
Functiontest_agent_action_rejects_non_string_input_in_definition
()
lib/crewai/tests/test_flow_from_definition.py:1480
Functiontest_agent_action_renders_text_custom_expression_input
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:1301
Functiontest_agent_action_reports_invalid_cel_expression
()
lib/crewai/tests/test_flow_from_definition.py:1504
Functiontest_agent_action_repository_fetch_does_not_block_event_loop
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:1225
Functiontest_agent_action_round_trips_with_inline_definition
()
lib/crewai/tests/test_flow_from_definition.py:1423
Functiontest_agent_action_runs_inline_yaml_definition
(monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_flow_from_definition.py:1135
Functiontest_agent_action_runs_inside_each
(monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_flow_from_definition.py:1385
Functiontest_agent_action_runs_repository_yaml_definition
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:1168
Functiontest_agent_action_still_accepts_a_string
()
lib/crewai/tests/test_flow_from_definition.py:4722
Functiontest_agent_action_strips_serialized_message_metadata
A raw `${state.messages}` render carries None keys the event rejects.
lib/crewai/tests/test_flow_from_definition.py:4687
Functiontest_agent_and_lite_agent_agree
()
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:93
Functiontest_agent_and_nested_crew_use_one_event_session
( in_memory_grant_collectors, monkeypatch, async_run, nested )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:228
Methodtest_agent_and_task_ids_are_populated
(self)
lib/crewai/tests/tools/test_tool_failure.py:1217
Functiontest_agent_apps_consolidated_functionality
()
lib/crewai/tests/agents/test_agent.py:2618
Functiontest_agent_apps_validation
()
lib/crewai/tests/agents/test_agent.py:2644
Functiontest_agent_archive_includes_source_and_excludes_secrets
( agent_project: Path, )
lib/cli/tests/test_create_agent.py:65
Methodtest_agent_built_from_a_model_string
Pinned as a decision: it builds, and its first call raises the key error. It used to raise ``ValidationError`` here, wrapping ``MissingAPIKey
lib/crewai/tests/llms/test_missing_api_key.py:448
Functiontest_agent_chat_tui_runs_two_turns_with_history
(monkeypatch)
lib/cli/tests/test_run_agent.py:263
Methodtest_agent_config_overrides_crew
(self)
lib/crewai/tests/test_checkpoint.py:86
Functiontest_agent_config_without_from_repository_does_not_fetch
(mock_get_agent)
lib/crewai/tests/agents/test_agent.py:2599
← previousnext →10,701–10,800 of 19,663, ranked by callers