Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,482 in github.com/crewAIInc/crewAI
⨍
Functions
19,482
◇
Types & classes
3,433
↳
Endpoints
991
Method
test_finalize_backend_batch_is_serialized
Concurrent finalizers must only call the backend once.
lib/crewai/tests/tracing/test_tracing.py:751
Method
test_finalize_backend_batch_uses_captured_batch_id_for_ephemeral_panel
Finalization output must not render None if manager state is reset.
lib/crewai/tests/tracing/test_tracing.py:713
Method
test_finalize_batch_clears_buffer_after_successful_send
Successful send must not restore a stale event buffer (duplicate events).
lib/crewai/tests/tracing/test_tracing.py:670
Method
test_finalize_batch_is_idempotent
(self)
lib/crewai/tests/test_flow_conversation.py:1955
Method
test_finalize_called_reset_in_invoke
(self)
lib/crewai/tests/agents/test_agent_executor.py:3188
Method
test_finalize_called_reset_in_invoke_async
(self)
lib/crewai/tests/agents/test_agent_executor.py:3199
Method
test_finalize_failure
Test finalize skips when given AgentAction instead of AgentFinish.
lib/crewai/tests/agents/test_agent_executor.py:643
Method
test_finalize_keeps_synthesis_when_response_model_is_set
Finalize should still synthesize when response_model is configured.
lib/crewai/tests/agents/test_agent_executor.py:699
Method
test_finalize_session_traces_emits_finished_without_legacy_batch
Deferred finalization emits one terminal event without legacy upload.
lib/crewai/tests/test_flow_conversation.py:1373
Method
test_finalize_session_traces_is_idempotent
Calling ``finalize_session_traces()`` twice emits flow_finished once. The stashed ``_deferred_flow_started_event_id`` is cleared after the
lib/crewai/tests/test_flow_conversation.py:1988
Method
test_finalize_session_traces_is_noop_when_not_deferred
Without deferral, ``finalize_session_traces()`` must not re-emit. Each per-turn ``handle_turn()`` already emits its own ``flow_finish
lib/crewai/tests/test_flow_conversation.py:1490
Method
test_finalize_session_traces_restores_event_scope
No ``empty scope stack`` warning when deferred ``flow_finished`` fires. The first turn's ``flow_started`` event id is stashed on the flow
lib/crewai/tests/test_flow_conversation.py:1454
Method
test_finalize_skips_synthesis_for_strong_last_todo_result
Finalize should skip synthesis when last todo is already a complete answer.
lib/crewai/tests/agents/test_agent_executor.py:655
Method
test_finalize_success
Test finalize with valid AgentFinish.
lib/crewai/tests/agents/test_agent_executor.py:629
Function
test_find_http_status_from_cancelled_error_with_context
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:80
Function
test_find_http_status_from_exception_group
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:88
Function
test_find_http_status_from_httpx_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:68
Function
test_find_http_status_from_typed_connection_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:74
Function
test_find_json_project_file_prefers_jsonc
(tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:73
Function
test_find_transport_failure_ignores_teardown_noise
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:95
Function
test_find_transport_failure_returns_underlying_http_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:102
Method
test_finds_valid_skills
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:33
Function
test_fingerprint_created_at_cannot_be_set
Test that created_at cannot be manually set.
lib/crewai/tests/security/test_fingerprint.py:45
Function
test_fingerprint_creation_with_defaults
Test creating a Fingerprint with default values.
lib/crewai/tests/security/test_fingerprint.py:11
Function
test_fingerprint_creation_with_metadata
Test creating a Fingerprint with custom metadata only.
lib/crewai/tests/security/test_fingerprint.py:24
Function
test_fingerprint_deterministic_generation
Test that the same seed string always generates the same fingerprint using generate method.
lib/crewai/tests/security/test_fingerprint.py:63
Function
test_fingerprint_equality
Test fingerprint equality comparison.
lib/crewai/tests/security/test_fingerprint.py:102
Function
test_fingerprint_from_dict
Test creating fingerprint from dictionary.
lib/crewai/tests/security/test_fingerprint.py:142
Function
test_fingerprint_generate_classmethod
Test the generate class method.
lib/crewai/tests/security/test_fingerprint.py:77
Function
test_fingerprint_hash
Test that fingerprints can be used as dictionary keys.
lib/crewai/tests/security/test_fingerprint.py:114
Function
test_fingerprint_json_serialization
Test that Fingerprint can be JSON serialized and deserialized.
lib/crewai/tests/security/test_fingerprint.py:162
Function
test_fingerprint_metadata_example
Test using the Fingerprint's metadata for additional information.
lib/crewai/tests/security/test_examples.py:71
Function
test_fingerprint_metadata_mutation
Test that metadata can be modified after fingerprint creation.
lib/crewai/tests/security/test_fingerprint.py:199
Function
test_fingerprint_persistence
Test that fingerprints persist and don't change.
lib/crewai/tests/security/test_integration.py:142
Function
test_fingerprint_string_representation
Test the string representation of Fingerprint.
lib/crewai/tests/security/test_fingerprint.py:93
Function
test_fingerprint_to_dict
Test converting fingerprint to dictionary.
lib/crewai/tests/security/test_fingerprint.py:127
Function
test_fingerprint_uuid_cannot_be_set
Test that uuid_str cannot be manually set.
lib/crewai/tests/security/test_fingerprint.py:35
Function
test_fingerprint_uuid_property
Test the uuid property returns a UUID object.
lib/crewai/tests/security/test_fingerprint.py:55
Function
test_fingerprint_with_security_config
Test example of using a SecurityConfig with components.
lib/crewai/tests/security/test_examples.py:86
Method
test_finished_event_carries_failure_under_warn
(self)
lib/crewai/tests/tools/test_tool_failure.py:870
Method
test_finished_event_carries_no_failure_under_ignore
(self)
lib/crewai/tests/tools/test_tool_failure.py:853
Method
test_finished_event_carries_the_failure
(self)
lib/crewai/tests/tools/test_tool_failure.py:406
Function
test_firecrawl_agent_sends_only_basic_mcp_arguments
(runner, monkeypatch)
lib/crewai/tests/telemetry/test_wharf_runner.py:70
Function
test_firecrawl_crawl_tool_integration
()
lib/crewai-tools/tests/tools/firecrawl_crawl_website_tool_test.py:8
Function
test_firecrawl_scrape_tool_integration
()
lib/crewai-tools/tests/tools/firecrawl_scrape_website_tool_test.py:8
Function
test_firecrawl_search_tool_integration
()
lib/crewai-tools/tests/tools/firecrawl_search_tool_test.py:7
Method
test_first_blocking_hook_stops_execution
Test that first hook returning False blocks execution.
lib/crewai/tests/hooks/test_tool_hooks.py:340
Method
test_first_event_has_previous_pointing_back
Non-first events should have previous_event_id set.
lib/crewai/tests/events/test_event_ordering.py:583
Function
test_first_party_tool_type_restores_in_a_fresh_process
Resuming a checkpoint must not need the opt-in for crewai's own tools.
lib/crewai/tests/tools/test_deserialization_guard.py:61
Function
test_first_task_auto_inject_trigger
()
lib/crewai/tests/agents/test_agent.py:1059
Function
test_first_time_execution_uses_local_session_even_with_saved_credentials
( collector, monkeypatch, approved )
lib/crewai/tests/telemetry/test_session_trace_export.py:700
Method
test_first_time_handler_graceful_error_handling
Test graceful error handling in first-time trace logic
lib/crewai/tests/tracing/test_tracing.py:606
Method
test_first_time_handler_path_reports_ephemeral_sent
The first-time flow finalizes through its own caller, not finalize_batch.
lib/crewai/tests/tracing/test_tracing.py:1693
Method
test_first_time_handler_timeout_behavior
Test the timeout behavior of the first-time trace prompt
lib/crewai/tests/tracing/test_tracing.py:573
Function
test_first_time_preference_contains_only_completion_and_consent
( collector, monkeypatch, approved )
lib/crewai/tests/telemetry/test_session_trace_export.py:682
Method
test_first_time_user_trace_collection_user_accepts
First-run approval exports the collected trace and remembers consent.
lib/crewai/tests/tracing/test_tracing.py:523
Method
test_first_time_user_trace_collection_with_timeout
No first-run consent means no grant or exported execution spans.
lib/crewai/tests/tracing/test_tracing.py:500
Method
test_first_time_user_trace_consolidation_logic
First-run collection uses one local session even with saved credentials.
lib/crewai/tests/tracing/test_tracing.py:546
Function
test_first_time_uses_local_session_even_with_saved_login
( in_memory_grant_collectors, monkeypatch, approved )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:270
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:3607
Function
test_flow_config_provider_fallback_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:4355
Function
test_flow_copy_state_with_dict_state
Test that _copy_state works with dict-based states.
lib/crewai/tests/test_flow.py:1794
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:1733
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:1705
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:1762
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:1208
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
← previous
next →
13,801–13,900 of 19,482, ranked by callers