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
Function
test_explicit_custom_openai_uses_legacy_api_base_env_var
Explicit custom routing supports the legacy endpoint environment variable.
lib/crewai/tests/llms/openai/test_openai.py:134
Function
test_explicit_data_definition_uses_project_root_for_custom_tools
( data_project, extension )
lib/crewai/tests/project/test_agent_project.py:174
Function
test_explicit_data_definition_wins_over_default_python
(project)
lib/crewai/tests/project/test_agent_project.py:203
Function
test_explicit_definition_cannot_escape_project
(data_project, tmp_path)
lib/crewai/tests/project/test_agent_project.py:271
Function
test_explicit_disable_prevents_first_time_collection
(monkeypatch, disabled)
lib/crewai/tests/telemetry/test_trace_lifecycle.py:310
Function
test_explicit_doc_id_is_kept
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:153
Function
test_explicit_embedding_callable_does_not_need_chromadb
(monkeypatch)
lib/crewai/tests/rag/embeddings/test_chromadb_optional_providers.py:130
Method
test_explicit_flag_without_a_config_still_opts_in
(self)
lib/crewai/tests/test_flow_conversation.py:2327
Function
test_explicit_headers_are_not_replaced_by_the_environment
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/tools/test_weaviate_tool.py:21
Function
test_explicit_headers_do_not_require_openai_env
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/tools/test_weaviate_tool.py:32
Method
test_explicit_key_is_used_unchanged
(self)
lib/crewai/tests/llms/test_missing_api_key.py:426
Function
test_explicit_kind_unwraps_a_fenced_reply
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:884
Method
test_explicit_kwargs_override_introspection
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:217
Function
test_explicit_llm_is_used_over_complexity_map
An explicitly provided LLM takes precedence over the complexity map.
lib/crewai-tools/tests/tools/test_vision_tool.py:21
Method
test_explicit_max_tokens_takes_precedence
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:313
Function
test_explicit_model_overrides_complexity_map
VisionTool(model="custom") must use "custom", not the complexity map.
lib/crewai-tools/tests/tools/test_vision_tool.py:33
Method
test_explicit_organization_uses_base_url_from_settings
( self, mock_settings_class )
lib/crewai/tests/cli/test_plus_api.py:429
Function
test_explicit_path_is_used_as_given
(tmp_path, monkeypatch)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:182
Method
test_explicit_provider_creates_native_snowflake_provider
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:121
Function
test_explicit_provider_kwarg_takes_priority
Test that explicit provider kwarg takes priority over model name inference.
lib/crewai/tests/test_llm.py:1227
Method
test_explicit_public_visibility_still_publishes
(self)
lib/crewai/tests/test_flow_conversation.py:3651
Function
test_explicit_python_definition_loads_selected_filename
(data_project, filename)
lib/crewai/tests/project/test_agent_project.py:281
Function
test_explicit_python_filename_supports_relative_imports
(project)
lib/crewai/tests/project/test_agent_project.py:210
Function
test_explicit_qdrant_embedder_is_wrapped_for_the_qdrant_client
(created_config)
lib/crewai-tools/tests/tools/rag/test_rag_tool_default_provider.py:64
Method
test_explicit_responses_is_honoured
(self)
lib/crewai/tests/llms/openai/test_responses_only_models.py:177
Method
test_explicit_result_schema_wins_over_return_annotation
(self)
lib/crewai/tests/tools/test_base_tool.py:534
Method
test_explicit_setting_is_forwarded_whatever_the_name
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:458
Function
test_explicit_storage_bypasses_factory
()
lib/crewai/tests/knowledge/test_storage_factory.py:93
Function
test_explicit_storage_instance_bypasses_factory
()
lib/crewai/tests/memory/test_storage_factory.py:58
Method
test_explicit_string_wins_over_model_env
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_human_feedback_decorator.py:169
Method
test_explicit_target_takes_precedence
(self)
lib/crewai/tests/cli/test_plus_api.py:404
Function
test_explicit_trace_scope_wins_over_legacy_flags
(scope, expected, legacy_defer)
lib/crewai/tests/test_flow_conversation.py:3776
Method
test_explicit_type
(self)
lib/crewai-tools/tests/rag/test_data_types.py:101
Function
test_explicit_vectors_config_wins_over_embedder_dimension
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:83
Method
test_export_evaluation
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:125
Function
test_export_output_accepts_pydantic_input
Regression test for #5458: _export_output must not crash with TypeError when called with a Pydantic instance (e.g. when an upstream caller passes
lib/crewai/tests/test_task_guardrails.py:686
Function
test_export_writes_every_file_and_a_gitignore_and_exits_0
(project, monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:2916
Function
test_exported_from_package
()
lib/crewai-tools/tests/tools/wait_tool_test.py:197
Function
test_exporting_again_overwrites_the_files
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2942
Function
test_expression_action_can_route_like_if_else
()
lib/crewai/tests/test_flow_from_definition.py:3253
Function
test_expression_action_can_use_now
()
lib/crewai/tests/test_flow_from_definition.py:3229
Function
test_expression_action_rejects_unknown_cel_root
()
lib/crewai/tests/test_flow_from_definition.py:3308
Function
test_expression_action_reports_invalid_cel_expression
()
lib/crewai/tests/test_flow_from_definition.py:3292
Function
test_expression_action_round_trips
()
lib/crewai/tests/test_flow_from_definition.py:3033
Function
test_expression_empty_context_overrides_stored_context
()
lib/crewai/tests/test_flow_from_definition.py:3097
Function
test_expression_from_flow_uses_run_frozen_now
()
lib/crewai/tests/test_flow_from_definition.py:3216
Function
test_expression_keeps_short_circuited_cel_errors
Errors that CEL logic intentionally silences must still evaluate.
lib/crewai/tests/test_flow_from_definition.py:3145
Function
test_expression_local_context_recurses_into_dataclass_values
()
lib/crewai/tests/test_flow_from_definition.py:3077
Function
test_expression_nested_cel_eval_error_reports_underlying_cause
()
lib/crewai/tests/test_flow_from_definition.py:3136
Function
test_expression_now_defaults_to_current_time
()
lib/crewai/tests/test_flow_from_definition.py:3183
Function
test_expression_now_evaluates_with_frozen_timestamp
()
lib/crewai/tests/test_flow_from_definition.py:3165
Function
test_expression_now_passes_root_validation
()
lib/crewai/tests/test_flow_from_definition.py:3208
Function
test_expression_now_renders_in_templates
()
lib/crewai/tests/test_flow_from_definition.py:3193
Function
test_expression_raises_for_cel_eval_error_returned_as_data
celpy returns a map literal holding a CELEvalError instead of raising it.
lib/crewai/tests/test_flow_from_definition.py:3128
Function
test_expression_template_empty_context_overrides_stored_context
()
lib/crewai/tests/test_flow_from_definition.py:3107
Method
test_extend
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:81
Method
test_extended_write_commands_blocked_by_default
(self, stmt: str)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:507
Function
test_extension_from_requested_url_survives_a_redirect
A .pdf link that redirects to an extensionless path is still extracted. Presigned CDN targets routinely drop the extension and serve octet-stream
lib/crewai-tools/tests/url_read_tool_test.py:295
Function
test_extension_mismatch
(_, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:80
Function
test_extra_arguments_are_passed_to_openai_completion
Test that extra arguments are passed to OpenAICompletion
lib/crewai/tests/llms/openai/test_openai.py:552
Function
test_extra_kwargs_travel_within_a_class
`additional_params` are the class's own extra kwargs: the native SDK's on a native class, LiteLLM's on the LiteLLM one. They follow a swap that st
lib/crewai/tests/utilities/test_create_llm_like.py:87
Function
test_extract_available_exports_empty_init_file
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:42
Function
test_extract_available_exports_empty_project
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:25
Function
test_extract_available_exports_import_error
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:136
Function
test_extract_available_exports_multiple_valid_tools
(temp_project_dir)
lib/crewai/tests/cli/test_utils.py:96
Function
test_extract_available_exports_no_all_variable
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:51
Function
test_extract_available_exports_no_init_file
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:33
Function
test_extract_available_exports_syntax_error
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:154
Function
test_extract_available_exports_valid_base_tool_class
(temp_project_dir)
lib/crewai/tests/cli/test_utils.py:63
Function
test_extract_available_exports_valid_tool_decorator
(temp_project_dir)
lib/crewai/tests/cli/test_utils.py:79
Function
test_extract_available_exports_with_invalid_tool_decorator
(temp_project_dir)
lib/crewai/tests/cli/test_utils.py:117
Function
test_extract_basic_tool_info
(mock_tool_extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:111
Function
test_extract_command
Test the 'extract' command functionality.
lib/crewai-tools/tests/tools/stagehand_tool_test.py:179
Function
test_extract_env_vars
(mock_tool_extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:156
Method
test_extract_id
(self)
lib/crewai/tests/test_checkpoint.py:456
Method
test_extract_id
(self)
lib/crewai/tests/test_checkpoint.py:566
Function
test_extract_init_params_schema
(mock_tool_extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:129
Function
test_extract_knowledge_context_filters_invalid_results
Test that extract_knowledge_context filters out invalid results.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:110
Function
test_extract_knowledge_context_with_empty_content
Test extract_knowledge_context handles empty or invalid content.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:97
Function
test_extract_knowledge_context_with_searchresult
Test extract_knowledge_context works with SearchResult format.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:76
Function
test_extract_memories_llm_failure_returns_raw
When LLM raises, extract_memories_from_content returns [content].
lib/crewai/tests/memory/test_unified_memory.py:848
Function
test_extract_oracle_error_code_handles_missing_code
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:959
Function
test_extract_package_dependencies
(mock_tool_extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:200
Function
test_extract_run_params_schema
(mock_tool_extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:172
Function
test_extract_tools_metadata_empty_init_file
Test that extract_tools_metadata returns empty list for empty __init__.py.
lib/crewai/tests/cli/test_utils.py:291
Function
test_extract_tools_metadata_empty_project
Test that extract_tools_metadata returns empty list for empty project.
lib/crewai/tests/cli/test_utils.py:278
Function
test_extract_tools_metadata_ignores_non_tool_exports
Test that extract_tools_metadata ignores non-BaseTool exports.
lib/crewai/tests/cli/test_utils.py:499
Function
test_extract_tools_metadata_import_error_returns_empty
Test that extract_tools_metadata returns empty list on import error.
lib/crewai/tests/cli/test_utils.py:522
Function
test_extract_tools_metadata_multiple_init_files
Test that extract_tools_metadata extracts metadata from multiple __init__.py files.
lib/crewai/tests/cli/test_utils.py:464
Function
test_extract_tools_metadata_multiple_tools
Test that extract_tools_metadata extracts metadata from multiple tools.
lib/crewai/tests/cli/test_utils.py:440
Function
test_extract_tools_metadata_no_all_variable
Test that extract_tools_metadata returns empty list when __all__ is not defined.
lib/crewai/tests/cli/test_utils.py:298
Function
test_extract_tools_metadata_no_init_file
Test that extract_tools_metadata returns empty list when no __init__.py exists.
lib/crewai/tests/cli/test_utils.py:284
Function
test_extract_tools_metadata_syntax_error_returns_empty
Test that extract_tools_metadata returns empty list on syntax error.
lib/crewai/tests/cli/test_utils.py:538
Function
test_extract_tools_metadata_valid_base_tool_class
Test that extract_tools_metadata extracts metadata from a valid BaseTool class.
lib/crewai/tests/cli/test_utils.py:308
Function
test_extract_tools_metadata_with_args_schema
Test that extract_tools_metadata extracts run_params_schema from args_schema.
lib/crewai/tests/cli/test_utils.py:328
Function
test_extract_tools_metadata_with_custom_init_params
Test that extract_tools_metadata extracts init_params_schema with custom params.
lib/crewai/tests/cli/test_utils.py:415
Function
test_extract_tools_metadata_with_env_vars
Test that extract_tools_metadata extracts env_vars.
lib/crewai/tests/cli/test_utils.py:356
Function
test_extract_tools_metadata_with_env_vars_field_default_factory
Test that extract_tools_metadata extracts env_vars declared with Field(default_factory=...).
lib/crewai/tests/cli/test_utils.py:386
Method
test_extract_zip
(self, cmd, tmp_path)
lib/crewai/tests/cli/remote_template/test_main.py:179
Method
test_extracts_arguments_from_top_level
Previously fell through to `input` and silently yielded {}.
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:55
← previous
next →
13,701–13,800 of 19,735, ranked by callers