MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Functiontest_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
Functiontest_configured_project_json_crew_ignores_declared_crew_without_definition
( monkeypatch, tmp_path: Path )
lib/cli/tests/test_run_crew.py:1201
Functiontest_configured_project_json_crew_ignores_missing_pyproject
( monkeypatch, tmp_path: Path )
lib/cli/tests/test_run_crew.py:1211
Functiontest_configured_project_json_crew_returns_declared_crew_definition
( monkeypatch, tmp_path: Path )
lib/cli/tests/test_run_crew.py:1188
Methodtest_confirm_zip_input_only_confirms_env_vars
(self, mock_input)
lib/cli/tests/deploy/test_deploy_main.py:268
Methodtest_connect_builds_connection_objects
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:599
Functiontest_connect_cancelled_during_initialize_recovers_auth_on_transport_unwind
()
lib/crewai/tests/mcp/test_client_connect_auth.py:159
Functiontest_connect_cancelled_with_auth_status_in_cleanup
()
lib/crewai/tests/mcp/test_client_connect_auth.py:57
Functiontest_connect_cancelled_without_underlying_failure_emits_cancelled
()
lib/crewai/tests/mcp/test_client_connect_auth.py:94
Methodtest_connect_opens_fresh_connection_each_call
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:609
Functiontest_connect_raises_authentication_error_for_typed_transport_failure
()
lib/crewai/tests/mcp/test_client_connect_auth.py:124
Methodtest_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
Functiontest_connect_timeout_parameter
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:199
Functiontest_connect_timeout_passed_to_mcpadapt
(mock_mcpadapt)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:223
Functiontest_connect_timeout_with_filtered_tools
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:211
Methodtest_connection_error_handling
Test handling of connection errors.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:318
Functiontest_connection_error_raises_runtime_error
(mock_get, web_tool)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:475
Methodtest_connection_error_returns_error_json
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:359
Functiontest_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
Functiontest_connection_object_is_not_loaded_from_settings
(monkeypatch, tmp_path, source)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:431
Methodtest_connection_pool_usage
Test that connection pooling works correctly.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:290
Functiontest_connection_pooling
(snowflake_tool, mock_snowflake_connection)
lib/crewai-tools/tests/tools/snowflake_search_tool_test.py:56
Methodtest_connection_selects_clipper_api
(self, mock_get, mock_post)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:225
Methodtest_consecutive_hyphens_raises
(self)
lib/crewai/tests/skills/test_validation.py:64
Functiontest_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
Functiontest_consent_callback_refuses_nonboolean_screen_results
(monkeypatch)
lib/cli/tests/test_trace_consent_session.py:176
Functiontest_consent_timeout_or_cancellation_discards_without_requests
( collector, monkeypatch, failure )
lib/crewai/tests/telemetry/test_session_trace_export.py:627
Functiontest_consent_timeout_returns_false_and_dismisses_modal
(monkeypatch)
lib/cli/tests/test_trace_consent_session.py:131
Functiontest_consent_waits_for_finished_spans_and_gates_every_request
( collector, monkeypatch, approved )
lib/crewai/tests/telemetry/test_session_trace_export.py:573
Methodtest_consistency_between_loaders
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:207
Methodtest_consistent_doc_id
(self)
lib/crewai-tools/tests/rag/test_json_loader.py:120
Methodtest_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
Methodtest_console_provider_displays_message
ConsoleProvider displays the message with Rich console.
lib/crewai/tests/test_flow_ask.py:846
Methodtest_console_provider_implements_protocol
ConsoleProvider satisfies the InputProvider protocol.
lib/crewai/tests/test_flow_ask.py:900
Methodtest_console_provider_non_verbose
ConsoleProvider in non-verbose mode uses plain input.
lib/crewai/tests/test_flow_ask.py:865
Methodtest_console_provider_pauses_live_updates
ConsoleProvider pauses and resumes formatter live updates.
lib/crewai/tests/test_flow_ask.py:827
Methodtest_console_provider_strips_response
ConsoleProvider strips whitespace from response.
lib/crewai/tests/test_flow_ask.py:883
Methodtest_consolidation_search_constrained_to_root_scope
Consolidation similarity search is constrained to root_scope.
lib/crewai/tests/memory/test_memory_root_scope.py:1126
Methodtest_consolidation_search_without_root_scope
Consolidation without root_scope searches by explicit scope only.
lib/crewai/tests/memory/test_memory_root_scope.py:1157
Methodtest_const_value
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:146
Functiontest_constants_exposes_env_keys
()
lib/crewai-core/tests/test_smoke.py:39
Methodtest_construction_needs_no_key
(self, provider: Provider, key: str | None)
lib/crewai/tests/llms/test_missing_api_key.py:406
Functiontest_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
Functiontest_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
Methodtest_contains
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:149
Methodtest_contains
(self)
lib/crewai/tests/test_event_record.py:124
Methodtest_contains_all_event_types
Verify SIGNAL_EVENT_TYPES contains all signal events.
lib/crewai/tests/events/types/test_system_events.py:119
Methodtest_contains_takes_text_literally
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:358
Methodtest_content_is_cached
Test that file content is cached after first read.
lib/crewai/tests/utilities/test_files.py:81
Methodtest_content_is_cached
Test that stream content is cached.
lib/crewai/tests/utilities/test_files.py:149
Functiontest_content_that_is_not_text_is_skipped
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:3215
Methodtest_content_type_detection
Test content type detection from file content.
lib/crewai/tests/utilities/test_files.py:105
Methodtest_content_type_detection
Test content type detection from bytes.
lib/crewai/tests/utilities/test_files.py:131
Methodtest_content_type_fallback_unknown
Test content type falls back to octet-stream for unknown extensions.
lib/crewai-files/tests/test_file_url.py:75
Methodtest_content_type_guessing_jpeg
Test content type guessing for JPEG files.
lib/crewai-files/tests/test_file_url.py:57
Methodtest_content_type_guessing_pdf
Test content type guessing for PDF files.
lib/crewai-files/tests/test_file_url.py:63
Methodtest_content_type_guessing_png
Test content type guessing for PNG files.
lib/crewai-files/tests/test_file_url.py:51
Methodtest_content_type_guessing_with_query_params
Test content type guessing with URL query parameters.
lib/crewai-files/tests/test_file_url.py:69
Methodtest_content_type_no_extension
Test content type for URL without extension.
lib/crewai-files/tests/test_file_url.py:81
Functiontest_contested_provider_aliases_are_left_to_the_bare_index
()
lib/crewai/tests/llms/test_context_window.py:204
Methodtest_context_initialization
Test that context is initialized correctly with executor.
lib/crewai/tests/hooks/test_llm_hooks.py:57
Methodtest_context_initialization
Test that context is initialized correctly.
lib/crewai/tests/hooks/test_tool_hooks.py:74
Functiontest_context_manager_releases_on_exception
()
lib/crewai/tests/utilities/events/test_rw_lock.py:171
Methodtest_context_manager_return_value
Test that platform_context can be used in with statement with return value.
lib/crewai/tests/test_context.py:212
Functiontest_context_manager_sse_with_filtered_tools
(echo_sse_server)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:146
Functiontest_context_manager_syntax
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:77
Functiontest_context_manager_syntax_sse
(echo_sse_server)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:90
Functiontest_context_manager_with_filtered_tools
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:130
Functiontest_context_no_future_tasks
(researcher, writer)
lib/crewai/tests/test_crew.py:226
Functiontest_context_recovery_is_bounded
()
lib/crewai/tests/test_flow_context_compaction.py:155
Functiontest_context_summarization_emits_failed_event_when_compaction_fails
()
lib/crewai/tests/utilities/test_agent_utils.py:139
Functiontest_context_summarization_emits_lifecycle_events_with_llm_agent_and_task
()
lib/crewai/tests/utilities/test_agent_utils.py:103
Functiontest_context_summarization_shows_triggered_and_completed_panels
()
lib/crewai/tests/utilities/test_agent_utils.py:71
Methodtest_context_var_isolation_between_tests
Test that context variable changes don't leak between test methods.
lib/crewai/tests/test_context.py:203
Methodtest_context_var_takes_precedence_over_env_var
(self)
lib/crewai/tests/test_context.py:46
Functiontest_context_window_exceeded_error_handling
Test that litellm.ContextWindowExceededError is converted to LLMContextLengthExceededError.
lib/crewai/tests/test_llm.py:467
Functiontest_context_window_preflight_triggers_only_above_usable_limit
The proactive threshold preserves the 15% context-window headroom.
lib/crewai/tests/test_llm.py:89
Functiontest_context_window_validation
A published catalog limit is used as given.
lib/crewai/tests/test_llm.py:355
Methodtest_context_with_response
Test that context includes response when provided.
lib/crewai/tests/hooks/test_llm_hooks.py:70
Methodtest_context_with_result
Test that context includes result when provided.
lib/crewai/tests/hooks/test_tool_hooks.py:96
Methodtest_continue_iteration
Test iteration continuation.
lib/crewai/tests/agents/test_agent_executor.py:474
Functiontest_control_scope_prefix_stays_in_tenant
(storage: LanceDBStorage)
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:78
Methodtest_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
Functiontest_conversation_console_output_respects_verbose
(monkeypatch, capsys, console_listener, entrypoint, verbose)
lib/crewai/tests/agents/test_conversation.py:89
Functiontest_conversation_exports_routes_and_custom_replies
( monkeypatch, quiet, trace_scope )
lib/crewai/tests/telemetry/test_conversation_spans.py:23
Functiontest_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
Functiontest_conversation_input_submits_turn
(defer_trace_finalization)
lib/cli/tests/test_crew_run_tui.py:795
Functiontest_conversation_pause_closes_root_before_resume
(monkeypatch, tmp_path, quiet)
lib/crewai/tests/telemetry/test_conversation_spans.py:188
Functiontest_conversation_quit_can_ask_for_deferred_session_consent
(monkeypatch)
lib/cli/tests/test_trace_consent_session.py:185
Methodtest_conversation_state_is_implied_when_none_declared
(self)
lib/crewai/tests/test_flow_conversation.py:3172
Methodtest_conversation_turn_completed_tracks_feature_usage
Completed conversation turns count conversational Flow usage.
lib/crewai/tests/test_flow_conversation.py:1323
Functiontest_conversation_turn_done_records_assistant_message
()
lib/cli/tests/test_crew_run_tui.py:775
Functiontest_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
Functiontest_conversational_block_can_be_explicitly_disabled
()
lib/crewai/tests/test_flow_definition.py:483
Methodtest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_conversational_flow_rejects_inputs
`--inputs` has nowhere to go: handle_turn owns the kickoff inputs.
lib/cli/tests/test_run_declarative_flow.py:728
Functiontest_conversational_flow_without_inputs_still_opens_the_tui
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_run_declarative_flow.py:775
← previousnext →12,201–12,300 of 19,482, ranked by callers