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_tui_chat_uses_shared_launcher_and_preserves_turn_options
(monkeypatch)
lib/crewai/tests/test_flow_chat_tui.py:12
Function
test_tui_consent_callback_survives_context_exit_and_suppressed_terminal_prompt
( collector, monkeypatch )
lib/crewai/tests/telemetry/test_session_trace_export.py:643
Function
test_tui_counts_only_actions_with_a_selected_checkpoint
(action, selected)
lib/cli/tests/test_checkpoint_telemetry.py:91
Function
test_tui_failures_are_catchable_exceptions
(monkeypatch, kind)
lib/crewai/tests/agents/test_conversation.py:246
Function
test_tui_rejects_repl_only_options
(monkeypatch, options)
lib/crewai/tests/test_flow_chat_tui.py:51
Method
test_turn_inside_a_running_event_loop
``kickoff`` takes its thread-pool path when a loop is already running.
lib/crewai/tests/test_flow_conversation.py:3538
Function
test_turning_tracing_on_creates_an_env_only_its_owner_can_read
The `.env` it creates is where the project's API keys go next.
lib/cli/tests/experimental/test_eval_crew.py:4312
Function
test_turning_tracing_on_keeps_an_owner_only_env_and_its_keys
(tmp_path, monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:4328
Function
test_two_completions_retained_while_gate_held_then_only_one_claims_floor
()
lib/crewai/tests/test_flow_replies.py:57
Method
test_two_crews_have_different_ids
Two crews in a flow should have different event_ids.
lib/crewai/tests/events/test_event_ordering.py:362
Function
test_two_empty_answers_raise_typed_error
(use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:115
Function
test_two_exception_classes_sharing_a_name_cannot_be_confused
A same-named class must never be substituted for the one that was serialized. Regression for the review finding on this PR: resolving by bare ``_
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:557
Function
test_two_files_with_one_name_are_told_apart
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:299
Method
test_two_keys_sorted_by_a_mean_ascending
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:537
Function
test_two_keys_that_are_one_role_with_different_models_are_refused
``"Researcher"`` and ``" Researcher "`` name one role. With one model they collapse to it; with two the mapping is ambiguous and refused, so the
lib/crewai/tests/test_llm_overlay.py:124
Function
test_two_sequential_outer_runs_get_distinct_uuids
()
lib/crewai/tests/test_execution_uuid.py:66
Method
test_two_sheets_with_one_name_are_refused
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:763
Function
test_two_spreadsheets_and_a_document_url
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:289
Function
test_txt_search_tool
()
lib/crewai-tools/tests/tools/test_search_tools.py:76
Function
test_txt_search_tool_with_azure_config_without_env_vars
Test TXTSearchTool accepts Azure config without requiring env vars.
lib/crewai-tools/tests/tools/test_txt_search_tool_config.py:8
Function
test_txt_search_tool_with_cohere_config
Test TXTSearchTool with Cohere embedding provider.
lib/crewai-tools/tests/tools/test_txt_search_tool_config.py:78
Function
test_txt_search_tool_with_openai_config_without_env_vars
Test TXTSearchTool accepts OpenAI config without requiring env vars.
lib/crewai-tools/tests/tools/test_txt_search_tool_config.py:46
Method
test_type_array_multiple_non_null
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:395
Method
test_type_array_multiple_non_null_with_format
A list-form type with more than one non-null member plus a recognized format, e.g. `{"type": ["string", "integer", "null"], "format":
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:446
Method
test_type_array_nullable_string_no_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:383
Method
test_type_array_nullable_string_with_format
type: ["string", "null"] -- the .NET/System.Text.Json-style way of expressing an optional field, as opposed to Pydantic's own anyOf-ba
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:354
Method
test_type_array_required_nullable_string_with_format
A required-but-nullable formatted field, e.g. `{"type": ["string", "null"], "format": "date-time"}` inside a "required" list -- a vali
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:416
Method
test_type_array_single_element
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:407
Method
test_typed_authentication_error_propagates_without_speculative_wording
( self, mock_asyncio_run, resolver, http_config )
lib/crewai/tests/mcp/test_tool_resolver_auth.py:60
Function
test_typed_commits_fence_identity_protect_inputs_and_retain_partial_outputs
()
lib/crewai/tests/test_flow_jobs.py:103
Method
test_typed_output_after_hook_includes_raw_tool_result
(self)
lib/crewai/tests/agents/test_native_tool_calling.py:1251
Method
test_typed_output_is_json_agent_text
(self)
lib/crewai/tests/agents/test_native_tool_calling.py:1221
Method
test_typed_tool_output_is_json_agent_text
(self)
lib/crewai/tests/utilities/test_agent_utils.py:938
Method
test_types_are_inferred_per_column
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:414
Function
test_unanswered_sessions_score_zero_and_are_counted_by_reason
(tmp_path)
lib/devtools/tests/test_agents_md_eval.py:301
Method
test_unauthorized_exits_1_and_points_to_login
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:508
Method
test_unauthorized_shows_amp_reason
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:523
Function
test_unchanged_catalog_creates_no_branch_or_pr
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, calls: list[list[str]] )
lib/devtools/tests/test_release_catalog_phase.py:34
Function
test_undecodable_bytes_fall_back_instead_of_failing
Partially readable text beats an error for the agent.
lib/crewai-tools/tests/url_read_tool_test.py:175
Function
test_undecodable_or_nul_bearing_bodies_fail_closed
Fail-closed is deliberate: only strict UTF-8 without NUL reads as text. A charset-guessing rescue here would push binary payloads into an agent's
lib/crewai-tools/tests/url_read_tool_test.py:564
Method
test_under_limit_continues_reasoning
(self)
lib/crewai/tests/agents/test_agent_executor.py:2462
Method
test_under_limit_with_native_tools
(self)
lib/crewai/tests/agents/test_agent_executor.py:2473
Method
test_underscore_raises
(self)
lib/crewai/tests/skills/test_validation.py:68
Method
test_unforced_file_output_is_one_plain_panel
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:239
Method
test_unicode_content
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:51
Method
test_unicode_content
(self)
lib/crewai/tests/skills/test_parser.py:65
Method
test_unicode_text
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:180
Method
test_unknown_command_after_cte_blocked
WITH cte AS (SELECT 1) FOOBAR should be blocked as unknown.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:596
Function
test_unknown_image_bytes_are_refused
(store)
lib/crewai/tests/test_artifacts.py:861
Method
test_unknown_provider_raises_error
Test that unknown provider raises ValueError.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:159
Function
test_unknown_provider_still_raises
()
lib/crewai/tests/rag/test_client_factory_registry.py:64
Function
test_unknown_schema_rejected
()
lib/crewai/tests/test_flow_from_definition.py:3708
Method
test_unknown_source
(self)
lib/crewai/tests/test_checkpoint.py:117
Method
test_unknown_state_is_treated_like_dict
(self)
lib/crewai/tests/test_flow_conversation.py:2858
Function
test_unknown_state_type_falls_back_to_dict
(caplog)
lib/crewai/tests/test_flow_from_definition.py:3525
Method
test_unknown_tool_can_abort_under_raise
(self)
lib/crewai/tests/tools/test_tool_failure.py:593
Method
test_unknown_tool_raises_with_guidance
(self)
lib/crewai/tests/project/test_json_loader.py:502
Method
test_unknown_type_raises
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:740
Method
test_unknown_version
Test an unknown version returns False.
lib/cli/tests/test_version.py:269
Method
test_unknown_version
Test an unknown version returns False.
lib/crewai/tests/cli/test_version.py:233
Function
test_unlimited_depth_still_detects_dataclass_cycles
()
lib/crewai/tests/utilities/test_serialization.py:183
Function
test_unlimited_tool_usage
Test that tools without usage limits work normally.
lib/crewai/tests/tools/test_tool_usage_limit.py:29
Function
test_unlisted_bedrock_anthropic_ids_route_to_bedrock
Bedrock names Anthropic models "anthropic.claude-*"; that is not the direct API.
lib/crewai/tests/test_llm.py:1194
Function
test_unlisted_model_warns_on_every_provider_path
( prefix: str, kwargs: dict[str, object], caplog: pytest.LogCaptureFixture )
lib/crewai/tests/llms/test_context_window.py:599
Function
test_unlisted_openrouter_model_falls_back_and_warns_once
( caplog: pytest.LogCaptureFixture, )
lib/crewai/tests/llms/test_context_window.py:571
Method
test_unmarked_messages_get_no_cache_control
(self)
lib/crewai/tests/llms/test_prompt_cache.py:166
Function
test_unmatched_assistant_is_unknown
No marker means a gap in the table, reported as unknown.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:352
Method
test_unmatched_response_raises
Unmatched LLM text fails closed instead of taking emit[0].
lib/crewai/tests/test_human_feedback_decorator.py:499
Method
test_unmatched_runtime_error_is_wrapped_not_swallowed
( self, mock_asyncio_run, resolver, http_config )
lib/crewai/tests/mcp/test_tool_resolver_native.py:94
Method
test_unnamed_bytes_typed_as_csv_read_as_csv
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:143
Method
test_unpinned_ref_omits_the_version_argument
(self, tmp_path: Path)
lib/crewai/tests/skills/test_registry.py:276
Function
test_unprefixed_models_use_native_sdk
Test that unprefixed models use native SDK when model is in constants.
lib/crewai/tests/test_llm.py:1141
Function
test_unqualified_index_lookup_scopes_both_owners
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1361
Function
test_unreachable_collector_logs_nothing
(caplog: pytest.LogCaptureFixture)
lib/crewai-core/tests/test_telemetry_export_logs.py:49
Function
test_unreadable_storage_metadata_gives_a_clear_error
(tmp_path)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:107
Method
test_unrecognized_dict_shape_returns_empty_name_and_args
(self)
lib/crewai/tests/utilities/test_agent_utils.py:869
Function
test_unrecognized_provider_prefix_does_not_inherit_the_bare_window
()
lib/crewai/tests/llms/test_context_window.py:47
Function
test_unrecognized_provider_prefix_is_not_stripped
Unknown prefixes stay on the lookup name and do not inherit the gpt-5.6 window.
lib/crewai/tests/test_llm.py:436
Method
test_unregister_after_hook
Test that after hooks can be unregistered.
lib/crewai/tests/hooks/test_llm_hooks.py:319
Method
test_unregister_after_hook
Test that after hooks can be unregistered.
lib/crewai/tests/hooks/test_tool_hooks.py:475
Method
test_unregister_before_hook
Test that before hooks can be unregistered.
lib/crewai/tests/hooks/test_llm_hooks.py:309
Method
test_unregister_before_hook
Test that before hooks can be unregistered.
lib/crewai/tests/hooks/test_tool_hooks.py:465
Function
test_unregister_removes_factory
()
lib/crewai/tests/rag/test_client_factory_registry.py:52
Method
test_unregister_resolves_filtered_wrapper
(self)
lib/crewai/tests/hooks/test_dispatch.py:160
Function
test_unregister_unknown_provider_is_noop
()
lib/crewai/tests/rag/test_client_factory_registry.py:60
Method
test_unresolvable_import_ref_tool_raises_guidance
(self)
lib/crewai/tests/project/test_json_loader.py:522
Method
test_unresolvable_path_raises
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:215
Function
test_unresolvable_provider_ref_names_field_and_ref
()
lib/crewai/tests/test_flow_from_definition.py:4606
Function
test_unresolved_apps_still_raise_where_user_warnings_are_errors
Code that turns this UserWarning into an error, as CrewAI AMP's runtime does, keeps working.
lib/crewai/tests/agents/test_agent.py:2877
Method
test_unresolved_collapse_llm_raises
If no LLM can be resolved, do not take emit[0].
lib/crewai/tests/test_human_feedback_decorator.py:591
Method
test_unsafe_names_rejected_at_runtime
(self, bad_name, tmp_path, monkeypatch)
lib/crewai/tests/project/test_json_loader.py:742
Function
test_unsaveable_cache_function_restores_as_never_cached
()
lib/crewai-tools/tests/tools/wait_tool_test.py:168
Method
test_unsaveable_tool_cache_function_and_agent_callback_do_not_block_restore
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, make_callable: Any,
lib/crewai/tests/test_checkpoint.py:1066
Method
test_unserializable_output_falls_back_to_the_original
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1057
Method
test_unserializable_output_raises_when_strict
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1066
Method
test_unserializable_typed_output_warns_and_uses_string_agent_text
( self, )
lib/crewai/tests/tools/test_base_tool.py:567
Method
test_unset_stays_off_the_wire
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:524
Method
test_unset_task_policy_falls_through_to_agent
(self)
lib/crewai/tests/tools/test_tool_failure.py:202
Function
test_unstructured_flow_event_emission
Test that the correct events are emitted during unstructured flow execution with all fields validated.
lib/crewai/tests/test_flow.py:666
Method
test_unsupported
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:182
← previous
next →
19,001–19,100 of 19,735, ranked by callers