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_output_pydantic_hierarchical
()
lib/crewai/tests/test_task.py:322
Function
test_output_pydantic_sequential
()
lib/crewai/tests/test_task.py:297
Function
test_output_pydantic_to_another_task
()
lib/crewai/tests/test_task.py:589
Function
test_outside_a_crewai_project_nothing_is_written_and_it_says_so
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:837
Function
test_outside_a_project_counts_as_no_project
(project, usage)
lib/cli/tests/experimental/test_eval_crew.py:2707
Function
test_outside_a_project_nothing_is_saved
(project, monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:4031
Function
test_outside_any_block_an_interpolation_that_changes_the_role_changes_nothing
Block semantics: with no overlay active there is nothing to re-resolve against, so an agent built inside a block keeps the model it got there.
lib/crewai/tests/test_llm_overlay.py:292
Method
test_overflowed_result_is_referenced_and_readable_through_file_reader
(self)
lib/crewai/tests/agents/test_agent_executor.py:2603
Function
test_overlapping_agent_turns_are_rejected_before_mutating_history
( monkeypatch, streaming, second_streaming, second_session )
lib/crewai/tests/agents/test_conversation.py:322
Function
test_overlapping_task_logs_keep_their_own_state
Task 1 completing after task 2 started must log its own description, agent, and output — and must not steal or reset task 2's stream state.
lib/cli/tests/test_crew_run_tui.py:2125
Function
test_overlay_does_not_cross_plain_threads_unless_context_is_copied
Pins contextvar semantics; callers threading agents must copy the context.
lib/crewai/tests/test_llm_overlay.py:166
Function
test_overlay_does_not_leak_past_the_block
()
lib/crewai/tests/test_llm_overlay.py:74
Function
test_overlay_is_reset_when_the_block_raises
()
lib/crewai/tests/test_llm_overlay.py:83
Method
test_override_applies_for_post_processing_when_api_lacks_stop_support
Models that lack API-level stop support still need the override. Native providers (e.g. Azure on gpt-5/o-series) read ``stop_sequences``
lib/crewai/tests/agents/test_agent.py:3119
Method
test_override_cleared_when_context_raises
A failed call must still clear the per-call stop override.
lib/crewai/tests/agents/test_agent.py:3103
Method
test_override_does_not_leak_to_other_llm_instances
Override for one LLM must not affect another LLM (e.g. function_calling_llm). Regression for Cursor Bugbot: a global ContextVar would leak th
lib/crewai/tests/agents/test_agent.py:3169
Method
test_override_propagates_to_nested_direct_llm_calls
Once invoke wraps with the override, nested direct llm.call sites (StepExecutor, handle_max_iterations_exceeded) see the merged stops.
lib/crewai/tests/agents/test_agent.py:3188
Method
test_overrides_a_requested_effort
(self)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:212
Method
test_oversized_error_names_the_url_that_served_the_body
After a redirect the requested URL is not the one that sent it.
lib/crewai-tools/tests/url_read_tool_test.py:844
Function
test_oversized_metadata_returns_failure_without_sending
(destination, caplog)
lib/crewai/tests/telemetry/test_grant_export_bounds.py:162
Function
test_oversized_workbook_is_truncated_with_a_visible_notice
A cap that is not announced reads as complete content. Announce it.
lib/crewai-tools/tests/url_read_tool_test.py:701
Function
test_overviews_past_the_budget_are_named_without_one
()
lib/crewai/tests/agents/test_agent_spreadsheets.py:1262
Method
test_overwrite_last_event_id
(self)
lib/crewai/tests/events/test_event_context.py:127
Function
test_overwrite_true
(tool, temp_env, overwrite)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:77
Method
test_owned_connection_is_closed_on_delete
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:335
Method
test_package_dependencies_listed
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:691
Function
test_packaged_litellm_catalog_loads_known_models
()
lib/crewai/tests/llms/test_context_window.py:170
Method
test_pages_newest_first
( self, storage: StorageBackend, limit: int, offset: int, expected_ind
lib/crewai/tests/memory/test_storage_backend_contract.py:192
Method
test_pagination_edges
( self, storage: StorageBackend, limit: int, offset: int, expected_ind
lib/crewai/tests/memory/test_storage_backend_contract.py:214
Method
test_pairs_by_strength_and_what_was_left_out
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:643
Method
test_pairs_cleanly_with_task_completed
The pushed scope must be popped by a matching task_completed.
lib/crewai/tests/events/test_event_context.py:246
Function
test_parallel_analyze_runs_concurrent_calls
remember_many with 3 items needing LLM should make 3 concurrent LLM calls.
lib/crewai/tests/memory/test_unified_memory.py:1142
Method
test_parallel_crews_thread_safety
(self, mock_execute_task, crew_factory)
lib/crewai/tests/test_crew_thread_safety.py:48
Function
test_parallel_find_similar_runs_all_searches
remember_many with 3 distinct items should run 3 storage searches.
lib/crewai/tests/memory/test_unified_memory.py:1087
Function
test_parallel_first_access_creates_only_one_conversation
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:419
Function
test_parallel_flow_initialization_does_not_use_store_lock
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, existing_db: bool )
lib/crewai/tests/test_sqlite_connection_lifecycle.py:125
Method
test_parallel_flows_maintain_separate_triggered_by_chains
Parallel flow executions should maintain correct triggered_by chains independently.
lib/crewai/tests/events/test_event_ordering.py:1052
Method
test_parallel_listeners_same_trigger
Parallel listeners should all have triggered_by_event_id pointing to the same triggering event.
lib/crewai/tests/events/test_event_ordering.py:778
Function
test_parallel_mcp_tool_execution_different_tools
Parallel calls to different tools from the same server must not interfere.
lib/crewai/tests/mcp/test_mcp_config.py:264
Function
test_parallel_mcp_tool_execution_same_tool
Parallel calls to the *same* tool must not interfere.
lib/crewai/tests/mcp/test_mcp_config.py:218
Function
test_parallel_processes_initialize_flow_db
( tmp_path: Path, existing_db: bool )
lib/crewai/tests/test_sqlite_connection_lifecycle.py:163
Function
test_parallel_sessions_keep_events_and_handlers_separate
()
lib/crewai/tests/telemetry/test_event_trace_session.py:35
Method
test_parallel_step_loop_stops_the_agent
(self)
lib/crewai/tests/tools/test_tool_failure.py:2298
Method
test_parallel_steps_keep_separate_tallies
Two steps sharing one StepExecutor must not add up each other's calls.
lib/crewai/tests/tools/test_tool_failure.py:2323
Method
test_parallel_tool_calls_become_separate_items
(self)
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:139
Function
test_params_is_optional
`params` is typed as optional, so the tool call must not require it.
lib/crewai-tools/tests/tools/test_hyperbrowser_load_tool_schema.py:6
Method
test_parent_child_bidirectional
(self)
lib/crewai/tests/test_event_record.py:135
Function
test_parent_directory_symlink_outside_cwd_is_rejected
( project: Path, tmp_path: Path )
lib/crewai-files/tests/test_file_path_containment.py:39
Function
test_parent_pause_persists_its_own_trace_and_resume_feedback
( traces, legacy_context )
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:415
Function
test_parse_args_dict
Test parsing dictionary arguments
lib/crewai/tests/tools/test_structured_tool.py:250
Function
test_parse_args_string
Test parsing string arguments
lib/crewai/tests/tools/test_structured_tool.py:259
Function
test_parse_cli_args_rejects_a_positional_deployment_id
()
lib/cli/tests/test_create_crew.py:2714
Method
test_parse_dict_response
Dict response from some provider paths is parsed correctly.
lib/crewai/tests/agents/test_agent_executor.py:2375
Method
test_parse_error_carries_an_invalid_input_failure
(self)
lib/crewai/tests/tools/test_tool_failure.py:1273
Method
test_parse_error_handling
( self, mock_create_llm, mock_agent, mock_task, mock_output, llm_calls )
lib/crewai/tests/experimental/evaluation/metrics/test_reasoning_metrics.py:103
Function
test_parse_inputs_json_parses_object
()
lib/cli/tests/test_input_prompt.py:24
Function
test_parse_inputs_json_rejects_invalid_json
(capsys)
lib/cli/tests/test_input_prompt.py:28
Function
test_parse_inputs_json_rejects_non_object
(capsys)
lib/cli/tests/test_input_prompt.py:36
Function
test_parse_inputs_json_returns_none_for_none
()
lib/cli/tests/test_input_prompt.py:20
Method
test_parse_json_string
JSON string from non-streaming LLM path is parsed correctly.
lib/crewai/tests/agents/test_agent_executor.py:2335
Method
test_parse_json_string_with_markdown_fences
JSON wrapped in ```json ... ``` fences is handled.
lib/crewai/tests/agents/test_agent_executor.py:2356
Method
test_parse_step_observation_instance
Direct StepObservation instance passes through unchanged.
lib/crewai/tests/agents/test_agent_executor.py:2318
Method
test_parse_steps_from_function_response
Test that steps are correctly parsed from LLM function response.
lib/crewai/tests/utilities/test_structured_planning.py:154
Method
test_parse_steps_handles_missing_optional_fields
Test that missing optional fields are handled correctly.
lib/crewai/tests/utilities/test_structured_planning.py:196
Method
test_parse_steps_with_missing_fields_uses_defaults
Test that steps with missing fields get default values.
lib/crewai/tests/utilities/test_structured_planning.py:229
Method
test_parse_toml_python_311_plus
(self)
lib/cli/tests/deploy/test_deploy_main.py:1968
Method
test_parse_unparseable_falls_back_gracefully
Totally unparseable response falls back to default failure.
lib/crewai/tests/agents/test_agent_executor.py:2394
Function
test_parsing_failure_stays_unattributed
A tool-call parsing failure has no tool identity, and must not invent one. Passing the raw tool_string here would put unbounded model output into
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:131
Function
test_parsing_with_special_characters
()
lib/crewai/tests/agents/test_crew_agent_parser.py:332
Function
test_parsing_with_whitespace
()
lib/crewai/tests/agents/test_crew_agent_parser.py:324
Method
test_partial_callback_still_writes_checkpoints
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_checkpoint.py:1014
Method
test_partial_match
Test partial match finds the outcome in the response.
lib/crewai/tests/test_human_feedback_decorator.py:482
Method
test_partial_returns_none
(self)
lib/crewai/tests/test_callback.py:103
Method
test_partial_warns_it_is_dropped
(self)
lib/crewai/tests/test_callback.py:177
Method
test_partially_yanked_files
Test a version with mixed yanked/non-yanked files is not yanked.
lib/cli/tests/test_version.py:276
Method
test_partially_yanked_files
Test a version with mixed yanked/non-yanked files is not yanked.
lib/crewai/tests/cli/test_version.py:240
Method
test_partially_yanked_files_not_considered_yanked
Test that a version with some non-yanked files is not yanked.
lib/cli/tests/test_version.py:234
Method
test_partially_yanked_files_not_considered_yanked
Test that a version with some non-yanked files is not yanked.
lib/crewai/tests/cli/test_version.py:198
Function
test_parts_list_is_sent_as_blocks_with_image_bytes_intact
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:188
Function
test_parts_list_system_content_is_sent_as_its_text
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:294
Function
test_passed_initial_state_instance_keeps_its_id
A state passed to one Flow keeps its id, e.g. to continue a run (#9498).
lib/crewai/tests/test_flow_persistence.py:280
Method
test_passes_through_a_sync_response
(self)
lib/crewai/tests/utilities/test_agent_utils.py:1183
Method
test_passes_through_to_event
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:379
Function
test_passing_guardrail_result_fills_output_json
(make_result, expected)
lib/crewai/tests/test_task_guardrails.py:828
Function
test_passing_guardrail_result_fills_output_pydantic
(make_result, expected)
lib/crewai/tests/test_task_guardrails.py:813
Function
test_passing_guardrail_result_fills_output_pydantic_async
( make_result, expected )
lib/crewai/tests/test_task_guardrails.py:860
Function
test_passing_guardrail_result_replaces_native_structured_output
(guardrail_result)
lib/crewai/tests/test_task_guardrails.py:881
Function
test_passing_guardrail_task_output_fills_the_configured_field
()
lib/crewai/tests/test_task_guardrails.py:842
Method
test_passthrough_tuple_includes_the_error
(self)
lib/crewai/tests/tools/test_tool_failure.py:764
Method
test_past_the_last_row
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:264
Method
test_path_is_not_a_directory
(self)
lib/crewai-tools/tests/rag/test_directory_loader.py:101
Method
test_path_keyword_with_data_type
Test path keyword argument with data_type.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:352
Method
test_path_like_string
(self)
lib/crewai/tests/skills/test_registry.py:111
Function
test_path_with_nothing_readable_says_artifacts_end_with_their_run
(tmp_path)
lib/crewai/tests/tools/agent_tools/test_deferred_tool_result_reader.py:48
Function
test_paths_creates_storage_dir
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai-core/tests/test_smoke.py:27
Method
test_pattern
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:772
Method
test_pause_detaches_listener_and_does_not_leak
When ``kickoff_async`` pauses for human feedback, the listener must be detached from the singleton bus to avoid leaking handlers acros
lib/crewai/tests/test_flow_usage_metrics.py:369
Method
test_pause_is_safe_when_no_session
Test pausing when no streaming session exists doesn't error.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:35
Method
test_pause_on_file_flushes_panel_once
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:223
Method
test_pause_resume_cycle_with_streaming
Test full pause/resume cycle during streaming.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:102
← previous
next →
16,701–16,800 of 19,735, ranked by callers