Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,757 in github.com/crewAIInc/crewAI
⨍
Functions
20,757
◇
Types & classes
3,596
↳
Endpoints
1,012
Function
test_flow_state_restoration
Test restoring flow state from persistence with various restoration methods.
lib/crewai/tests/test_flow_persistence.py:67
Function
test_flow_step_saves_under_the_flow_run
(tmp_path, monkeypatch)
lib/crewai/tests/test_artifacts.py:239
Method
test_flow_streaming_properties_from_docs
Test flow streaming properties example from documentation.
lib/crewai/tests/test_streaming_integration.py:229
Function
test_flow_streaming_returns_iterable_frame_session
()
lib/crewai/tests/test_stream_frames.py:175
Method
test_flow_success_fires_completed_once
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:491
Function
test_flow_trigger_payload_injection
()
lib/crewai/tests/test_flow.py:773
Function
test_flow_trigger_payload_injection_multiple_starts
()
lib/crewai/tests/test_flow.py:795
Function
test_flow_trigger_payload_with_structured_state
()
lib/crewai/tests/test_flow.py:833
Method
test_flow_user_provided_memory_not_overwritten
User-provided memory on Flow is not modified.
lib/crewai/tests/memory/test_memory_root_scope.py:645
Function
test_flow_uses_human_feedback_detection
()
lib/cli/tests/test_run_declarative_flow.py:614
Function
test_flow_uuid_structured
Test that structured (Pydantic) flow states automatically get a UUID that persists.
lib/crewai/tests/test_flow.py:573
Function
test_flow_uuid_unstructured
Test that unstructured (dictionary) flow states automatically get a UUID that persists.
lib/crewai/tests/test_flow.py:546
Function
test_flow_with_and_condition
Test a flow where a step waits for multiple other steps to complete.
lib/crewai/tests/test_flow.py:111
Method
test_flow_with_audio_file
Test flow with audio file.
lib/crewai/tests/test_flow_multimodal.py:242
Function
test_flow_with_custom_state
Test a flow that maintains and modifies internal state.
lib/crewai/tests/test_flow.py:524
Function
test_flow_with_exceptions
Test flow behavior when exceptions occur in steps.
lib/crewai/tests/test_flow.py:481
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:42
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:2340
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:138
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:267
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:817
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:3553
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:4652
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:828
Method
test_format_empty_files_dict
Test empty files dict returns empty list.
lib/crewai/tests/llms/test_multimodal.py:589
Function
test_format_json_in_text_still_pretty_prints_valid_json
()
lib/cli/tests/test_crew_run_tui.py:2736
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:2683
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:2672
Method
test_format_mixed_supported_and_unsupported
Test only supported types are formatted.
lib/crewai/tests/llms/test_multimodal.py:576
Method
test_format_multimodal_content_image
Test formatting image content.
lib/crewai/tests/llms/test_multimodal.py:98
Method
test_format_multimodal_content_image
Test Anthropic image format uses source-based structure.
lib/crewai/tests/llms/test_multimodal.py:163
Method
test_format_multimodal_content_image
Test OpenAI uses image_url format.
lib/crewai/tests/llms/test_multimodal.py:327
Method
test_format_multimodal_content_image
Test Gemini uses inlineData format.
lib/crewai/tests/llms/test_multimodal.py:350
Method
test_format_multimodal_content_image
Test Azure uses same format as OpenAI.
lib/crewai/tests/llms/test_multimodal.py:401
Method
test_format_multimodal_content_image
Test Bedrock uses Converse API image format.
lib/crewai/tests/llms/test_multimodal.py:508
Method
test_format_multimodal_content_pdf
Test Anthropic PDF format uses document structure.
lib/crewai/tests/llms/test_multimodal.py:176
Method
test_format_multimodal_content_pdf
Test Bedrock uses Converse API document format.
lib/crewai/tests/llms/test_multimodal.py:521
Method
test_format_multimodal_content_sets_no_cache_control
File blocks leave cache breakpoints to the provider.
lib/crewai/tests/llms/test_multimodal.py:188
Method
test_format_multimodal_content_unsupported_type
Test unsupported content type is skipped.
lib/crewai/tests/llms/test_multimodal.py:109
Method
test_format_multiple_images
Test formatting multiple images.
lib/crewai/tests/llms/test_multimodal.py:564
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:118
Method
test_format_text_content
Test Gemini text format uses simple text key.
lib/crewai/tests/llms/test_multimodal.py:362
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
Function
test_free_text_runs_nothing_asks_no_model_and_reaches_the_agent
(db, monkeypatch, words)
lib/crewai/tests/agents/test_tool_approval.py:371
Method
test_free_text_with_no_llm_configured_still_fails_to_classify
( self, mock_emit: MagicMock )
lib/crewai/tests/test_async_human_feedback.py:1978
Method
test_free_text_with_no_llm_configured_still_fails_to_classify
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1428
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:1793
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:4642
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:101
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:443
Method
test_from_pending_restores_state
Test that from_pending correctly restores flow state.
lib/crewai/tests/test_async_human_feedback.py:457
Method
test_from_pending_uses_default_persistence
Test that from_pending uses SQLiteFlowPersistence by default.
lib/crewai/tests/test_async_human_feedback.py:432
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
← previous
next →
14,901–15,000 of 20,757, ranked by callers