MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Functiontest_acleanup_delete_all_listing_does_not_block_the_event_loop
(monkeypatch)
lib/crewai-files/tests/test_acleanup_listing_nonblocking.py:22
Methodtest_aclose_cancels_async_streaming
Test that aclose() stops iteration and marks as cancelled.
lib/crewai/tests/test_streaming.py:760
Methodtest_aclose_idempotent
Test that calling aclose() multiple times is safe.
lib/crewai/tests/test_streaming.py:785
Methodtest_acreate_collection
Test that acreate_collection creates a new collection asynchronously.
lib/crewai/tests/rag/qdrant/test_client.py:83
Methodtest_acreate_collection
Test that acreate_collection calls the underlying client correctly.
lib/crewai/tests/rag/chromadb/test_client.py:115
Methodtest_acreate_collection_already_exists
Test that acreate_collection raises error if collection exists.
lib/crewai/tests/rag/qdrant/test_client.py:99
Methodtest_acreate_collection_with_all_params
Test acreate_collection with all optional parameters.
lib/crewai/tests/rag/chromadb/test_client.py:133
Methodtest_acreate_collection_wrong_client_type
Test that acreate_collection raises TypeError for sync client.
lib/crewai/tests/rag/qdrant/test_client.py:111
Functiontest_act_command
Test the 'act' command functionality.
lib/crewai-tools/tests/tools/stagehand_tool_test.py:140
Methodtest_action_shaped_reply_still_becomes_a_final_answer
(self)
lib/crewai/tests/utilities/test_agent_utils.py:1279
Methodtest_adapter_parses_sigcont
Test adapter correctly parses SIGCONT event.
lib/crewai/tests/events/types/test_system_events.py:103
Methodtest_adapter_parses_sighup
Test adapter correctly parses SIGHUP event.
lib/crewai/tests/events/types/test_system_events.py:91
Methodtest_adapter_parses_sigint
Test adapter correctly parses SIGINT event.
lib/crewai/tests/events/types/test_system_events.py:85
Methodtest_adapter_parses_sigterm
Test adapter correctly parses SIGTERM event.
lib/crewai/tests/events/types/test_system_events.py:78
Methodtest_adapter_parses_sigtstp
Test adapter correctly parses SIGTSTP event.
lib/crewai/tests/events/types/test_system_events.py:97
Methodtest_adapter_rejects_invalid_type
Test adapter rejects unknown signal type.
lib/crewai/tests/events/types/test_system_events.py:109
Functiontest_adapter_rejects_proxies
()
lib/crewai-tools/tests/utilities/test_safe_requests.py:415
Functiontest_adapter_returns_one_flat_vector_for_one_text
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:31
Functiontest_add_crew_to_flow_not_in_root
(tmp_path, monkeypatch, runner)
lib/cli/tests/test_cli.py:958
Methodtest_add_documents
Test that add_documents adds documents to collection.
lib/crewai/tests/rag/qdrant/test_client.py:220
Methodtest_add_documents
Test that add_documents adds documents to collection.
lib/crewai/tests/rag/chromadb/test_client.py:260
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:4561
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:4584
← previousnext →10,601–10,700 of 19,482, ranked by callers