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_flow_from_declaration_accepts_flow_definition
()
lib/crewai/tests/test_flow_from_definition.py:567
Function
test_flow_from_declaration_builds_runnable_flow
()
lib/crewai/tests/test_flow_from_definition.py:560
Function
test_flow_has_default_memory
Flow auto-creates a Memory instance when none is provided.
lib/crewai/tests/memory/test_unified_memory.py:520
Function
test_flow_kickoff_creates_and_clears_execution_uuid
()
lib/crewai/tests/test_execution_uuid.py:77
Function
test_flow_kickoff_delegates_the_backfill_and_does_not_duplicate_it
`crewai flow kickoff` must inherit the backfill from run_crew, not repeat it. A second call would mint under a lock run_crew is about to take --
lib/crewai/tests/cli/test_project_id_backfill.py:146
Method
test_flow_kickoff_delegates_to_from_checkpoint
(self)
lib/crewai/tests/test_checkpoint.py:652
Function
test_flow_kickoff_delegates_to_run_crew
( monkeypatch: pytest.MonkeyPatch, )
lib/cli/tests/test_flow_commands.py:66
Function
test_flow_kickoff_inherits_enterprise_execution_uuid
()
lib/crewai/tests/test_execution_uuid.py:95
Function
test_flow_kickoff_is_deprecated_and_uses_run_path
(run_crew, runner)
lib/cli/tests/test_cli.py:309
Function
test_flow_kickoff_runs_configured_declarative_definition
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:37
Method
test_flow_kickoff_streaming_async_captures_chunks
Test that async flow streaming captures LLM chunks.
lib/crewai/tests/test_streaming.py:551
Method
test_flow_kickoff_streaming_async_result_available
Test that async flow result is available after iteration.
lib/crewai/tests/test_streaming.py:604
Method
test_flow_kickoff_streaming_captures_chunks
Test that flow streaming captures LLM chunks from crew execution.
lib/crewai/tests/test_streaming.py:437
Method
test_flow_kickoff_streaming_result_available
Test that flow result is available after iteration.
lib/crewai/tests/test_streaming.py:484
Function
test_flow_level_persist_from_declaration_saves_once_per_method
()
lib/crewai/tests/test_flow_from_definition.py:3748
Method
test_flow_listener_triggered_by_in_nested_context
Nested listener contexts should maintain correct triggered_by chains.
lib/crewai/tests/events/test_event_ordering.py:1511
Function
test_flow_method_events_build_steps
()
lib/cli/tests/test_crew_run_tui.py:2210
Function
test_flow_method_execution_finished_includes_serialized_state
Test that MethodExecutionFinishedEvent includes properly serialized state.
lib/crewai/tests/utilities/test_events.py:1178
Function
test_flow_method_execution_started_includes_structured_state
Test that MethodExecutionStartedEvent includes structured (BaseModel) state and serializes it properly.
lib/crewai/tests/utilities/test_events.py:1126
Function
test_flow_method_execution_started_includes_unstructured_state
Test that MethodExecutionStartedEvent includes unstructured (dict) state.
lib/crewai/tests/utilities/test_events.py:1083
Method
test_flow_method_status_ignores_formatter_verbose
(self)
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:63
Function
test_flow_method_transitions_clear_current_agent
()
lib/cli/tests/test_crew_run_tui.py:2289
Function
test_flow_method_types_from_definition
()
lib/cli/tests/test_run_declarative_flow.py:656
Function
test_flow_name
()
lib/crewai/tests/test_flow.py:1196
Function
test_flow_name_emitted_to_event_bus
()
lib/crewai/tests/utilities/test_events.py:620
Method
test_flow_none
(self)
lib/crewai/tests/test_checkpoint.py:113
Method
test_flow_owned_batch_skips_finalize_without_flow_context
(self)
lib/crewai/tests/test_flow_conversation.py:2117
Function
test_flow_panel_prints_when_not_tui_mode
(monkeypatch)
lib/crewai/tests/utilities/test_console_formatter_tui_mode.py:27
Function
test_flow_panel_suppressed_in_tui_mode
(monkeypatch)
lib/crewai/tests/utilities/test_console_formatter_tui_mode.py:16
Function
test_flow_pause_persists_execution_uuid_and_resume_restores_it
()
lib/crewai/tests/test_execution_uuid.py:170
Function
test_flow_paused_is_collected_whole
(listener)
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:138
Function
test_flow_persistence_closes_every_connection
Each ``SQLiteFlowPersistence`` operation closes the connection it opened.
lib/crewai/tests/test_sqlite_connection_lifecycle.py:69
Function
test_flow_persistence_db_is_removable_after_use
The flow database can be deleted right after use, without a GC pass.
lib/crewai/tests/test_sqlite_connection_lifecycle.py:87
Function
test_flow_persistence_failed_write_rolls_back_and_closes
A failing INSERT inside ``save_state`` rolls back and still closes the connection.
lib/crewai/tests/test_sqlite_connection_lifecycle.py:99
Function
test_flow_plotting
()
lib/crewai/tests/test_flow.py:1071
Function
test_flow_project_requires_main_py
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:491
Function
test_flow_project_with_main_py_passes
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:501
Method
test_flow_provider_overrides_global
Per-flow provider takes precedence over global config.
lib/crewai/tests/test_flow_ask.py:372
Function
test_flow_public_exports_are_explicit
()
lib/crewai/tests/test_flow_definition.py:35
Function
test_flow_recall_remember_raise_when_memory_explicitly_none
Flow raises ValueError when memory is explicitly set to None.
lib/crewai/tests/memory/test_unified_memory.py:533
Function
test_flow_recall_remember_with_memory
(tmp_path: Path, mock_embedder: MagicMock)
lib/crewai/tests/memory/test_unified_memory.py:549
Function
test_flow_restart
Test restarting a flow after it has completed.
lib/crewai/tests/test_flow.py:503
Function
test_flow_start_method_without_trigger_parameter
()
lib/crewai/tests/test_flow.py:850
Method
test_flow_started_emitted_when_panel_events_suppressed
(self)
lib/crewai/tests/test_flow_conversation.py:1824
Function
test_flow_state_definition_uses_discriminated_branches
()
lib/crewai/tests/test_flow_definition.py:213
Function
test_flow_state_restoration
Test restoring flow state from persistence with various restoration methods.
lib/crewai/tests/test_flow_persistence.py:67
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:772
Function
test_flow_trigger_payload_injection_multiple_starts
()
lib/crewai/tests/test_flow.py:794
Function
test_flow_trigger_payload_with_structured_state
()
lib/crewai/tests/test_flow.py:832
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:572
Function
test_flow_uuid_unstructured
Test that unstructured (dictionary) flow states automatically get a UUID that persists.
lib/crewai/tests/test_flow.py:545
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:110
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:523
Function
test_flow_with_exceptions
Test flow behavior when exceptions occur in steps.
lib/crewai/tests/test_flow.py:480
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
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:352
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:401
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:374
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:281
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:241
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:417
Function
test_format_json_in_text_still_pretty_prints_valid_json
()
lib/cli/tests/test_crew_run_tui.py:2514
← previous
next →
13,801–13,900 of 19,264, ranked by callers