MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

Functiontest_experimental_conversational_mixin_aliases_stable_module
()
lib/crewai/tests/test_experimental_conversational_shim.py:42
Functiontest_experimental_conversational_module_aliases_stable_module
()
lib/crewai/tests/test_experimental_conversational_shim.py:17
Functiontest_experimental_namespace_reexports_public_names
()
lib/crewai/tests/skills/test_experimental_shim.py:4
Functiontest_experimental_namespace_reexports_stable_types
()
lib/crewai/tests/test_experimental_conversational_shim.py:24
Functiontest_experimental_submodule_imports_alias_real_modules
Old submodule import style must resolve to the crewai.skills modules.
lib/crewai/tests/skills/test_experimental_shim.py:19
Functiontest_expired_grant_is_renewed_for_same_execution
(collector)
lib/crewai/tests/telemetry/test_session_trace_export.py:555
Methodtest_explain_allowed
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:65
Methodtest_explain_analyse_delete_blocked_in_read_only
British spelling ANALYSE is also caught.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:379
Methodtest_explain_analyze_delete_allowed_when_dml_enabled
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:399
Methodtest_explain_analyze_delete_blocked_in_read_only
EXPLAIN ANALYZE DELETE actually runs the delete — block it.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:373
Methodtest_explain_analyze_delete_triggers_commit
EXPLAIN ANALYZE DELETE should trigger commit when allow_dml=True.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:549
Methodtest_explain_analyze_drop_blocked_in_read_only
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:385
Methodtest_explain_analyze_select_allowed_in_read_only
EXPLAIN ANALYZE on a SELECT is safe — must be permitted.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:390
Methodtest_explain_analyze_verbose_delete_blocked
EXPLAIN ANALYZE VERBOSE DELETE should be blocked.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:519
Methodtest_explain_analyze_verbose_select_allowed
EXPLAIN ANALYZE VERBOSE SELECT should be allowed (read-only).
lib/crewai-tools/tests/tools/test_nl2sql_security.py:514
Methodtest_explain_paren_analyze_delete_blocked_in_read_only
EXPLAIN (ANALYZE) DELETE actually runs the delete — block it.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:403
Methodtest_explain_paren_analyze_verbose_delete_blocked_in_read_only
EXPLAIN (ANALYZE, VERBOSE) DELETE actually runs the delete — block it.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:409
Methodtest_explain_paren_verbose_select_allowed_in_read_only
EXPLAIN (VERBOSE) SELECT is safe — no ANALYZE means no execution.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:415
Methodtest_explain_verbose_select_allowed
EXPLAIN VERBOSE SELECT (no ANALYZE) should be allowed.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:525
Methodtest_explain_without_analyze_allowed
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:395
Methodtest_explicit_api_key_overrides_env
Test explicit API key overrides environment variable.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:191
Methodtest_explicit_base_url_overrides_all
Test explicit base URL overrides env and config.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:226
Methodtest_explicit_base_url_uses_organization_from_settings
( self, mock_settings_class )
lib/crewai/tests/cli/test_plus_api.py:417
Methodtest_explicit_cache_false_stays_off_even_with_handler
(self)
lib/crewai/tests/test_tool_cache_default.py:184
Functiontest_explicit_cel_fields_accept_expression_markers
()
lib/crewai/tests/test_flow_from_definition.py:2943
Methodtest_explicit_config_matches_implicit_planning
Agent(planning=True) and Agent(planning=True, planning_config=PlanningConfig()) should produce the same reasoning_effort.
lib/crewai/tests/agents/test_agent_executor.py:3387
Functiontest_explicit_context_window_size_does_not_warn
( caplog: pytest.LogCaptureFixture, )
lib/crewai/tests/llms/test_context_window.py:629
Functiontest_explicit_context_window_size_is_honored_by_every_provider
( kwargs: dict[str, object], )
lib/crewai/tests/llms/test_context_window.py:493
Functiontest_explicit_context_window_size_is_honored_from_an_llm_config_dict
()
lib/crewai/tests/llms/test_context_window.py:772
Functiontest_explicit_context_window_size_is_honored_when_building_a_native_class
()
lib/crewai/tests/llms/test_context_window.py:504
Functiontest_explicit_context_window_size_is_not_sent_to_the_provider
()
lib/crewai/tests/llms/test_context_window.py:520
Functiontest_explicit_context_window_size_moves_the_deferral_and_compaction_gates
()
lib/crewai/tests/llms/test_context_window.py:645
Functiontest_explicit_context_window_size_survives_an_agent_checkpoint_round_trip
( kwargs: dict[str, object], )
lib/crewai/tests/llms/test_context_window.py:709
Functiontest_explicit_context_window_size_survives_to_config_dict
()
lib/crewai/tests/llms/test_context_window.py:762
Functiontest_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
Functiontest_explicit_data_definition_uses_project_root_for_custom_tools
( data_project, extension )
lib/crewai/tests/project/test_agent_project.py:174
Functiontest_explicit_data_definition_wins_over_default_python
(project)
lib/crewai/tests/project/test_agent_project.py:203
Functiontest_explicit_definition_cannot_escape_project
(data_project, tmp_path)
lib/crewai/tests/project/test_agent_project.py:271
Functiontest_explicit_disable_prevents_first_time_collection
(monkeypatch, disabled)
lib/crewai/tests/telemetry/test_trace_lifecycle.py:310
Functiontest_explicit_embedding_callable_does_not_need_chromadb
(monkeypatch)
lib/crewai/tests/rag/embeddings/test_chromadb_optional_providers.py:130
Methodtest_explicit_flag_without_a_config_still_opts_in
(self)
lib/crewai/tests/test_flow_conversation.py:2327
Methodtest_explicit_key_is_used_unchanged
(self)
lib/crewai/tests/llms/test_missing_api_key.py:426
Methodtest_explicit_kwargs_override_introspection
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:217
Functiontest_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
Methodtest_explicit_max_tokens_takes_precedence
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:313
Functiontest_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
Methodtest_explicit_organization_uses_base_url_from_settings
( self, mock_settings_class )
lib/crewai/tests/cli/test_plus_api.py:429
Methodtest_explicit_provider_creates_native_snowflake_provider
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:121
Functiontest_explicit_provider_kwarg_takes_priority
Test that explicit provider kwarg takes priority over model name inference.
lib/crewai/tests/test_llm.py:1227
Methodtest_explicit_public_visibility_still_publishes
(self)
lib/crewai/tests/test_flow_conversation.py:3651
Functiontest_explicit_python_definition_loads_selected_filename
(data_project, filename)
lib/crewai/tests/project/test_agent_project.py:281
Functiontest_explicit_python_filename_supports_relative_imports
(project)
lib/crewai/tests/project/test_agent_project.py:210
Methodtest_explicit_responses_is_honoured
(self)
lib/crewai/tests/llms/openai/test_responses_only_models.py:177
Methodtest_explicit_result_schema_wins_over_return_annotation
(self)
lib/crewai/tests/tools/test_base_tool.py:534
Methodtest_explicit_setting_is_forwarded_whatever_the_name
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:458
Functiontest_explicit_storage_bypasses_factory
()
lib/crewai/tests/knowledge/test_storage_factory.py:93
Functiontest_explicit_storage_instance_bypasses_factory
()
lib/crewai/tests/memory/test_storage_factory.py:58
Methodtest_explicit_string_wins_over_model_env
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_human_feedback_decorator.py:169
Methodtest_explicit_target_takes_precedence
(self)
lib/crewai/tests/cli/test_plus_api.py:404
Functiontest_explicit_trace_scope_wins_over_legacy_flags
(scope, expected, legacy_defer)
lib/crewai/tests/test_flow_conversation.py:3776
Methodtest_explicit_type
(self)
lib/crewai-tools/tests/rag/test_data_types.py:44
Methodtest_export_evaluation
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:125
Functiontest_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:684
Functiontest_export_writes_every_file_and_a_gitignore_and_exits_0
(project, monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:2916
Functiontest_exported_from_package
()
lib/crewai-tools/tests/tools/wait_tool_test.py:197
Functiontest_exporting_again_overwrites_the_files
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2942
Functiontest_expression_action_can_route_like_if_else
()
lib/crewai/tests/test_flow_from_definition.py:3139
Functiontest_expression_action_can_use_now
()
lib/crewai/tests/test_flow_from_definition.py:3115
Functiontest_expression_action_rejects_unknown_cel_root
()
lib/crewai/tests/test_flow_from_definition.py:3194
Functiontest_expression_action_reports_invalid_cel_expression
()
lib/crewai/tests/test_flow_from_definition.py:3178
Functiontest_expression_action_round_trips
()
lib/crewai/tests/test_flow_from_definition.py:2919
Functiontest_expression_empty_context_overrides_stored_context
()
lib/crewai/tests/test_flow_from_definition.py:2983
Functiontest_expression_from_flow_uses_run_frozen_now
()
lib/crewai/tests/test_flow_from_definition.py:3102
Functiontest_expression_keeps_short_circuited_cel_errors
Errors that CEL logic intentionally silences must still evaluate.
lib/crewai/tests/test_flow_from_definition.py:3031
Functiontest_expression_local_context_recurses_into_dataclass_values
()
lib/crewai/tests/test_flow_from_definition.py:2963
Functiontest_expression_nested_cel_eval_error_reports_underlying_cause
()
lib/crewai/tests/test_flow_from_definition.py:3022
Functiontest_expression_now_defaults_to_current_time
()
lib/crewai/tests/test_flow_from_definition.py:3069
Functiontest_expression_now_evaluates_with_frozen_timestamp
()
lib/crewai/tests/test_flow_from_definition.py:3051
Functiontest_expression_now_passes_root_validation
()
lib/crewai/tests/test_flow_from_definition.py:3094
Functiontest_expression_now_renders_in_templates
()
lib/crewai/tests/test_flow_from_definition.py:3079
Functiontest_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:3014
Functiontest_expression_template_empty_context_overrides_stored_context
()
lib/crewai/tests/test_flow_from_definition.py:2993
Methodtest_extend
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:81
Methodtest_extended_write_commands_blocked_by_default
(self, stmt: str)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:507
Functiontest_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
Functiontest_extension_mismatch
(_, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:80
Functiontest_extra_arguments_are_passed_to_openai_completion
Test that extra arguments are passed to OpenAICompletion
lib/crewai/tests/llms/openai/test_openai.py:552
Functiontest_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
Functiontest_extract_available_exports_empty_init_file
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:42
Functiontest_extract_available_exports_empty_project
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:25
Functiontest_extract_available_exports_import_error
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:136
Functiontest_extract_available_exports_multiple_valid_tools
(temp_project_dir)
lib/crewai/tests/cli/test_utils.py:96
Functiontest_extract_available_exports_no_all_variable
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:51
Functiontest_extract_available_exports_no_init_file
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:33
Functiontest_extract_available_exports_syntax_error
(temp_project_dir, capsys)
lib/crewai/tests/cli/test_utils.py:154
Functiontest_extract_available_exports_valid_base_tool_class
(temp_project_dir)
lib/crewai/tests/cli/test_utils.py:63
Functiontest_extract_available_exports_valid_tool_decorator
(temp_project_dir)
lib/crewai/tests/cli/test_utils.py:79
Functiontest_extract_available_exports_with_invalid_tool_decorator
(temp_project_dir)
lib/crewai/tests/cli/test_utils.py:117
Functiontest_extract_basic_tool_info
(mock_tool_extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:111
Functiontest_extract_command
Test the 'extract' command functionality.
lib/crewai-tools/tests/tools/stagehand_tool_test.py:179
← previousnext →13,401–13,500 of 19,264, ranked by callers