MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

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:202
Methodtest_factory_with_model_key_openai
Test factory passes 'model' config to OpenAI provider.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:226
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
Functiontest_failed_update_subscriber_does_not_leave_a_worker_waiting_forever
()
lib/crewai/tests/test_flow_jobs.py:298
Functiontest_failed_write_rolls_back_and_closes_connection
A failure between BEGIN and COMMIT rolls back and still closes the connection. ``with closing(...) as conn, conn:`` must roll back on the inner c
lib/crewai/tests/storage/test_kickoff_task_outputs_storage.py:91
Methodtest_failure_does_not_short_circuit_under_warn
(self)
lib/crewai/tests/tools/test_tool_failure.py:1182
Methodtest_failure_from_exception
(self)
lib/crewai/tests/tools/test_tool_failure.py:156
Methodtest_failure_on_a_later_page_exits_1_with_amp_message
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:619
Functiontest_failure_or_close_never_changes_success_or_leaks_to_another_session
()
lib/crewai/tests/test_flow_replies.py:206
Methodtest_failure_panel_renders_without_raising
The real formatter must handle the payload it is given.
lib/crewai/tests/tools/test_tool_failure.py:528
Functiontest_failure_terminal_remains_acceptable_after_cross_thread_interruption
()
lib/crewai/tests/test_flow_turns.py:354
Methodtest_failures_reset_between_executions
(self)
lib/crewai/tests/tools/test_tool_failure.py:1752
Methodtest_fallback_still_appends_when_handler_does_not_reply
(self)
lib/crewai/tests/test_flow_conversation.py:1579
Methodtest_fallback_to_field_by_field
(self, parent_to_pydantic_mock)
lib/crewai/tests/utilities/test_training_converter.py:28
Functiontest_falls_back_to_interactive_with_tty
(clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:340
Functiontest_falls_back_to_non_interactive_without_tty
(clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:334
Methodtest_falls_back_to_openai_with_api_key
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:292
Functiontest_falls_back_when_everything_fails
(monkeypatch)
lib/cli/tests/test_model_catalog.py:412
Methodtest_falls_back_when_the_client_cannot_fetch_skills
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, get_skill: object )
lib/crewai/tests/skills/test_registry.py:392
Methodtest_falls_back_when_the_client_cannot_forward_a_pin
Repository agents pin automatically, so a client whose get_skill predates pinning must not turn a working lookup into a TypeError.
lib/crewai/tests/skills/test_registry.py:411
Methodtest_false_returns_sentinel
(self)
lib/crewai/tests/test_checkpoint.py:43
Functiontest_falsy_explicit_storage_is_honored
()
lib/crewai/tests/knowledge/test_storage_factory.py:110
Methodtest_falsy_route_turn_does_not_replay_previous_turns_intent
(self)
lib/crewai/tests/test_flow_conversation.py:1723
Methodtest_feature_count_is_the_same_from_either_origin
The whole point: one number for deployments, whatever started them.
lib/crewai-core/tests/test_telemetry_deploy.py:68
Methodtest_feedback_available_in_listener
Test that feedback is accessible in downstream listeners.
lib/crewai/tests/test_human_feedback_integration.py:509
Methodtest_feedback_collapsing
Test that feedback is collapsed to an outcome for routing, but flow returns method output.
lib/crewai/tests/test_human_feedback_decorator.py:350
Methodtest_feedback_iteration_skips_plan_generation
Feedback reruns should reason over feedback without regenerating a plan.
lib/crewai/tests/agents/test_agent_executor.py:308
Methodtest_feedback_result_without_routing
Test that HumanFeedbackResult is returned when not routing.
lib/crewai/tests/test_human_feedback_integration.py:758
Methodtest_fetch_agent_card
Test fetching an agent card from the server.
lib/crewai/tests/a2a/test_a2a_integration.py:48
Functiontest_fetch_arxiv_data
(mock_urlopen, tool)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:30
Functiontest_fetch_arxiv_data_network_error
(mock_urlopen, tool)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:42
Methodtest_fetch_error
(self, error: requests.RequestException)
lib/crewai-tools/tests/rag/test_text_loaders.py:145
Functiontest_fetch_failure_raises_value_error
(fp)
lib/cli/tests/test_git.py:36
Functiontest_fetch_inputs
()
lib/crewai/tests/test_crew.py:4376
Methodtest_fetch_templates_api_error
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:119
Methodtest_fetch_templates_excludes_private
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:100
Methodtest_fetch_templates_filters_by_prefix
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:85
Methodtest_fetches_configs_successfully
(self, mock_get_token, mock_plus_api_class, resolver)
lib/crewai/tests/mcp/test_amp_mcp.py:107
Methodtest_field_wise_difference
(self)
lib/crewai/tests/agents/test_lite_agent.py:1324
Methodtest_file_alias_with_existing_file
Test that data_type='file' works with existing files.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:51
Methodtest_file_alias_with_file_path_keyword
Test that file_path keyword argument works with data_type='file'.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:82
← previousnext →13,501–13,600 of 19,264, ranked by callers