MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Methodtest_kickoff_streaming_async_result_available_after_iteration
Test that result is available after async iteration.
lib/crewai/tests/test_streaming.py:399
Methodtest_kickoff_streaming_async_returns_stream_session
Test that flow kickoff_async with stream=True returns AsyncStreamSession.
lib/crewai/tests/test_streaming.py:537
Methodtest_kickoff_streaming_async_returns_streaming_output
Test that kickoff_async with stream=True returns CrewStreamingOutput.
lib/crewai/tests/test_streaming.py:321
Methodtest_kickoff_streaming_captures_chunks
Test that streaming captures LLM chunks.
lib/crewai/tests/test_streaming.py:199
Methodtest_kickoff_streaming_handles_tool_calls
Test that streaming handles tool call chunks correctly.
lib/crewai/tests/test_streaming.py:267
Methodtest_kickoff_streaming_result_available_after_iteration
Test that result is available after iterating all chunks.
lib/crewai/tests/test_streaming.py:247
Methodtest_kickoff_streaming_returns_stream_session
Test that flow kickoff with stream=True returns StreamSession.
lib/crewai/tests/test_streaming.py:424
Methodtest_kickoff_streaming_returns_streaming_output
Test that kickoff with stream=True returns CrewStreamingOutput.
lib/crewai/tests/test_streaming.py:186
Functiontest_kickoff_survives_listing_failure
End-to-end: the whole save pipeline completes despite the listing failure.
lib/crewai/tests/memory/test_encoding_flow_analyze_fallback.py:76
Functiontest_knowledge_add_sources_integration
Test Knowledge.add_sources integrates properly with storage.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:146
Methodtest_knowledge_agent_embedder_config
Test agent embedder config from knowledge.mdx documentation.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:314
Functiontest_knowledge_ignores_active_config_of_another_provider
()
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:209
Functiontest_knowledge_included_in_planning
Test that verifies knowledge sources are properly included in planning.
lib/crewai/tests/utilities/test_knowledge_planning.py:33
Functiontest_knowledge_keeps_active_qdrant_connection_settings
(tmp_path)
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:190
Functiontest_knowledge_query_returns_searchresult
Test that Knowledge.query returns SearchResult format.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:16
Functiontest_knowledge_query_with_empty_results
Test Knowledge.query with empty search results.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:60
Functiontest_knowledge_reset_integration
Test Knowledge.reset integrates with storage.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:164
Functiontest_knowledge_reset_without_storage
Test Knowledge.reset raises error when storage is None.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:180
Functiontest_knowledge_storage_client_created_before_a_fork_is_rejected_in_the_child
( tmp_path, )
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:323
Functiontest_knowledge_storage_collection_not_found
Test KnowledgeStorage handles missing collections.
lib/crewai/tests/rag/test_error_handling.py:38
Functiontest_knowledge_storage_connection_failure
Test KnowledgeStorage handles RAG client connection failures.
lib/crewai/tests/rag/test_error_handling.py:14
Functiontest_knowledge_storage_embedding_dimension_mismatch_detailed
Test detailed handling of embedding dimension mismatch errors.
lib/crewai/tests/rag/test_error_handling.py:146
Functiontest_knowledge_storage_exception_handling
Test Knowledge handles storage exceptions gracefully.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:130
Functiontest_knowledge_storage_invalid_embedding_config
Test KnowledgeStorage handles invalid embedding configurations.
lib/crewai/tests/rag/test_error_handling.py:53
Functiontest_knowledge_storage_malformed_search_results
Test KnowledgeStorage handles malformed search results.
lib/crewai/tests/rag/test_error_handling.py:100
Functiontest_knowledge_storage_network_interruption
Test KnowledgeStorage handles network interruptions during operations.
lib/crewai/tests/rag/test_error_handling.py:120
Functiontest_knowledge_storage_reset_collection_does_not_exist
Test KnowledgeStorage reset handles non-existent collections.
lib/crewai/tests/rag/test_error_handling.py:86
Functiontest_knowledge_storage_reset_readonly_database
Test KnowledgeStorage reset handles readonly database errors.
lib/crewai/tests/rag/test_error_handling.py:72
Functiontest_knowledge_storage_search_timeout
Test KnowledgeStorage handles search timeouts gracefully.
lib/crewai/tests/rag/test_error_handling.py:25
Functiontest_knowledge_storage_uses_rag_client
Test that KnowledgeStorage properly integrates with RAG client.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:14
Functiontest_knowledge_with_embedder_uses_the_active_custom_provider
(monkeypatch)
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:242
Functiontest_knowledge_without_a_usable_config_for_the_provider_names_it
(monkeypatch)
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:270
Functiontest_known_agents_contains_no_pii_shaped_values
Every possible emitted value is a short, opaque identifier.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:394
Methodtest_lambda_in_class_body_returns_none
(self)
lib/crewai/tests/test_callback.py:85
Methodtest_lambda_returns_none
(self)
lib/crewai/tests/test_callback.py:72
Methodtest_lambda_warns_it_is_dropped
(self)
lib/crewai/tests/test_callback.py:152
Methodtest_lan_host_port_without_scheme
A LAN host:port without a scheme gets http:// prepended.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:140
Functiontest_lancedb_delete_count
(lancedb_path: Path)
lib/crewai/tests/memory/test_unified_memory.py:174
Functiontest_lancedb_list_records_exceeding_scan_cap
Test that LanceDBStorage.list_records returns true newest records even when table exceeds 50k rows.
lib/crewai/tests/memory/test_unified_memory.py:276
Functiontest_lancedb_list_records_order_and_pagination
Test that LanceDBStorage.list_records returns newest records first with correct pagination.
lib/crewai/tests/memory/test_unified_memory.py:201
Functiontest_lancedb_list_scopes_get_scope_info
(lancedb_path: Path)
lib/crewai/tests/memory/test_unified_memory.py:186
Functiontest_lancedb_matching_dim_still_works
(lancedb_path: Path)
lib/crewai/tests/memory/test_dimension_mismatch.py:128
Functiontest_lancedb_mixed_batch_mismatch_raises
A single save() batch with inconsistent dimensions must be rejected.
lib/crewai/tests/memory/test_dimension_mismatch.py:44
Functiontest_lancedb_mixed_batch_on_fresh_store_raises
(lancedb_path: Path)
lib/crewai/tests/memory/test_dimension_mismatch.py:55
Functiontest_lancedb_reopened_store_detects_mismatch
The upgrade scenario: an old store reopened with a new embedder.
lib/crewai/tests/memory/test_dimension_mismatch.py:87
Functiontest_lancedb_save_mismatch_raises
(lancedb_path: Path)
lib/crewai/tests/memory/test_dimension_mismatch.py:28
Functiontest_lancedb_save_search
(lancedb_path: Path)
lib/crewai/tests/memory/test_unified_memory.py:150
Functiontest_lancedb_search_mismatch_raises
(lancedb_path: Path)
lib/crewai/tests/memory/test_dimension_mismatch.py:63
Functiontest_lancedb_update_mismatch_raises
(lancedb_path: Path)
lib/crewai/tests/memory/test_dimension_mismatch.py:73
Methodtest_large_file
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:60
Functiontest_last_raw_result_falls_back_only_until_recorded
()
lib/crewai/tests/tools/test_tool_usage.py:247
Methodtest_last_reasoning_items
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:274
Methodtest_last_response_id
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:258
Methodtest_last_response_id_none_for_completions
(self)
lib/crewai/tests/llms/azure/test_azure_responses.py:264
Methodtest_last_tool_failures_does_not_grow_across_kickoffs
(self)
lib/crewai/tests/tools/test_tool_failure.py:1624
Methodtest_last_tool_failures_returns_a_copy
(self)
lib/crewai/tests/tools/test_tool_failure.py:801
Methodtest_lazy_flow_batch_from_context_preserves_deferred_parent
(self)
lib/crewai/tests/test_flow_conversation.py:2136
Methodtest_leading_hyphen_raises
(self)
lib/crewai/tests/skills/test_validation.py:56
Methodtest_leading_slash_always_present
Final scope should always have leading slash.
lib/crewai/tests/memory/test_memory_root_scope.py:334
Methodtest_leading_trailing_spaces
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:53
Methodtest_learn_false_does_not_interact_with_memory
When learn=False (default), memory is never touched.
lib/crewai/tests/test_human_feedback_decorator.py:620
Methodtest_learn_strict_config_propagates
learn_strict is captured on the decorator config.
lib/crewai/tests/test_human_feedback_decorator.py:879
Methodtest_learn_true_empty_feedback_does_not_store
When learn=True but feedback is empty, no lessons are stored.
lib/crewai/tests/test_human_feedback_decorator.py:730
Methodtest_learn_true_omits_llm_by_default
When learn=True and llm is not set, config.llm stays None for runtime resolve.
lib/crewai/tests/test_human_feedback_decorator.py:750
Methodtest_learn_true_pre_reviews_with_past_lessons
When learn=True and past lessons exist, output is pre-reviewed before human sees it.
lib/crewai/tests/test_human_feedback_decorator.py:680
Methodtest_learn_true_stores_distilled_lessons
When learn=True and feedback has substance, lessons are distilled and stored.
lib/crewai/tests/test_human_feedback_decorator.py:641
Methodtest_learned_model_routes_directly
(self)
lib/crewai/tests/llms/openai/test_responses_only_models.py:180
Methodtest_learned_model_still_respects_custom_endpoint
(self)
lib/crewai/tests/llms/openai/test_responses_only_models.py:186
Methodtest_leaves_bare_crewai_pin_alone
`crewai==` must not collide with `crewai-core==` etc.
lib/devtools/tests/test_toml_updates.py:559
Methodtest_leaves_store_to_the_server_otherwise
Chaining needs a stored response, and a gateway may not know the field.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:675
Methodtest_leaves_unrelated_commands_alone
(self)
lib/devtools/tests/test_toml_updates.py:406
Methodtest_leaves_unrelated_deps_alone
(self)
lib/devtools/tests/test_toml_updates.py:319
Methodtest_leaves_unrelated_errors_intact
(self)
lib/crewai-tools/tests/utilities/test_safe_path.py:367
Methodtest_legacy_azure_with_model_key
Test legacy Azure config using 'model' instead of 'model_name'.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:441
Functiontest_legacy_client_accepts_canonicalized_actions
( mock_get: Mock, selector: str )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:530
Functiontest_legacy_client_names_the_apps_amp_reports_missing
(mock_get: Mock)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:794
Functiontest_legacy_client_normalizes_discovered_actions
(mock_get: Mock)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:439
Functiontest_legacy_client_normalizes_execution_failures
( mock_post: Mock, response_data: Any, status_code: int, message: str, retryable: bool, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:723
Functiontest_legacy_client_preserves_discovery_ssl_behavior
( mock_get: Mock, factory_value: str | None, verify: bool, monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:649
Functiontest_legacy_client_preserves_execution_request
( mock_post: Mock, arguments: dict[str, Any], integration: dict[str, Any], )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:677
Functiontest_legacy_client_raises_http_errors_that_name_no_app
( mock_get: Mock, status: int, body: Any )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:824
Functiontest_legacy_client_sends_multiple_selectors_in_one_request
( mock_get: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:481
Functiontest_legacy_client_treats_redirect_as_execution_failure
( mock_post: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:754
Methodtest_legacy_cohere_with_model_key
Test legacy Cohere config using 'model' instead of 'model_name'.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:433
Functiontest_legacy_constructor_params_do_not_override_explicit_query_params
Explicit query-time count/country take precedence over constructor defaults.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:319
Functiontest_legacy_constructor_params_flow_into_query_params
The legacy n_results and country constructor params are applied as defaults when count/country are not explicitly provided at call time.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:309
Methodtest_legacy_crewai_amp_prefix_still_works
( self, mock_fetch, mock_client_class, agent, mock_tool_definitions )
lib/crewai/tests/mcp/test_amp_mcp.py:399
Functiontest_legacy_declarative_references_still_resolve
()
lib/crewai/tests/test_experimental_conversational_shim.py:50
Methodtest_legacy_decorated_conversation_start_runs_once_per_turn
Legacy ``@start`` overrides are not invoked again by the router.
lib/crewai/tests/test_flow_conversation.py:781
Functiontest_legacy_experimental_discriminator_is_rejected
()
lib/crewai/tests/agents/test_agent_executor.py:3488
Methodtest_legacy_google_with_model_key
Test legacy Google config using 'model' instead of 'model_name'.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:414
Methodtest_legacy_openai_with_model_key
Test legacy OpenAI config using 'model' instead of 'model_name'.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:424
Methodtest_legacy_prefix_slug
(self)
lib/crewai/tests/mcp/test_amp_mcp.py:202
Methodtest_legacy_prefix_with_tool
(self)
lib/crewai/tests/mcp/test_amp_mcp.py:207
Functiontest_legacy_session_finalization_preserves_lifecycle_and_conversation_identity
( in_memory_grant_collectors, monkeypatch, legacy_defer )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:678
Functiontest_legitimate_scope_characters_still_match
(tmp_path: Path)
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:153
Functiontest_length_finish_reason_still_raises_through_raw_response
`with_raw_response` must not drop the SDK's own parse-time errors.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:378
Methodtest_lessons_returned_as_a_json_string_are_stored
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1144
Functiontest_lf_file_stays_lf
(tmp_path)
lib/crewai/tests/telemetry/test_project_id.py:265
Functiontest_limit_models_reject_nonpositive_values
(model, limit)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:707
← previousnext →15,201–15,300 of 19,482, ranked by callers