Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
Function
test_fitting_spans_are_exported_once_within_both_limits
( destination, count, text, mixed_resources )
lib/crewai/tests/telemetry/test_grant_export_bounds.py:72
Function
test_fixed_docx_search_tool_schema
FixedDOCXSearchToolSchema should only require search_query.
lib/crewai-tools/tests/tools/test_docx_search_tool.py:13
Method
test_flag_false_during_emit
(self)
lib/crewai/tests/events/test_event_replay.py:74
Method
test_flag_true_during_replay
(self)
lib/crewai/tests/events/test_event_replay.py:57
Method
test_flattens_tasks
(self)
lib/crewai/tests/test_checkpoint_cli.py:264
Method
test_flow_aclose
Test that FlowStreamingOutput aclose() is no-op after normal completion.
lib/crewai/tests/test_streaming.py:868
Function
test_flow_add_crew_finds_package_from_project_name
( tmp_path, monkeypatch, runner, folder, project_name, package_dir )
lib/cli/tests/test_cli.py:851
Function
test_flow_add_crew_prefers_project_name_over_other_crews_folders
( tmp_path, monkeypatch, runner )
lib/cli/tests/test_cli.py:867
Function
test_flow_add_crew_rejects_crews_folder_that_contradicts_project_name
( tmp_path, monkeypatch, runner )
lib/cli/tests/test_cli.py:892
Function
test_flow_add_crew_without_crews_folder_errors
( tmp_path, monkeypatch, runner, project_name, expected_message )
lib/cli/tests/test_cli.py:944
Function
test_flow_add_crew_without_project_name_rejects_several_crews_folders
( tmp_path, monkeypatch, runner )
lib/cli/tests/test_cli.py:910
Function
test_flow_add_crew_without_project_name_uses_single_crews_folder
( tmp_path, monkeypatch, runner )
lib/cli/tests/test_cli.py:880
Method
test_flow_async_context_manager
Test FlowStreamingOutput as async context manager with full consumption.
lib/crewai/tests/test_streaming.py:882
Method
test_flow_auto_memory_sets_root_scope
Flow auto-creates memory with root_scope set to /flow/<class_name>.
lib/crewai/tests/memory/test_memory_root_scope.py:617
Method
test_flow_close
Test that FlowStreamingOutput close() is no-op after normal completion.
lib/crewai/tests/test_streaming.py:896
Function
test_flow_completed_records_duration_outcome_and_origin
()
lib/crewai/tests/telemetry/test_telemetry.py:495
Function
test_flow_config_definition_mirrors_flow_fields
()
lib/crewai/tests/test_flow_from_definition.py:3721
Function
test_flow_config_provider_fallback_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:4469
Function
test_flow_copy_state_with_dict_state
Test that _copy_state works with dict-based states.
lib/crewai/tests/test_flow.py:1862
Function
test_flow_copy_state_with_nested_unpickleable_objects
Test that _copy_state handles unpickleable objects nested in containers. Regression test for issue #3828: Verifies that unpickleable objects
lib/crewai/tests/test_flow.py:1734
Function
test_flow_copy_state_with_unpickleable_objects
Test that _copy_state handles unpickleable objects like RLock. Regression test for issue #3828: Flow should not crash when state contains obj
lib/crewai/tests/test_flow.py:1706
Function
test_flow_copy_state_without_unpickleable_objects
Test that _copy_state still works normally with pickleable objects. Ensures that the fallback logic doesn't break normal deep copy behavior.
lib/crewai/tests/test_flow.py:1763
Function
test_flow_creation_span_records_crewai_version
()
lib/crewai/tests/telemetry/test_telemetry.py:118
Function
test_flow_custom_name_overrides_class_name_in_events
()
lib/crewai/tests/test_flow.py:1209
Function
test_flow_declaration_default_isolates_nested_values
Flows built from one declaration must not share nested defaults.
lib/crewai/tests/test_flow.py:1795
Function
test_flow_definition_accepts_explicit_router_events
()
lib/crewai/tests/test_flow_definition.py:1151
Function
test_flow_definition_allows_dynamic_router_emit
()
lib/crewai/tests/test_flow_definition.py:1009
Function
test_flow_definition_allows_router_without_trigger
(caplog)
lib/crewai/tests/test_flow_definition.py:1432
Function
test_flow_definition_cache_is_not_reused_by_subclasses
()
lib/crewai/tests/test_flow_definition.py:1411
Function
test_flow_definition_classifies_public_dsl_start_router
()
lib/crewai/tests/test_flow_definition.py:655
Function
test_flow_definition_classifies_start_router_from_human_feedback_emit
()
lib/crewai/tests/test_flow_definition.py:626
Function
test_flow_definition_contract_is_dsl_agnostic
()
lib/crewai/tests/test_flow_definition.py:301
Function
test_flow_definition_degrades_human_feedback_metadata
(caplog)
lib/crewai/tests/test_flow_definition.py:527
Function
test_flow_definition_detects_persist_metadata
()
lib/crewai/tests/test_flow_definition.py:981
Function
test_flow_definition_does_not_infer_container_literal_router_emit
()
lib/crewai/tests/test_flow_definition.py:1112
Function
test_flow_definition_does_not_infer_unannotated_router_body_emit
()
lib/crewai/tests/test_flow_definition.py:1132
Function
test_flow_definition_excludes_conversational_builtins_for_regular_flows
()
lib/crewai/tests/test_flow_definition.py:387
Function
test_flow_definition_fragments_cover_start_listen_and_condition_sugar
()
lib/crewai/tests/test_flow_definition.py:554
Function
test_flow_definition_from_declaration_accepts_contents
()
lib/crewai/tests/test_flow_definition.py:780
Function
test_flow_definition_from_declaration_accepts_json_and_yaml_strings
()
lib/crewai/tests/test_flow_definition.py:703
Function
test_flow_definition_from_declaration_accepts_paths
(tmp_path: Path)
lib/crewai/tests/test_flow_definition.py:846
Function
test_flow_definition_from_declaration_prefers_contents_over_path
( tmp_path: Path, )
lib/crewai/tests/test_flow_definition.py:895
Function
test_flow_definition_from_declaration_rejects_empty_file
(tmp_path: Path)
lib/crewai/tests/test_flow_definition.py:830
Function
test_flow_definition_from_declaration_rejects_falsey_non_mapping_contents
( contents: str, )
lib/crewai/tests/test_flow_definition.py:839
Function
test_flow_definition_from_declaration_requires_input
()
lib/crewai/tests/test_flow_definition.py:890
Function
test_flow_definition_ignores_legacy_diagnostics_loaded_from_contract
()
lib/crewai/tests/test_flow_definition.py:1174
Function
test_flow_definition_includes_conversational_builtins_when_enabled
()
lib/crewai/tests/test_flow_definition.py:402
Function
test_flow_definition_includes_conversational_from_decorator_alone
()
lib/crewai/tests/test_flow_definition.py:514
Function
test_flow_definition_infers_annotated_literal_router_emit
()
lib/crewai/tests/test_flow_definition.py:1097
Function
test_flow_definition_infers_enum_router_emit
()
lib/crewai/tests/test_flow_definition.py:1047
Function
test_flow_definition_infers_literal_router_emit
()
lib/crewai/tests/test_flow_definition.py:1024
Function
test_flow_definition_infers_literal_union_router_emit
()
lib/crewai/tests/test_flow_definition.py:1074
Function
test_flow_definition_json_schema_carries_field_examples_only
()
lib/crewai/tests/test_flow_definition.py:146
Function
test_flow_definition_json_schema_carries_reference_descriptions
()
lib/crewai/tests/test_flow_definition.py:82
Function
test_flow_definition_lowers_nested_conditions
()
lib/crewai/tests/test_flow_definition.py:254
Function
test_flow_definition_maps_dsl_to_static_contract
()
lib/crewai/tests/test_flow_definition.py:311
Function
test_flow_definition_merges_stacked_listen_router
()
lib/crewai/tests/test_flow_definition.py:682
Function
test_flow_definition_preserves_single_branch_nested_conditions
()
lib/crewai/tests/test_flow_definition.py:277
Function
test_flow_definition_rejects_conversational_route_handler_name_collision
()
lib/crewai/tests/test_flow_definition.py:1327
Function
test_flow_definition_rejects_invalid_condition
()
lib/crewai/tests/test_flow_definition.py:296
Function
test_flow_definition_rejects_invalid_method_names
()
lib/crewai/tests/test_flow_definition.py:962
Function
test_flow_definition_rejects_method_self_listen
(listen, router_enabled)
lib/crewai/tests/test_flow_definition.py:1305
Function
test_flow_definition_serializes_conversational_config
()
lib/crewai/tests/test_flow_definition.py:420
Function
test_flow_definition_stamps_refs
()
lib/crewai/tests/test_flow_from_definition.py:664
Function
test_flow_definition_uses_collapsed_conversational_router_start
()
lib/crewai/tests/test_flow_definition.py:451
Method
test_flow_direct
(self)
lib/crewai/tests/test_checkpoint.py:108
Function
test_flow_done_uses_flow_wording_for_unfinished_tool
()
lib/cli/tests/test_crew_run_tui.py:1597
Function
test_flow_drains_pending_memory_saves_before_finished_event
Background memory saves must finish (and emit their completion events) before FlowFinishedEvent, otherwise listeners that tear down on flow-fi
lib/crewai/tests/test_flow.py:2426
Function
test_flow_emits_created_event
()
lib/crewai/tests/utilities/test_events.py:1031
Function
test_flow_emits_failed_event_paired_with_started_event
()
lib/crewai/tests/utilities/test_events.py:669
Function
test_flow_emits_finish_event
()
lib/crewai/tests/utilities/test_events.py:644
Function
test_flow_emits_method_execution_failed_event
()
lib/crewai/tests/utilities/test_events.py:1054
Function
test_flow_emits_method_execution_started_event
()
lib/crewai/tests/utilities/test_events.py:947
Function
test_flow_emits_start_event
(reset_event_listener_singleton)
lib/crewai/tests/utilities/test_events.py:584
Method
test_flow_events_have_ids
Flow events should have event_ids.
lib/crewai/tests/events/test_event_ordering.py:257
Function
test_flow_executes_and_condition_with_single_branch_or
()
lib/crewai/tests/test_flow.py:165
Function
test_flow_execution_span_records_crewai_version
()
lib/crewai/tests/telemetry/test_telemetry.py:90
Function
test_flow_extract_memories_delegates_when_memory_present
Flow.extract_memories delegates to flow memory and returns list.
lib/crewai/tests/memory/test_unified_memory.py:694
Function
test_flow_extract_memories_raises_when_memory_explicitly_none
Flow.extract_memories raises ValueError when memory is explicitly set to None.
lib/crewai/tests/memory/test_unified_memory.py:684
Method
test_flow_failure_fires_failed_once_and_reraises
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:502
Method
test_flow_finished_without_flow_started_warns
(self, capsys)
lib/crewai/tests/test_flow_conversation.py:1930
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_json_schema_declaration_default_isolates_nested_values
JSON Schema state defaults must not share nested containers.
lib/crewai/tests/test_flow.py:1826
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:3862
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
← previous
next →
14,001–14,100 of 19,735, ranked by callers