Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,264 in github.com/crewAIInc/crewAI
⨍
Functions
19,264
◇
Types & classes
3,413
↳
Endpoints
990
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
Method
test_extracts_choices_shape
( self, response: Any, expected: tuple[str | None, str | None] )
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:505
Method
test_extracts_context_from_kwargs
Context can be passed as keyword argument.
lib/crewai/tests/a2a/utils/test_task.py:135
Function
test_factory_backend_used_for_string_spec
()
lib/crewai/tests/memory/test_storage_factory.py:36
Function
test_factory_overrides_builtin_provider
()
lib/crewai/tests/rag/test_client_factory_registry.py:44
Function
test_factory_pattern_registry_extensibility
Test that the factory pattern registry works with different providers.
lib/crewai/tests/utilities/test_converter.py:716
Function
test_factory_receives_embedder_and_collection_name
()
lib/crewai/tests/knowledge/test_storage_factory.py:80
Function
test_factory_receives_the_config
()
lib/crewai/tests/rag/test_client_factory_registry.py:34
Function
test_factory_receives_the_raw_spec
()
lib/crewai/tests/memory/test_storage_factory.py:45
Function
test_factory_used_when_no_explicit_storage
()
lib/crewai/tests/knowledge/test_storage_factory.py:71
Method
test_factory_with_google_alias
Test factory resolves 'google' to google-generativeai provider.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:202
Method
test_factory_with_model_key_openai
Test factory passes 'model' config to OpenAI provider.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:226
Function
test_failed_batch_rolls_back_to_its_savepoint
(monkeypatch, pooled)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:733
Function
test_failed_chat_cli_exits_nonzero_without_traceback
(monkeypatch)
lib/cli/tests/test_kickoff_flow.py:12
Function
test_failed_conversation_turn_closes_without_poisoning_next_turn
( in_memory_grant_collectors, monkeypatch, streamed )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:604
Function
test_failed_conversation_turn_is_reported
Only completed turns were tracked, so failure rate was unknowable.
lib/crewai/tests/telemetry/test_flow_telemetry.py:333
Method
test_failed_dep_unblocks_downstream
(self)
lib/crewai/tests/agents/test_agent_executor.py:3335
Method
test_failed_distillation_still_completes_the_resume
(self)
lib/crewai/tests/test_async_human_feedback.py:1638
Method
test_failed_evaluation
(self, mock_crew)
lib/crewai/tests/experimental/evaluation/test_agent_evaluator.py:210
Function
test_failed_fetch_is_negatively_cached
(monkeypatch)
lib/cli/tests/test_model_catalog.py:511
Function
test_failed_flow_reports_its_duration_and_outcome
( durations: list[tuple[str, float, str, str | None]], )
lib/crewai/tests/telemetry/test_flow_telemetry.py:431
Function
test_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
Function
test_failed_generation_is_terminal_and_next_turn_is_available
()
lib/crewai/tests/test_flow_turns.py:170
Function
test_failed_guardrails_are_excluded_from_false_rate_denominators
()
lib/crewai/tests/test_jev_evaluation_runner.py:195
Function
test_failed_operations_do_not_count_as_success
(tmp_path, features)
lib/crewai/tests/telemetry/test_checkpoint_telemetry.py:72
Function
test_failed_plan_step_lifecycle_event_marks_exact_step_failed
()
lib/cli/tests/test_crew_run_tui.py:933
Function
test_failed_recovery_summary_propagates_without_retrying
()
lib/crewai/tests/test_flow_context_compaction.py:191
Method
test_failed_remove_by_name_shows_the_api_error
(self)
lib/cli/tests/deploy/test_deploy_main.py:1904
Method
test_failed_remove_by_uuid_shows_the_api_error
(self)
lib/cli/tests/deploy/test_deploy_main.py:1890
Method
test_failed_replan_restores_task_description
(self)
lib/crewai/tests/agents/test_agent_executor.py:3230
Function
test_failed_session_keeps_existing_listeners_and_closes_orphans
(flow_source)
lib/crewai/tests/telemetry/test_enterprise_session_compatibility.py:147
Function
test_failed_sharing_discards_without_logging_payloads
( collector, monkeypatch, caplog, phase )
lib/crewai/tests/telemetry/test_session_trace_export.py:791
Method
test_failed_step_appears_in_get_failed_todos
(self)
lib/crewai/tests/agents/test_agent_executor.py:3268
Function
test_failed_streamed_step_observation_marks_named_step_failed
()
lib/cli/tests/test_crew_run_tui.py:1865
Method
test_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
Function
test_failed_turn_releases_guard_without_allowing_session_switch
( monkeypatch, streaming )
lib/crewai/tests/agents/test_conversation.py:437
Function
test_failed_update_subscriber_does_not_leave_a_worker_waiting_forever
()
lib/crewai/tests/test_flow_jobs.py:298
Function
test_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
Method
test_failure_does_not_short_circuit_under_warn
(self)
lib/crewai/tests/tools/test_tool_failure.py:1182
Method
test_failure_from_exception
(self)
lib/crewai/tests/tools/test_tool_failure.py:156
Method
test_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
Function
test_failure_or_close_never_changes_success_or_leaks_to_another_session
()
lib/crewai/tests/test_flow_replies.py:206
Method
test_failure_panel_renders_without_raising
The real formatter must handle the payload it is given.
lib/crewai/tests/tools/test_tool_failure.py:528
Function
test_failure_terminal_remains_acceptable_after_cross_thread_interruption
()
lib/crewai/tests/test_flow_turns.py:354
Method
test_failures_reset_between_executions
(self)
lib/crewai/tests/tools/test_tool_failure.py:1752
Method
test_fallback_still_appends_when_handler_does_not_reply
(self)
lib/crewai/tests/test_flow_conversation.py:1579
Method
test_fallback_to_field_by_field
(self, parent_to_pydantic_mock)
lib/crewai/tests/utilities/test_training_converter.py:28
Function
test_falls_back_to_interactive_with_tty
(clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:340
Function
test_falls_back_to_non_interactive_without_tty
(clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:334
Method
test_falls_back_to_openai_with_api_key
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:292
Function
test_falls_back_when_everything_fails
(monkeypatch)
lib/cli/tests/test_model_catalog.py:412
Method
test_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
Method
test_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
Method
test_false_returns_sentinel
(self)
lib/crewai/tests/test_checkpoint.py:43
Function
test_falsy_explicit_storage_is_honored
()
lib/crewai/tests/knowledge/test_storage_factory.py:110
Method
test_falsy_route_turn_does_not_replay_previous_turns_intent
(self)
lib/crewai/tests/test_flow_conversation.py:1723
Method
test_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
Method
test_feedback_available_in_listener
Test that feedback is accessible in downstream listeners.
lib/crewai/tests/test_human_feedback_integration.py:509
Method
test_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
Method
test_feedback_iteration_skips_plan_generation
Feedback reruns should reason over feedback without regenerating a plan.
lib/crewai/tests/agents/test_agent_executor.py:308
Method
test_feedback_result_without_routing
Test that HumanFeedbackResult is returned when not routing.
lib/crewai/tests/test_human_feedback_integration.py:758
Method
test_fetch_agent_card
Test fetching an agent card from the server.
lib/crewai/tests/a2a/test_a2a_integration.py:48
Function
test_fetch_arxiv_data
(mock_urlopen, tool)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:30
Function
test_fetch_arxiv_data_network_error
(mock_urlopen, tool)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:42
Method
test_fetch_error
(self, error: requests.RequestException)
lib/crewai-tools/tests/rag/test_text_loaders.py:145
Function
test_fetch_failure_raises_value_error
(fp)
lib/cli/tests/test_git.py:36
Function
test_fetch_inputs
()
lib/crewai/tests/test_crew.py:4376
Method
test_fetch_templates_api_error
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:119
Method
test_fetch_templates_excludes_private
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:100
Method
test_fetch_templates_filters_by_prefix
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:85
Method
test_fetches_configs_successfully
(self, mock_get_token, mock_plus_api_class, resolver)
lib/crewai/tests/mcp/test_amp_mcp.py:107
Method
test_field_wise_difference
(self)
lib/crewai/tests/agents/test_lite_agent.py:1324
Method
test_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
Method
test_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
← previous
next →
13,501–13,600 of 19,264, ranked by callers