Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,482 in github.com/crewAIInc/crewAI
⨍
Functions
19,482
◇
Types & classes
3,433
↳
Endpoints
991
Function
test_configured_project_json_crew_defers_to_declared_flow_type
A flow project containing a stray crew.jsonc must still run as a flow.
lib/cli/tests/test_run_crew.py:1177
Function
test_configured_project_json_crew_ignores_declared_crew_without_definition
( monkeypatch, tmp_path: Path )
lib/cli/tests/test_run_crew.py:1201
Function
test_configured_project_json_crew_ignores_missing_pyproject
( monkeypatch, tmp_path: Path )
lib/cli/tests/test_run_crew.py:1211
Function
test_configured_project_json_crew_returns_declared_crew_definition
( monkeypatch, tmp_path: Path )
lib/cli/tests/test_run_crew.py:1188
Method
test_confirm_zip_input_only_confirms_env_vars
(self, mock_input)
lib/cli/tests/deploy/test_deploy_main.py:268
Method
test_connect_builds_connection_objects
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:599
Function
test_connect_cancelled_during_initialize_recovers_auth_on_transport_unwind
()
lib/crewai/tests/mcp/test_client_connect_auth.py:159
Function
test_connect_cancelled_with_auth_status_in_cleanup
()
lib/crewai/tests/mcp/test_client_connect_auth.py:57
Function
test_connect_cancelled_without_underlying_failure_emits_cancelled
()
lib/crewai/tests/mcp/test_client_connect_auth.py:94
Method
test_connect_opens_fresh_connection_each_call
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:609
Function
test_connect_raises_authentication_error_for_typed_transport_failure
()
lib/crewai/tests/mcp/test_client_connect_auth.py:124
Method
test_connect_resolves_packages_without_injection
Constructs the tool WITHOUT injecting db2_package / db2_dbi_package. Verifies that _connect() automatically resolves package fields from sys.
lib/crewai-tools/tests/tools/test_db2_search_tool.py:645
Function
test_connect_timeout_parameter
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:199
Function
test_connect_timeout_passed_to_mcpadapt
(mock_mcpadapt)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:223
Function
test_connect_timeout_with_filtered_tools
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:211
Method
test_connection_error_handling
Test handling of connection errors.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:318
Function
test_connection_error_raises_runtime_error
(mock_get, web_tool)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:475
Method
test_connection_error_returns_error_json
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:359
Function
test_connection_from_environment_and_no_secret_in_serialization
Verify environment configuration and connection-string redaction.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:74
Function
test_connection_object_is_not_loaded_from_settings
(monkeypatch, tmp_path, source)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:431
Method
test_connection_pool_usage
Test that connection pooling works correctly.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:290
Function
test_connection_pooling
(snowflake_tool, mock_snowflake_connection)
lib/crewai-tools/tests/tools/snowflake_search_tool_test.py:56
Method
test_connection_selects_clipper_api
(self, mock_get, mock_post)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:225
Method
test_consecutive_hyphens_raises
(self)
lib/crewai/tests/skills/test_validation.py:64
Function
test_consecutive_kickoffs_select_skills_without_cross_call_leakage
Each execution should independently choose its relevant skill.
lib/crewai/tests/skills/test_progressive_disclosure.py:118
Function
test_consent_callback_refuses_nonboolean_screen_results
(monkeypatch)
lib/cli/tests/test_trace_consent_session.py:176
Function
test_consent_timeout_or_cancellation_discards_without_requests
( collector, monkeypatch, failure )
lib/crewai/tests/telemetry/test_session_trace_export.py:627
Function
test_consent_timeout_returns_false_and_dismisses_modal
(monkeypatch)
lib/cli/tests/test_trace_consent_session.py:131
Function
test_consent_waits_for_finished_spans_and_gates_every_request
( collector, monkeypatch, approved )
lib/crewai/tests/telemetry/test_session_trace_export.py:573
Method
test_consistency_between_loaders
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:207
Method
test_consistent_doc_id
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:120
Method
test_console_formatter_pause_resume_methods_exist
Test that ConsoleFormatter pause/resume methods exist and are callable.
lib/crewai/tests/test_flow_human_input_integration.py:11
Method
test_console_provider_displays_message
ConsoleProvider displays the message with Rich console.
lib/crewai/tests/test_flow_ask.py:846
Method
test_console_provider_implements_protocol
ConsoleProvider satisfies the InputProvider protocol.
lib/crewai/tests/test_flow_ask.py:900
Method
test_console_provider_non_verbose
ConsoleProvider in non-verbose mode uses plain input.
lib/crewai/tests/test_flow_ask.py:865
Method
test_console_provider_pauses_live_updates
ConsoleProvider pauses and resumes formatter live updates.
lib/crewai/tests/test_flow_ask.py:827
Method
test_console_provider_strips_response
ConsoleProvider strips whitespace from response.
lib/crewai/tests/test_flow_ask.py:883
Method
test_consolidation_search_constrained_to_root_scope
Consolidation similarity search is constrained to root_scope.
lib/crewai/tests/memory/test_memory_root_scope.py:1126
Method
test_consolidation_search_without_root_scope
Consolidation without root_scope searches by explicit scope only.
lib/crewai/tests/memory/test_memory_root_scope.py:1157
Method
test_const_value
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:146
Function
test_constants_exposes_env_keys
()
lib/crewai-core/tests/test_smoke.py:39
Method
test_construction_needs_no_key
(self, provider: Provider, key: str | None)
lib/crewai/tests/llms/test_missing_api_key.py:406
Function
test_constructor_path_does_not_widen_the_sandbox
Declaring one file must not expose its siblings to the LLM.
lib/crewai-tools/tests/file_read_tool_test.py:346
Function
test_constructor_path_outside_working_directory_is_readable
A developer-declared file_path is trusted even outside the sandbox.
lib/crewai-tools/tests/file_read_tool_test.py:222
Method
test_contains
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:149
Method
test_contains
(self)
lib/crewai/tests/test_event_record.py:124
Method
test_contains_all_event_types
Verify SIGNAL_EVENT_TYPES contains all signal events.
lib/crewai/tests/events/types/test_system_events.py:119
Method
test_contains_takes_text_literally
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:358
Method
test_content_is_cached
Test that file content is cached after first read.
lib/crewai/tests/utilities/test_files.py:81
Method
test_content_is_cached
Test that stream content is cached.
lib/crewai/tests/utilities/test_files.py:149
Function
test_content_that_is_not_text_is_skipped
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:3215
Method
test_content_type_detection
Test content type detection from file content.
lib/crewai/tests/utilities/test_files.py:105
Method
test_content_type_detection
Test content type detection from bytes.
lib/crewai/tests/utilities/test_files.py:131
Method
test_content_type_fallback_unknown
Test content type falls back to octet-stream for unknown extensions.
lib/crewai-files/tests/test_file_url.py:75
Method
test_content_type_guessing_jpeg
Test content type guessing for JPEG files.
lib/crewai-files/tests/test_file_url.py:57
Method
test_content_type_guessing_pdf
Test content type guessing for PDF files.
lib/crewai-files/tests/test_file_url.py:63
Method
test_content_type_guessing_png
Test content type guessing for PNG files.
lib/crewai-files/tests/test_file_url.py:51
Method
test_content_type_guessing_with_query_params
Test content type guessing with URL query parameters.
lib/crewai-files/tests/test_file_url.py:69
Method
test_content_type_no_extension
Test content type for URL without extension.
lib/crewai-files/tests/test_file_url.py:81
Function
test_contested_provider_aliases_are_left_to_the_bare_index
()
lib/crewai/tests/llms/test_context_window.py:204
Method
test_context_initialization
Test that context is initialized correctly with executor.
lib/crewai/tests/hooks/test_llm_hooks.py:57
Method
test_context_initialization
Test that context is initialized correctly.
lib/crewai/tests/hooks/test_tool_hooks.py:74
Function
test_context_manager_releases_on_exception
()
lib/crewai/tests/utilities/events/test_rw_lock.py:171
Method
test_context_manager_return_value
Test that platform_context can be used in with statement with return value.
lib/crewai/tests/test_context.py:212
Function
test_context_manager_sse_with_filtered_tools
(echo_sse_server)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:146
Function
test_context_manager_syntax
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:77
Function
test_context_manager_syntax_sse
(echo_sse_server)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:90
Function
test_context_manager_with_filtered_tools
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:130
Function
test_context_no_future_tasks
(researcher, writer)
lib/crewai/tests/test_crew.py:226
Function
test_context_recovery_is_bounded
()
lib/crewai/tests/test_flow_context_compaction.py:155
Function
test_context_summarization_emits_failed_event_when_compaction_fails
()
lib/crewai/tests/utilities/test_agent_utils.py:139
Function
test_context_summarization_emits_lifecycle_events_with_llm_agent_and_task
()
lib/crewai/tests/utilities/test_agent_utils.py:103
Function
test_context_summarization_shows_triggered_and_completed_panels
()
lib/crewai/tests/utilities/test_agent_utils.py:71
Method
test_context_var_isolation_between_tests
Test that context variable changes don't leak between test methods.
lib/crewai/tests/test_context.py:203
Method
test_context_var_takes_precedence_over_env_var
(self)
lib/crewai/tests/test_context.py:46
Function
test_context_window_exceeded_error_handling
Test that litellm.ContextWindowExceededError is converted to LLMContextLengthExceededError.
lib/crewai/tests/test_llm.py:467
Function
test_context_window_preflight_triggers_only_above_usable_limit
The proactive threshold preserves the 15% context-window headroom.
lib/crewai/tests/test_llm.py:89
Function
test_context_window_validation
A published catalog limit is used as given.
lib/crewai/tests/test_llm.py:355
Method
test_context_with_response
Test that context includes response when provided.
lib/crewai/tests/hooks/test_llm_hooks.py:70
Method
test_context_with_result
Test that context includes result when provided.
lib/crewai/tests/hooks/test_tool_hooks.py:96
Method
test_continue_iteration
Test iteration continuation.
lib/crewai/tests/agents/test_agent_executor.py:474
Function
test_control_scope_prefix_stays_in_tenant
(storage: LanceDBStorage)
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:78
Method
test_conversation_config_drives_defer_flag
``ConversationConfig(defer_trace_finalization=...)`` controls whether a conversational subclass defers per-turn trace finalization.
lib/crewai/tests/test_flow_conversation.py:1912
Function
test_conversation_console_output_respects_verbose
(monkeypatch, capsys, console_listener, entrypoint, verbose)
lib/crewai/tests/agents/test_conversation.py:89
Function
test_conversation_exports_routes_and_custom_replies
( monkeypatch, quiet, trace_scope )
lib/crewai/tests/telemetry/test_conversation_spans.py:23
Function
test_conversation_hitl_pause_is_not_a_completed_turn
( in_memory_grant_collectors, monkeypatch, tmp_path, streamed, authenticated )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:508
Function
test_conversation_input_submits_turn
(defer_trace_finalization)
lib/cli/tests/test_crew_run_tui.py:795
Function
test_conversation_pause_closes_root_before_resume
(monkeypatch, tmp_path, quiet)
lib/crewai/tests/telemetry/test_conversation_spans.py:188
Function
test_conversation_quit_can_ask_for_deferred_session_consent
(monkeypatch)
lib/cli/tests/test_trace_consent_session.py:185
Method
test_conversation_state_is_implied_when_none_declared
(self)
lib/crewai/tests/test_flow_conversation.py:3172
Method
test_conversation_turn_completed_tracks_feature_usage
Completed conversation turns count conversational Flow usage.
lib/crewai/tests/test_flow_conversation.py:1323
Function
test_conversation_turn_done_records_assistant_message
()
lib/cli/tests/test_crew_run_tui.py:775
Function
test_conversation_turns_finish_and_resume_with_stable_identity
( in_memory_grant_collectors, monkeypatch, tmp_path, streamed, authenticated )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:443
Function
test_conversational_block_can_be_explicitly_disabled
()
lib/crewai/tests/test_flow_definition.py:483
Method
test_conversational_flow_auto_defaults_to_conversation_state
``class C(Flow): conversational = True`` resolves state to ConversationState. Pins the auto-default in ``_create_initial_state``: when the us
lib/crewai/tests/test_flow_conversation.py:1012
Function
test_conversational_flow_does_not_take_the_steps_tui
The STEPS TUI renders method progress and cannot drive a chat turn.
lib/cli/tests/test_run_declarative_flow.py:708
Function
test_conversational_flow_headless_explains_instead_of_one_turn
( tmp_path: Path, capsys: pytest.CaptureFixture[str], monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_run_declarative_flow.py:825
Function
test_conversational_flow_rejects_an_empty_inputs_object
`--inputs '{}'` asked for something unsupported; answer it, don't ignore it.
lib/cli/tests/test_run_declarative_flow.py:752
Function
test_conversational_flow_rejects_inputs
`--inputs` has nowhere to go: handle_turn owns the kickoff inputs.
lib/cli/tests/test_run_declarative_flow.py:728
Function
test_conversational_flow_without_inputs_still_opens_the_tui
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_run_declarative_flow.py:775
← previous
next →
12,201–12,300 of 19,482, ranked by callers