MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

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
Functiontest_extract_env_vars
(mock_tool_extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:156
Methodtest_extract_id
(self)
lib/crewai/tests/test_checkpoint.py:456
Methodtest_extract_id
(self)
lib/crewai/tests/test_checkpoint.py:566
Functiontest_extract_init_params_schema
(mock_tool_extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:129
Functiontest_extract_knowledge_context_filters_invalid_results
Test that extract_knowledge_context filters out invalid results.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:110
Functiontest_extract_knowledge_context_with_empty_content
Test extract_knowledge_context handles empty or invalid content.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:97
Functiontest_extract_knowledge_context_with_searchresult
Test extract_knowledge_context works with SearchResult format.
lib/crewai/tests/knowledge/test_knowledge_searchresult.py:76
Functiontest_extract_memories_llm_failure_returns_raw
When LLM raises, extract_memories_from_content returns [content].
lib/crewai/tests/memory/test_unified_memory.py:848
Functiontest_extract_oracle_error_code_handles_missing_code
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:959
Functiontest_extract_package_dependencies
(mock_tool_extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:200
Functiontest_extract_run_params_schema
(mock_tool_extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:172
Functiontest_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
Functiontest_extract_tools_metadata_empty_project
Test that extract_tools_metadata returns empty list for empty project.
lib/crewai/tests/cli/test_utils.py:278
Functiontest_extract_tools_metadata_ignores_non_tool_exports
Test that extract_tools_metadata ignores non-BaseTool exports.
lib/crewai/tests/cli/test_utils.py:499
Functiontest_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
Functiontest_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
Functiontest_extract_tools_metadata_multiple_tools
Test that extract_tools_metadata extracts metadata from multiple tools.
lib/crewai/tests/cli/test_utils.py:440
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_extract_tools_metadata_with_env_vars
Test that extract_tools_metadata extracts env_vars.
lib/crewai/tests/cli/test_utils.py:356
Functiontest_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
Methodtest_extract_zip
(self, cmd, tmp_path)
lib/crewai/tests/cli/remote_template/test_main.py:179
Methodtest_extracts_arguments_from_top_level
Previously fell through to `input` and silently yielded {}.
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:55
Methodtest_extracts_choices_shape
( self, response: Any, expected: tuple[str | None, str | None] )
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:505
Methodtest_extracts_context_from_kwargs
Context can be passed as keyword argument.
lib/crewai/tests/a2a/utils/test_task.py:135
Functiontest_factory_backend_used_for_string_spec
()
lib/crewai/tests/memory/test_storage_factory.py:36
Functiontest_factory_overrides_builtin_provider
()
lib/crewai/tests/rag/test_client_factory_registry.py:44
Functiontest_factory_pattern_registry_extensibility
Test that the factory pattern registry works with different providers.
lib/crewai/tests/utilities/test_converter.py:716
Functiontest_factory_receives_embedder_and_collection_name
()
lib/crewai/tests/knowledge/test_storage_factory.py:80
Functiontest_factory_receives_the_config
()
lib/crewai/tests/rag/test_client_factory_registry.py:34
Functiontest_factory_receives_the_raw_spec
()
lib/crewai/tests/memory/test_storage_factory.py:45
Functiontest_factory_used_when_no_explicit_storage
()
lib/crewai/tests/knowledge/test_storage_factory.py:71
Methodtest_factory_with_google_alias
Test factory resolves 'google' to google-generativeai provider.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:213
Methodtest_factory_with_model_key_openai
Test factory passes 'model' config to OpenAI provider.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:237
Functiontest_failed_batch_rolls_back_to_its_savepoint
(monkeypatch, pooled)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:733
Functiontest_failed_chat_cli_exits_nonzero_without_traceback
(monkeypatch)
lib/cli/tests/test_kickoff_flow.py:12
Functiontest_failed_conversation_turn_closes_without_poisoning_next_turn
( in_memory_grant_collectors, monkeypatch, streamed )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:604
Functiontest_failed_conversation_turn_is_reported
Only completed turns were tracked, so failure rate was unknowable.
lib/crewai/tests/telemetry/test_flow_telemetry.py:333
Methodtest_failed_dep_unblocks_downstream
(self)
lib/crewai/tests/agents/test_agent_executor.py:3335
Methodtest_failed_distillation_still_completes_the_resume
(self)
lib/crewai/tests/test_async_human_feedback.py:1638
Methodtest_failed_evaluation
(self, mock_crew)
lib/crewai/tests/experimental/evaluation/test_agent_evaluator.py:210
Functiontest_failed_fetch_is_negatively_cached
(monkeypatch)
lib/cli/tests/test_model_catalog.py:511
Functiontest_failed_flow_reports_its_duration_and_outcome
( durations: list[tuple[str, float, str, str | None]], )
lib/crewai/tests/telemetry/test_flow_telemetry.py:431
Functiontest_failed_flow_reports_the_failure_and_the_method
( durations: list[tuple[str, float, str, str | None]], method_failures: list[tuple[str, str, str | None]]
lib/crewai/tests/telemetry/test_flow_telemetry.py:205
Functiontest_failed_generation_is_terminal_and_next_turn_is_available
()
lib/crewai/tests/test_flow_turns.py:170
Functiontest_failed_guardrails_are_excluded_from_false_rate_denominators
()
lib/crewai/tests/test_jev_evaluation_runner.py:195
Functiontest_failed_operations_do_not_count_as_success
(tmp_path, features)
lib/crewai/tests/telemetry/test_checkpoint_telemetry.py:72
Functiontest_failed_plan_step_lifecycle_event_marks_exact_step_failed
()
lib/cli/tests/test_crew_run_tui.py:933
Functiontest_failed_recovery_summary_propagates_without_retrying
()
lib/crewai/tests/test_flow_context_compaction.py:191
Methodtest_failed_remove_by_name_shows_the_api_error
(self)
lib/cli/tests/deploy/test_deploy_main.py:1904
Methodtest_failed_remove_by_uuid_shows_the_api_error
(self)
lib/cli/tests/deploy/test_deploy_main.py:1890
Methodtest_failed_replan_restores_task_description
(self)
lib/crewai/tests/agents/test_agent_executor.py:3230
Functiontest_failed_session_keeps_existing_listeners_and_closes_orphans
(flow_source)
lib/crewai/tests/telemetry/test_enterprise_session_compatibility.py:147
Functiontest_failed_sharing_discards_without_logging_payloads
( collector, monkeypatch, caplog, phase )
lib/crewai/tests/telemetry/test_session_trace_export.py:791
Methodtest_failed_step_appears_in_get_failed_todos
(self)
lib/crewai/tests/agents/test_agent_executor.py:3268
Functiontest_failed_streamed_step_observation_marks_named_step_failed
()
lib/cli/tests/test_crew_run_tui.py:1865
Methodtest_failed_todo_transition_emits_failed_plan_step_event
Failed todo transitions should publish failed plan step events.
lib/crewai/tests/agents/test_agent_executor.py:1068
Functiontest_failed_turn_releases_guard_without_allowing_session_switch
( monkeypatch, streaming )
lib/crewai/tests/agents/test_conversation.py:437
← previousnext →13,601–13,700 of 19,482, ranked by callers