Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,264 in github.com/crewAIInc/crewAI
⨍
Functions
19,264
◇
Types & classes
3,413
↳
Endpoints
990
Function
test_multiple_output_type_error
()
lib/crewai/tests/test_task.py:210
Method
test_multiple_overflowed_results_reuse_one_file_reader
(self)
lib/crewai/tests/agents/test_agent_executor.py:2665
Method
test_multiple_pauses_are_safe
Test calling pause multiple times is safe.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:44
Function
test_multiple_readers_concurrent
()
lib/crewai/tests/utilities/events/test_rw_lock.py:13
Method
test_multiple_requests_same_interceptor
Test that multiple requests through same interceptor are tracked.
lib/crewai/tests/llms/hooks/test_transport.py:178
Method
test_multiple_return_columns
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:186
Method
test_multiple_return_columns_mapped_correctly
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:410
Function
test_multiple_routers_from_same_trigger
Test that multiple routers triggered by the same method all activate their listeners.
lib/crewai/tests/test_flow.py:1100
Method
test_multiple_search_paths
(self, tmp_path: Path)
lib/crewai/tests/skills/test_integration.py:72
Method
test_multiple_sequential_context_managers
Test multiple sequential uses of platform_context.
lib/crewai/tests/test_context.py:142
Function
test_multiple_short_files
(mock_vector_db, tmpdir)
lib/crewai/tests/knowledge/test_knowledge.py:242
Function
test_multiple_short_strings
(mock_vector_db)
lib/crewai/tests/knowledge/test_knowledge.py:90
Method
test_multiple_slow_tools_concurrent
Test that slow async tools benefit from concurrency.
lib/crewai/tests/tools/test_async_tools.py:168
Method
test_multiple_spaces_collapsed
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:50
Method
test_multiple_start_methods_triggered_by
Multiple start methods should each have triggered_by_event_id=None.
lib/crewai/tests/events/test_event_ordering.py:1283
Method
test_multiple_trailing_slashes
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:87
Method
test_multiple_yanked_files_picks_first_reason
Test that the first available reason is returned.
lib/cli/tests/test_version.py:285
Method
test_multiple_yanked_files_picks_first_reason
Test that the first available reason is returned.
lib/crewai/tests/cli/test_version.py:249
Method
test_mutual_recursion_schema
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1217
Function
test_mysql_search_tool_quotes_valid_table_identifiers
( mock_rag_client: MagicMock, table_name: str, expected_query: str )
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:47
Function
test_mysql_search_tool_rejects_invalid_table_identifiers
( mock_rag_client: MagicMock, table_name: str )
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:74
Function
test_mysql_search_tool_still_runs_search_queries
( mock_rag_client: MagicMock, )
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:86
Function
test_mysql_search_tool_uses_mysql_data_type_metadata
( mock_rag_client: MagicMock, )
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:101
Method
test_name_with_hyphens
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:47
Method
test_name_with_spaces
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:31
Method
test_name_with_special_chars
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:34
Method
test_name_with_underscores
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:43
Method
test_name_with_unicode
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:37
Method
test_named_callback_restore_is_refused_without_opt_in
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_checkpoint.py:1046
Method
test_named_callback_runs_once_for_the_remaining_task
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_checkpoint.py:1034
Function
test_namespace_rebuild_still_resolves_forward_refs
Fails, where the RuntimeState tests that skip on a failed rebuild would not.
lib/crewai/tests/test_imports.py:138
Function
test_nan_seconds_is_rejected_when_passed_positionally
(mock_sleep, tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:81
Function
test_native_and_litellm_context_windows_match
( native_model: str, litellm_model: str )
lib/crewai/tests/test_llm.py:410
Function
test_native_anthropic_raises_error_when_initialization_fails
Test that LLM raises ImportError when native Anthropic completion fails to initialize. This ensures we don't silently fall back when there's
lib/crewai/tests/llms/anthropic/test_anthropic.py:73
Function
test_native_azure_raises_error_when_initialization_fails
Test that LLM raises ImportError when native Azure completion fails to initialize. This ensures we don't silently fall back when there's a co
lib/crewai/tests/llms/azure/test_azure.py:120
Function
test_native_bedrock_raises_error_when_initialization_fails
Test that LLM raises ImportError when native Bedrock completion fails. With the new behavior, when a native provider is in SUPPORTED_NATIVE_
lib/crewai/tests/llms/bedrock/test_bedrock.py:139
Function
test_native_follow_up_after_tool_result_is_retried
(use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:443
Function
test_native_gemini_raises_error_when_initialization_fails
Test that LLM raises ImportError when native Gemini completion fails. With the new behavior, when a native provider is in SUPPORTED_NATIVE_P
lib/crewai/tests/llms/google/test_google.py:97
Function
test_native_ivf_index
Verify the index helper sends DocumentDB's native IVF definition.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:108
Method
test_native_loop_is_forced_to_answer_async
(self)
lib/crewai/tests/tools/test_tool_failure.py:2074
Method
test_native_loop_is_warned_then_forced_to_answer
(self)
lib/crewai/tests/tools/test_tool_failure.py:2056
Function
test_native_openai_raises_error_when_initialization_fails
Test that LLM raises ImportError when native OpenAI completion fails to initialize. This ensures we don't silently fall back when there's a c
lib/crewai/tests/llms/openai/test_openai.py:251
Method
test_native_path_records_unknown_tool
(self)
lib/crewai/tests/tools/test_tool_failure.py:550
Function
test_native_provider_falls_back_to_litellm_when_not_in_supported_list
Test that when a provider is not in SUPPORTED_NATIVE_PROVIDERS, we fall back to LiteLLM.
lib/crewai/tests/test_llm.py:1034
Function
test_native_provider_raises_error_when_supported_but_fails
Test that when a native provider is in SUPPORTED_NATIVE_PROVIDERS but fails to instantiate, we raise the error.
lib/crewai/tests/test_llm.py:1017
Method
test_native_step_loop_keeps_its_result
(self)
lib/crewai/tests/tools/test_tool_failure.py:2243
Method
test_native_step_preserves_tool_result_when_final_answer_is_empty
The planner should receive evidence from a successful native tool call.
lib/crewai/tests/agents/test_agent_executor.py:968
Method
test_native_step_sees_the_warning_before_the_stop
(self)
lib/crewai/tests/tools/test_tool_failure.py:2277
Method
test_native_step_streak_completed_mid_batch_still_ends_the_step
(self)
lib/crewai/tests/tools/test_tool_failure.py:2254
Function
test_native_structured_output_async
(model)
lib/crewai/tests/llms/anthropic/test_anthropic.py:2055
Function
test_native_structured_output_async_streaming
(model)
lib/crewai/tests/llms/anthropic/test_anthropic.py:2101
Function
test_native_structured_output_keeps_caller_tools
The native path leaves the caller's tools in place; the fallback replaces them.
lib/crewai/tests/llms/anthropic/test_anthropic.py:2123
Function
test_native_structured_output_sync
Current Claude models ask the API for JSON directly, not via a forced tool.
lib/crewai/tests/llms/anthropic/test_anthropic.py:2032
Function
test_native_structured_output_sync_streaming
(model)
lib/crewai/tests/llms/anthropic/test_anthropic.py:2077
Function
test_native_tool_calling_error_handling
Test that native tool calling handles errors properly and emits error events.
lib/crewai/tests/agents/test_native_tool_calling.py:962
Function
test_native_tool_calling_uses_native_task_slice_in_prompt_slot
()
lib/crewai/tests/utilities/test_prompts_custom_templates.py:28
Method
test_native_tools_uses_native_task_slice
Test that native tool calling uses native_task slice.
lib/crewai/tests/utilities/test_prompts_no_thought_leakage.py:91
Function
test_native_trace_lifetime_includes_every_custom_reply
(monkeypatch, trace_scope)
lib/crewai/tests/telemetry/test_conversation_spans.py:69
Function
test_native_turn_and_stream_contracts_are_unchanged
()
lib/crewai/tests/test_flow_turns.py:226
Function
test_navigate_command
Test the 'navigate' command functionality.
lib/crewai-tools/tests/tools/stagehand_tool_test.py:156
Function
test_negative_context_window_size_is_rejected
(value: int)
lib/crewai/tests/llms/test_context_window.py:664
Function
test_negative_dot_threshold_filters_by_max_distance
(source)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1299
Method
test_negative_index
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:60
Method
test_negative_max_distance_raises
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:177
Function
test_negative_seconds_is_rejected
(tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:55
Function
test_negative_seconds_is_rejected_when_passed_positionally
(mock_sleep, tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:61
Method
test_neighbors_empty
(self)
lib/crewai/tests/test_event_record.py:92
Function
test_neither_agent_drops_a_message_when_the_tail_is_not_a_user_turn
The role-sequence check only agrees on a list ending in a user message. `Agent` has a task slot in its prompt and `LiteAgent` does not, so when t
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:99
Method
test_nested_agent_executor_flow_does_not_finalize_parent_batch
( self, )
lib/crewai/tests/test_flow_conversation.py:2182
Function
test_nested_and_or_conditions
Test nested conditions like or_(and_(A, B), and_(C, D)). Reproduces bug from issue #3719 where nested conditions are flattened, causing prema
lib/crewai/tests/test_flow.py:1228
Function
test_nested_consent_callbacks_restore_previous_context
(collector)
lib/crewai/tests/telemetry/test_session_trace_export.py:658
Method
test_nested_crew_completion_skips_finalize
(self)
lib/crewai/tests/test_flow_conversation.py:2097
Function
test_nested_execution_inherits_and_only_owner_clears
()
lib/crewai/tests/test_execution_uuid.py:50
Method
test_nested_filters_validated
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1061
Function
test_nested_memory_save_event_is_hidden_for_save_to_memory_tool
()
lib/cli/tests/test_crew_run_tui.py:1094
Method
test_nested_module_attribute
(self)
lib/crewai/tests/test_callback.py:227
Method
test_nested_object_creates_model
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:200
Method
test_nested_object_property_keeps_its_name
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:549
Function
test_nested_overlay_restores_the_outer_one
()
lib/crewai/tests/test_llm_overlay.py:90
Method
test_nested_push
(self)
lib/crewai/tests/events/test_event_context.py:43
Function
test_nested_python_definition_retains_package_parent_imports
(project)
lib/crewai/tests/project/test_agent_project.py:300
Function
test_nested_read_locks_same_thread
()
lib/crewai/tests/utilities/events/test_rw_lock.py:244
Method
test_nested_ref_resolution
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:774
Method
test_nested_scopes
(self)
lib/crewai/tests/events/test_event_context.py:166
Function
test_network_error_handling
(mock_post, tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:149
Function
test_never_cache_function_restores_without_opt_in
A restored never-cache tool is saved by name; restoring that checkpoint again must not need the opt-in, nor fall back to a default that caches.
lib/crewai/tests/tools/test_deserialization_guard.py:102
Method
test_never_raises_on_unexpected_input
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:466
Method
test_never_raises_returns_nones_or_coerces
(self, bad_input: Any)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:523
Function
test_never_returns_env_var_value
The detected name must never leak the environment variable's contents.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:358
Function
test_new_catalog_models_use_their_documented_context_windows
( model: str, sizes: dict[str, int], raw_context_window: int )
lib/crewai/tests/llms/test_context_window.py:162
Method
test_new_fields_default_to_zero
(self)
lib/crewai/tests/events/test_llm_usage_event.py:287
Method
test_new_version_nav_is_cloned_from_edge_not_previous
( self, tmp_path: Path )
lib/devtools/tests/test_docs_versioning.py:154
Function
test_news_refine_request_payload_passes_all_params
(news_tool)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:268
Function
test_news_search_end_to_end
(mock_get, news_tool)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:396
Method
test_next_chain_follows_sequence_order
(self)
lib/crewai/tests/test_event_record.py:229
Method
test_next_pending_property
Test next_pending returns the first pending item.
lib/crewai/tests/utilities/test_planning_types.py:197
Method
test_next_pending_returns_none_when_no_pending
Test next_pending returns None when no pending items.
lib/crewai/tests/utilities/test_planning_types.py:204
Function
test_next_tool_does_not_mark_unfinished_tool_successful
()
lib/cli/tests/test_crew_run_tui.py:990
Method
test_no_band_can_carry_a_precise_core_count
Every emittable value is a short opaque label, as for the sibling signals.
lib/crewai-core/tests/test_runtime_env.py:194
Method
test_no_blocked_by_hook_reason_exists
(self)
lib/crewai/tests/tools/test_tool_failure.py:1556
← previous
next →
15,801–15,900 of 19,264, ranked by callers