Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,484 in github.com/crewAIInc/crewAI
⨍
Functions
19,484
◇
Types & classes
3,433
↳
Endpoints
991
Method
test_flow_with_image_bytes
Test flow with image bytes.
lib/crewai/tests/test_flow_multimodal.py:120
Method
test_flow_with_image_file
Test flow passes input_files to crew.
lib/crewai/tests/test_flow_multimodal.py:101
Method
test_flow_with_image_file
Test flow passes input_files to crew.
lib/crewai/tests/test_flow_multimodal.py:143
Method
test_flow_with_image_file
Test flow with image file.
lib/crewai/tests/test_flow_multimodal.py:185
Method
test_flow_with_mixed_files
Test flow with multiple file types.
lib/crewai/tests/test_flow_multimodal.py:303
Method
test_flow_with_multiple_crews
Test flow passes files through multiple crews.
lib/crewai/tests/test_flow_multimodal.py:265
Function
test_flow_with_multiple_starts
Test a flow with multiple start methods.
lib/crewai/tests/test_flow.py:41
Method
test_flow_with_name_uses_name_for_root_scope
Flow with custom name uses that name for root_scope.
lib/crewai/tests/memory/test_memory_root_scope.py:631
Method
test_flow_with_neither_stays_non_conversational
(self)
lib/crewai/tests/test_flow_conversation.py:2337
Function
test_flow_with_or_condition
Test a flow where a step is triggered when any of multiple steps complete.
lib/crewai/tests/test_flow.py:137
Method
test_flow_with_pdf_file
Test flow with PDF file.
lib/crewai/tests/test_flow_multimodal.py:162
Function
test_flow_with_router
Test a flow that uses a router method to determine the next step.
lib/crewai/tests/test_flow.py:266
Method
test_flow_with_text_file
Test flow with text file.
lib/crewai/tests/test_flow_multimodal.py:204
Method
test_flow_with_video_file
Test flow with video file.
lib/crewai/tests/test_flow_multimodal.py:223
Function
test_flow_without_trigger_payload
()
lib/crewai/tests/test_flow.py:816
Function
test_flush_to_central
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:203
Function
test_folder_in_use_by_another_client_gives_a_clear_error
(tmp_path)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:93
Method
test_follow_up_task_that_defers_is_told_earlier_artifacts_are_deleted
( self, use_async: bool )
lib/crewai/tests/agents/test_agent_executor.py:3143
Method
test_follow_up_task_that_defers_nothing_has_no_reader
( self, use_async: bool )
lib/crewai/tests/agents/test_agent_executor.py:3167
Method
test_follow_up_turn_keeps_history
(self)
lib/crewai/tests/test_flow_conversation.py:3550
Method
test_force_safe_paths_does_not_affect_unlisted_hosts_message
( self, monkeypatch )
lib/crewai-tools/tests/utilities/test_safe_path.py:231
Method
test_force_safe_paths_overrides_escape_hatch
Managed workers can ignore a tenant-supplied escape hatch.
lib/crewai-tools/tests/utilities/test_safe_path.py:288
Method
test_forced_answer_request_ends_on_a_user_turn
(self)
lib/crewai/tests/agents/test_agent_executor.py:3423
Method
test_forced_terminal_on_file_renders_final_panel_once
( self, clean_terminal_env: pytest.MonkeyPatch, env_name: str, env_value: str )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:175
Method
test_forced_terminal_on_file_renders_tool_arguments_once
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:191
Method
test_forced_terminal_on_file_writes_nothing_while_stream_stalls
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:205
Function
test_foreign_duplicate_and_stale_client_observations_cannot_release_floor
()
lib/crewai/tests/test_flow_replies.py:188
Function
test_foreign_repo_reference_closes_pr
()
lib/crewai/tests/ci/test_ftc_require_issue.py:115
Function
test_forged_sheet_dimension_is_bounded_by_the_scan_budget
A forged dimension must not buy unbounded work off a 5 KB upload. Blank rows are skipped, so budgeting only emitted cells left the padding fr
lib/crewai-tools/tests/url_read_tool_test.py:743
Method
test_fork_auto_branch
(self)
lib/crewai/tests/test_checkpoint.py:324
Function
test_fork_conflict_with_from_checkpoint_raises
Passing both from_checkpoint and restore_from_state_id raises ValueError, naming both parameters.
lib/crewai/tests/test_flow_persistence.py:408
Method
test_fork_no_checkpoint_id_unique
(self)
lib/crewai/tests/test_checkpoint.py:331
Method
test_fork_sets_branch
(self)
lib/crewai/tests/test_checkpoint.py:316
Function
test_fork_via_akickoff
akickoff is the public async alias and must accept restore_from_state_id with the same semantics as kickoff_async.
lib/crewai/tests/test_flow_persistence.py:457
Function
test_fork_via_kickoff_async
kickoff_async honors restore_from_state_id: hydrates from source, mints fresh state.id, persists under the new id, source history preserved.
lib/crewai/tests/test_flow_persistence.py:430
Function
test_fork_with_definition_branches_yaml_flow
(tmp_path)
lib/crewai/tests/test_flow_from_definition.py:4538
Function
test_fork_with_pinned_state_id
Fork into a pinned state.id (inputs.id supplied alongside restore_from_state_id): the new run uses inputs.id as state.id and hydrates from restore
lib/crewai/tests/test_flow_persistence.py:337
Function
test_fork_with_restore_from_state_id
Fork: restore_from_state_id hydrates state from source flow_uuid; new run gets a fresh state.id; source's history is preserved (the fork's @persis
lib/crewai/tests/test_flow_persistence.py:297
Function
test_forked_child_does_not_delete_or_reuse_the_parents_default_folder
( tmp_path, monkeypatch )
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:244
Method
test_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:714
Method
test_format_empty_files_dict
Test empty files dict returns empty list.
lib/crewai/tests/llms/test_multimodal.py:437
Function
test_format_json_in_text_still_pretty_prints_valid_json
()
lib/cli/tests/test_crew_run_tui.py:2514
Function
test_format_json_in_text_survives_deep_nesting
The render path must contain the failure instead of losing the TUI update.
lib/cli/tests/test_crew_run_tui.py:2490
Function
test_format_json_in_text_survives_literal_ellipsis
A streamed [...] must render as-is instead of crashing the TUI (issue #7434).
lib/cli/tests/test_crew_run_tui.py:2479
Method
test_format_mixed_supported_and_unsupported
Test only supported types are formatted.
lib/crewai/tests/llms/test_multimodal.py:424
Method
test_format_multimodal_content_image
Test formatting image content.
lib/crewai/tests/llms/test_multimodal.py:95
Method
test_format_multimodal_content_image
Test Anthropic image format uses source-based structure.
lib/crewai/tests/llms/test_multimodal.py:160
Method
test_format_multimodal_content_image
Test OpenAI uses image_url format.
lib/crewai/tests/llms/test_multimodal.py:221
Method
test_format_multimodal_content_image
Test Gemini uses inlineData format.
lib/crewai/tests/llms/test_multimodal.py:244
Method
test_format_multimodal_content_image
Test Azure uses same format as OpenAI.
lib/crewai/tests/llms/test_multimodal.py:295
Method
test_format_multimodal_content_image
Test Bedrock uses Converse API image format.
lib/crewai/tests/llms/test_multimodal.py:356
Method
test_format_multimodal_content_pdf
Test Anthropic PDF format uses document structure.
lib/crewai/tests/llms/test_multimodal.py:173
Method
test_format_multimodal_content_pdf
Test Bedrock uses Converse API document format.
lib/crewai/tests/llms/test_multimodal.py:369
Method
test_format_multimodal_content_unsupported_type
Test unsupported content type is skipped.
lib/crewai/tests/llms/test_multimodal.py:106
Method
test_format_multiple_images
Test formatting multiple images.
lib/crewai/tests/llms/test_multimodal.py:412
Method
test_format_prompt
Test prompt formatting.
lib/crewai/tests/agents/test_agent_executor.py:737
Method
test_format_responses_pdf_with_concrete_gpt_model
Test OpenAI Responses PDF support with an inferred GPT provider.
lib/crewai/tests/llms/test_multimodal.py:115
Method
test_format_text_content
Test Gemini text format uses simple text key.
lib/crewai/tests/llms/test_multimodal.py:256
Method
test_formatted_description_contains_composite
(self)
lib/crewai/tests/tools/test_base_tool.py:740
Method
test_formatted_description_tracks_later_description_edits
(self)
lib/crewai/tests/tools/test_base_tool.py:748
Function
test_formatting_does_not_mutate_caller_content
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:261
Method
test_formatting_far_from_the_data_is_not_a_value
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:215
Method
test_forwarded_for_every_reasoning_model
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:113
Method
test_forwarded_through_a_provider_subclass
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:514
Method
test_fresh_intent_classified_this_turn_still_routes
The legacy ``default_intents`` path classifies per turn and must keep routing on the freshly classified intent — including when the in
lib/crewai/tests/test_flow_conversation.py:1790
Method
test_from_checkpoint_sets_checkpoint_id
from_checkpoint sets _checkpoint_id from the location, not the blob.
lib/crewai/tests/test_checkpoint.py:301
Function
test_from_checkpoint_with_definition_restores_yaml_flow
(tmp_path)
lib/crewai/tests/test_flow_from_definition.py:4528
Function
test_from_declaration_local_scope_ref_raises
()
lib/crewai/tests/test_flow_from_definition.py:646
Function
test_from_declaration_malformed_ref_raises
()
lib/crewai/tests/test_flow_from_definition.py:633
Function
test_from_declaration_runs_tool_action_with_static_inputs
()
lib/crewai/tests/test_flow_from_definition.py:671
Function
test_from_declaration_unresolvable_ref_raises
()
lib/crewai/tests/test_flow_from_definition.py:615
Method
test_from_dict_deserialization
Test deserializing context from dictionary.
lib/crewai/tests/test_async_human_feedback.py:100
Function
test_from_function
Test creating tool from function
lib/crewai/tests/tools/test_structured_tool.py:79
Function
test_from_function_does_not_infer_non_pydantic_result_schema
()
lib/crewai/tests/tools/test_structured_tool.py:167
Function
test_from_function_returns_raw_result_and_json_agent_text
( func, result_schema, expected_raw, expected_agent_payload, )
lib/crewai/tests/tools/test_structured_tool.py:146
Method
test_from_pending_raises_for_missing_flow
Test that from_pending raises error for nonexistent flow.
lib/crewai/tests/test_async_human_feedback.py:442
Method
test_from_pending_restores_state
Test that from_pending correctly restores flow state.
lib/crewai/tests/test_async_human_feedback.py:456
Method
test_from_pending_uses_default_persistence
Test that from_pending uses SQLiteFlowPersistence by default.
lib/crewai/tests/test_async_human_feedback.py:431
Function
test_from_tool_name
Test creating tool from tool name.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:225
Function
test_from_tool_name_with_custom_base_url
Test creating tool from tool name with custom base URL.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:244
Function
test_from_tool_pack_all_tools
Test creating all tools from a Tool Pack.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:262
Function
test_from_tool_pack_specific_tools
Test creating specific tools from a Tool Pack.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:280
Function
test_from_tool_pack_with_custom_base_url
Test creating tools from Tool Pack with custom base URL.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:298
Function
test_from_tuple_still_works_for_both_directions
()
lib/crewai/tests/utilities/test_guardrail_result_exclusivity.py:36
Method
test_frozen
(self)
lib/crewai/tests/skills/test_models.py:53
Method
test_full_async_flow_cycle
Test complete async flow: start -> pause -> resume.
lib/crewai/tests/test_async_human_feedback.py:948
Method
test_full_fixture_skill
(self)
lib/crewai/tests/skills/test_integration.py:55
Method
test_full_plan_execution_workflow
Test complete workflow from plan to todos to execution.
lib/crewai/tests/utilities/test_structured_planning.py:575
Method
test_full_precedence_chain
tool > task > agent > crew > warn.
lib/crewai/tests/tools/test_tool_failure.py:238
Function
test_func
Test function with basic params.
lib/crewai/tests/tools/test_structured_tool.py:10
Method
test_function_can_be_called
Test that the returned function can be called.
lib/crewai/tests/utilities/test_agent_utils.py:541
Method
test_functions_dict_contains_callables
Test that the functions dict maps names to callable run methods.
lib/crewai/tests/utilities/test_agent_utils.py:531
Function
test_future_base_tool_field_auto_excluded
If a new field is added to BaseTool in the future, it should be automatically excluded from spec generation without needing to update the igno
lib/crewai-tools/tests/test_generate_tool_specs.py:266
Method
test_future_family_members_need_no_release
The staleness this replaced: an unreleased family must still match.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:186
Function
test_gemini_1_5_response_model_uses_response_schema
Test that Gemini 1.5 models use response_schema parameter (not response_json_schema).
lib/crewai/tests/llms/google/test_google.py:1108
Function
test_gemini_2_0_model_detection
Test that Gemini 2.0 models are properly detected.
lib/crewai/tests/llms/google/test_google.py:1015
Function
test_gemini_2_0_response_model_with_property_ordering
Test that Gemini 2.0 models include propertyOrdering in response schemas.
lib/crewai/tests/llms/google/test_google.py:1080
Function
test_gemini_agent_kickoff_structured_output_with_tools
Test that agent kickoff returns structured output after using tools. This tests post-tool-call structured output handling for Gemini models.
lib/crewai/tests/llms/google/test_google.py:1173
Function
test_gemini_agent_kickoff_structured_output_without_tools
Test that agent kickoff returns structured output without tools. This tests native structured output handling for Gemini models.
lib/crewai/tests/llms/google/test_google.py:1137
Method
test_gemini_agent_kickoff_with_tools_mocked
Test Gemini agent kickoff with mocked LLM call.
lib/crewai/tests/agents/test_native_tool_calling.py:601
← previous
next →
14,001–14,100 of 19,484, ranked by callers