Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
Method
test_config_returns_config
(self)
lib/crewai/tests/test_checkpoint.py:51
Function
test_config_stream_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3643
Function
test_config_style_variables_are_not_used_as_markers
Persistent user config must never be treated as a session marker. crewai loads dotenv files on normal runs, so a committed AIDER_MODEL or GOO
lib/crewai/tests/telemetry/test_coding_agent_detection.py:195
Function
test_config_suppress_flow_events_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3614
Function
test_config_validation
()
lib/crewai-tools/tests/tools/snowflake_search_tool_test.py:86
Function
test_configure_structured_output_method_exists
Test that configure_structured_output method exists and can be called.
lib/crewai/tests/agents/agent_adapters/test_base_agent_adapter.py:102
Function
test_configure_tools
(tools_list)
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:46
Function
test_configure_tools_method_exists
Test that configure_tools method exists and can be called.
lib/crewai/tests/agents/agent_adapters/test_base_agent_adapter.py:91
Function
test_configured_api_key_is_not_asked_for
(tmp_path, monkeypatch)
lib/cli/tests/test_run_agent.py:395
Function
test_configured_project_declarative_flow
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
lib/cli/tests/test_flow_commands.py:107
Function
test_configured_project_declarative_flow_allows_normalized_project_path
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:151
Function
test_configured_project_declarative_flow_rejects_absolute_path
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:169
Function
test_configured_project_declarative_flow_rejects_directory
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:232
Function
test_configured_project_declarative_flow_rejects_missing_file
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:214
Function
test_configured_project_declarative_flow_rejects_symlink_escape
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:188
Function
test_configured_project_declarative_flow_rejects_unsafe_paths
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, definition: str, expected_error: str, )
lib/cli/tests/test_flow_commands.py:131
Function
test_configured_project_definition_rejects_empty_definition
( tmp_path: Path, )
lib/crewai-core/tests/test_smoke.py:163
Function
test_configured_project_definition_rejects_non_string_definition
( tmp_path: Path, )
lib/crewai-core/tests/test_smoke.py:145
Function
test_configured_project_definition_rejects_project_escape
(tmp_path: Path)
lib/crewai-core/tests/test_smoke.py:126
Function
test_configured_project_definition_resolves_project_local_file
( tmp_path: Path, )
lib/crewai-core/tests/test_smoke.py:104
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:194
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:83
Method
test_content_is_cached
Test that stream content is cached.
lib/crewai/tests/utilities/test_files.py:151
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:107
Method
test_content_type_detection
Test content type detection from bytes.
lib/crewai/tests/utilities/test_files.py:133
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
← previous
next →
12,301–12,400 of 19,735, ranked by callers