Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
Function
test_parse_args_string
Test parsing string arguments
lib/crewai/tests/tools/test_structured_tool.py:259
Function
test_parse_cli_args_rejects_a_positional_deployment_id
()
lib/cli/tests/test_create_crew.py:2714
Method
test_parse_dict_response
Dict response from some provider paths is parsed correctly.
lib/crewai/tests/agents/test_agent_executor.py:2375
Method
test_parse_error_carries_an_invalid_input_failure
(self)
lib/crewai/tests/tools/test_tool_failure.py:1273
Method
test_parse_error_handling
( self, mock_create_llm, mock_agent, mock_task, mock_output, llm_calls )
lib/crewai/tests/experimental/evaluation/metrics/test_reasoning_metrics.py:103
Function
test_parse_inputs_json_parses_object
()
lib/cli/tests/test_input_prompt.py:24
Function
test_parse_inputs_json_rejects_invalid_json
(capsys)
lib/cli/tests/test_input_prompt.py:28
Function
test_parse_inputs_json_rejects_non_object
(capsys)
lib/cli/tests/test_input_prompt.py:36
Function
test_parse_inputs_json_returns_none_for_none
()
lib/cli/tests/test_input_prompt.py:20
Method
test_parse_json_string
JSON string from non-streaming LLM path is parsed correctly.
lib/crewai/tests/agents/test_agent_executor.py:2335
Method
test_parse_json_string_with_markdown_fences
JSON wrapped in ```json ... ``` fences is handled.
lib/crewai/tests/agents/test_agent_executor.py:2356
Method
test_parse_step_observation_instance
Direct StepObservation instance passes through unchanged.
lib/crewai/tests/agents/test_agent_executor.py:2318
Method
test_parse_steps_from_function_response
Test that steps are correctly parsed from LLM function response.
lib/crewai/tests/utilities/test_structured_planning.py:154
Method
test_parse_steps_handles_missing_optional_fields
Test that missing optional fields are handled correctly.
lib/crewai/tests/utilities/test_structured_planning.py:196
Method
test_parse_steps_with_missing_fields_uses_defaults
Test that steps with missing fields get default values.
lib/crewai/tests/utilities/test_structured_planning.py:229
Method
test_parse_toml_python_311_plus
(self)
lib/cli/tests/deploy/test_deploy_main.py:1968
Method
test_parse_unparseable_falls_back_gracefully
Totally unparseable response falls back to default failure.
lib/crewai/tests/agents/test_agent_executor.py:2394
Function
test_parsing_failure_stays_unattributed
A tool-call parsing failure has no tool identity, and must not invent one. Passing the raw tool_string here would put unbounded model output into
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:131
Function
test_parsing_with_special_characters
()
lib/crewai/tests/agents/test_crew_agent_parser.py:332
Function
test_parsing_with_whitespace
()
lib/crewai/tests/agents/test_crew_agent_parser.py:324
Method
test_partial_callback_still_writes_checkpoints
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_checkpoint.py:1014
Method
test_partial_match
Test partial match finds the outcome in the response.
lib/crewai/tests/test_human_feedback_decorator.py:482
Method
test_partial_returns_none
(self)
lib/crewai/tests/test_callback.py:103
Method
test_partial_warns_it_is_dropped
(self)
lib/crewai/tests/test_callback.py:177
Method
test_partially_yanked_files
Test a version with mixed yanked/non-yanked files is not yanked.
lib/cli/tests/test_version.py:276
Method
test_partially_yanked_files
Test a version with mixed yanked/non-yanked files is not yanked.
lib/crewai/tests/cli/test_version.py:240
Method
test_partially_yanked_files_not_considered_yanked
Test that a version with some non-yanked files is not yanked.
lib/cli/tests/test_version.py:234
Method
test_partially_yanked_files_not_considered_yanked
Test that a version with some non-yanked files is not yanked.
lib/crewai/tests/cli/test_version.py:198
Function
test_parts_list_is_sent_as_blocks_with_image_bytes_intact
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:188
Function
test_parts_list_system_content_is_sent_as_its_text
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:294
Function
test_passed_initial_state_instance_keeps_its_id
A state passed to one Flow keeps its id, e.g. to continue a run (#9498).
lib/crewai/tests/test_flow_persistence.py:280
Method
test_passes_through_a_sync_response
(self)
lib/crewai/tests/utilities/test_agent_utils.py:1162
Method
test_passes_through_to_event
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:379
Function
test_passing_guardrail_result_fills_output_json
(make_result, expected)
lib/crewai/tests/test_task_guardrails.py:828
Function
test_passing_guardrail_result_fills_output_pydantic
(make_result, expected)
lib/crewai/tests/test_task_guardrails.py:813
Function
test_passing_guardrail_result_fills_output_pydantic_async
( make_result, expected )
lib/crewai/tests/test_task_guardrails.py:860
Function
test_passing_guardrail_result_replaces_native_structured_output
(guardrail_result)
lib/crewai/tests/test_task_guardrails.py:881
Function
test_passing_guardrail_task_output_fills_the_configured_field
()
lib/crewai/tests/test_task_guardrails.py:842
Method
test_passthrough_tuple_includes_the_error
(self)
lib/crewai/tests/tools/test_tool_failure.py:764
Method
test_past_the_last_row
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:264
Method
test_path_is_not_a_directory
(self)
lib/crewai-tools/tests/rag/test_directory_loader.py:101
Method
test_path_keyword_with_data_type
Test path keyword argument with data_type.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:352
Method
test_path_like_string
(self)
lib/crewai/tests/skills/test_registry.py:111
Function
test_path_with_nothing_readable_says_artifacts_end_with_their_run
(tmp_path)
lib/crewai/tests/tools/agent_tools/test_deferred_tool_result_reader.py:48
Function
test_paths_creates_storage_dir
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai-core/tests/test_smoke.py:27
Method
test_pattern
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:724
Method
test_pause_detaches_listener_and_does_not_leak
When ``kickoff_async`` pauses for human feedback, the listener must be detached from the singleton bus to avoid leaking handlers acros
lib/crewai/tests/test_flow_usage_metrics.py:369
Method
test_pause_is_safe_when_no_session
Test pausing when no streaming session exists doesn't error.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:35
Method
test_pause_on_file_flushes_panel_once
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:223
Method
test_pause_resume_cycle_with_streaming
Test full pause/resume cycle during streaming.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:102
Method
test_pause_resume_exception_handling
Test that resume is called even if exception occurs during human input.
lib/crewai/tests/test_flow_human_input_integration.py:93
Function
test_pause_resume_exports_traces_and_preserves_deferred_root
( in_memory_grant_collectors, monkeypatch, authenticated, deferred, async_run )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:83
Method
test_pause_resume_with_no_live_session
Test pause/resume methods handle case when no Live session exists.
lib/crewai/tests/test_flow_human_input_integration.py:77
Method
test_pause_stops_active_streaming_session
Test pausing stops an active streaming Live session.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:23
Function
test_paused_and_method_failed_record_flow_and_origin
()
lib/crewai/tests/telemetry/test_telemetry.py:515
Function
test_paused_flow_reports_the_pause
An async feedback provider pauses the flow; both signals must land.
lib/crewai/tests/telemetry/test_flow_telemetry.py:303
Method
test_pdf_anthropic
Test PDF file with Anthropic.
lib/crewai/tests/test_agent_multimodal.py:363
Method
test_pdf_anthropic
Test PDF file with Anthropic.
lib/crewai/tests/test_crew_multimodal.py:337
Function
test_pdf_bytes_from_code_are_saved
(store)
lib/crewai/tests/test_artifacts.py:586
Method
test_pdf_constraints_creation
Test creating PDF constraints.
lib/crewai-files/tests/processing/test_constraints.py:57
Method
test_pdf_constraints_defaults
Test PDF constraints with default values.
lib/crewai-files/tests/processing/test_constraints.py:67
Method
test_pdf_doc_id_is_stable
The same source yields the same doc_id across loads.
lib/crewai-tools/tests/rag/test_pdf_loader.py:148
Method
test_pdf_file
Test agent can process a PDF file with Responses API.
lib/crewai/tests/test_agent_multimodal.py:190
Method
test_pdf_file
Test agent can process a PDF file.
lib/crewai/tests/test_agent_multimodal.py:226
Method
test_pdf_file
Test crew can process a PDF file with Responses API.
lib/crewai/tests/test_crew_multimodal.py:171
Method
test_pdf_file
Test crew can process a PDF file.
lib/crewai/tests/test_crew_multimodal.py:199
Method
test_pdf_file
Test crew can process a PDF file.
lib/crewai/tests/test_crew_multimodal.py:314
Method
test_pdf_file_creation
Test PDFFile creation.
lib/crewai/tests/utilities/test_files.py:214
Method
test_pdf_file_not_found_raises_error
Test that non-existent PDF file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:296
Method
test_pdf_file_string
Test data_type='pdf_file' with existing PDF file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:98
Function
test_pdf_knowledge_source
(mock_vector_db)
lib/crewai/tests/knowledge/test_knowledge.py:396
Method
test_pdf_openai_responses
Test PDF file with OpenAI Responses API.
lib/crewai/tests/test_agent_multimodal.py:374
Method
test_pdf_openai_responses
Test PDF file with OpenAI Responses API.
lib/crewai/tests/test_crew_multimodal.py:345
Function
test_pdf_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:52
Function
test_pdf_search_tool_with_azure_config_without_env_vars
Test PDFSearchTool accepts Azure config without requiring env vars. This verifies the fix for the reported issue where PDFSearchTool would th
lib/crewai-tools/tests/tools/test_pdf_search_tool_config.py:10
Function
test_pdf_search_tool_with_openai_config_without_env_vars
Test PDFSearchTool accepts OpenAI config without requiring env vars.
lib/crewai-tools/tests/tools/test_pdf_search_tool_config.py:57
Function
test_pdf_search_tool_with_vectordb_and_embedding_config
Test PDFSearchTool with both vector DB and embedding config.
lib/crewai-tools/tests/tools/test_pdf_search_tool_config.py:89
Method
test_pdf_upload_anthropic
Test PDF upload to Anthropic Files API.
lib/crewai/tests/test_crew_multimodal.py:452
Method
test_pdf_with_no_extractable_text
A PDF whose pages hold no text says so instead of returning empty.
lib/crewai-tools/tests/rag/test_pdf_loader.py:133
Function
test_pending_async_outputs_preserved_through_conditional_task
A conditional task encountered after a pending async batch must not silently drop the async output.
lib/crewai/tests/test_crew.py:1296
Method
test_pending_context_with_complex_output
Test context with complex nested output.
lib/crewai/tests/test_async_human_feedback.py:1321
Method
test_pending_count
Test pending_count returns correct count.
lib/crewai/tests/utilities/test_planning_types.py:232
Function
test_pending_feedback_context_roundtrips_execution_uuid
()
lib/crewai/tests/test_execution_uuid.py:215
Method
test_pending_todo_ready_when_dep_failed
(self)
lib/crewai/tests/agents/test_agent_executor.py:3361
Function
test_per_call_score_threshold_filters_by_max_distance
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:402
Function
test_per_call_values_still_override_the_configured_defaults
()
lib/crewai-tools/tests/tools/test_tavily_research_tool.py:39
Method
test_per_column_statistics
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:463
Function
test_per_guardrail_independent_retry_tracking
Test that each guardrail has independent retry tracking.
lib/crewai/tests/test_task_guardrails.py:736
Function
test_percent_underscore_and_backslash_in_scope_names_match_literally
( tmp_path: Path, )
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:179
Method
test_period_without_allow_period_raises
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:240
Method
test_permission_denied
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:75
Function
test_permission_error
(mock_zip, _, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:99
Function
test_persist_complex_types_dict_state
Test persisting dictionary state containing datetime, UUID, Decimal, and Path.
lib/crewai/tests/test_flow_persistence.py:600
Function
test_persist_complex_types_structured_state
Test persisting state with datetime, UUID, and set fields.
lib/crewai/tests/test_flow_persistence.py:535
Function
test_persist_decorator_honors_falsy_persistence
()
lib/crewai/tests/test_flow_persistence_factory.py:41
Function
test_persist_decorator_saves_state
Test that @persist decorator saves state in SQLite.
lib/crewai/tests/test_flow_persistence.py:22
Function
test_persist_decorator_verbose_logging
Test that @persist decorator's verbose parameter controls logging.
lib/crewai/tests/test_flow_persistence.py:162
Function
test_persist_from_flow_flow_path_saves_state
The import path AGENTS.md taught for 1.10.0-1.15.28 persists state.
lib/crewai/tests/test_flow_persistence.py:681
Function
test_persist_is_importable_from_every_flow_path
AGENTS.md scaffolded by 1.10.0-1.15.28 taught `crewai.flow.flow`.
lib/crewai/tests/test_imports.py:32
Function
test_persist_is_in_flow_flow_star_exports
()
lib/crewai/tests/test_imports.py:41
← previous
next →
16,701–16,800 of 19,663, ranked by callers