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_trailing_hyphen_raises
(self)
lib/crewai/tests/skills/test_validation.py:60
Method
test_trailing_semicolon_allowed_single_statement
A single statement with a trailing semicolon should pass.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:270
Method
test_trailing_slash_in_query_is_preserved
Only the path is stripped, so a query ending in / keeps that character.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:152
Method
test_trailing_slash_removed
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:75
Function
test_trailing_turns_survive_with_the_system_prompt_disabled
The combined-prompt branch needs the same after-request placement.
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:252
Function
test_train_crew_called_process_error
(mock_subprocess_run, click)
lib/cli/tests/test_train_crew.py:61
Function
test_train_crew_invalid_filename
(mock_subprocess_run)
lib/cli/tests/test_train_crew.py:51
Function
test_train_crew_negative_iterations
(mock_subprocess_run)
lib/cli/tests/test_train_crew.py:41
Function
test_train_crew_positive_iterations
(mock_subprocess_run)
lib/cli/tests/test_train_crew.py:11
Function
test_train_crew_unexpected_exception
(mock_subprocess_run, click)
lib/cli/tests/test_train_crew.py:90
Function
test_train_crew_zero_iterations
(mock_subprocess_run)
lib/cli/tests/test_train_crew.py:31
Function
test_train_custom_iterations
(train_crew, runner)
lib/cli/tests/test_cli.py:54
Function
test_train_custom_iterations_snake_case_alias
(train_crew, runner)
lib/cli/tests/test_cli.py:63
Function
test_train_default_iterations
(train_crew, runner)
lib/cli/tests/test_cli.py:45
Function
test_train_help_hides_legacy_flag_aliases
(runner)
lib/cli/tests/test_cli.py:165
Function
test_train_invalid_string_iterations
(train_crew, runner)
lib/cli/tests/test_cli.py:76
Function
test_training_converter_fallback_mechanism
( convert_field_by_field_mock, to_pydantic_mock )
lib/crewai/tests/utilities/evaluators/test_task_evaluator.py:69
Method
test_training_mode_human_input
Test human input in training mode.
lib/crewai/tests/test_flow_human_input_integration.py:114
Method
test_transport_instantiation
Test that transport can be instantiated with interceptor.
lib/crewai/tests/llms/hooks/test_transport.py:78
Method
test_transport_requires_interceptor
Test that transport requires interceptor parameter.
lib/crewai/tests/llms/hooks/test_transport.py:85
Function
test_tree_copy_full_structure
(temp_tree)
lib/cli/tests/test_utils.py:69
Function
test_tree_copy_preserve_content
(temp_tree)
lib/cli/tests/test_utils.py:83
Function
test_tree_copy_to_existing_directory
(temp_tree)
lib/cli/tests/test_utils.py:95
Function
test_tree_find_and_replace_directory_name
(temp_tree)
lib/cli/tests/test_utils.py:47
Function
test_tree_find_and_replace_file_content
(temp_tree)
lib/cli/tests/test_utils.py:32
Function
test_tree_find_and_replace_file_name
(temp_tree)
lib/cli/tests/test_utils.py:38
Function
test_tree_find_and_replace_nested_content
(temp_tree)
lib/cli/tests/test_utils.py:53
Function
test_tree_find_and_replace_no_matches
(temp_tree)
lib/cli/tests/test_utils.py:59
Method
test_tree_record_roundtrip
(self)
lib/crewai/tests/test_event_record.py:293
Method
test_trigger_all
(self)
lib/crewai/tests/test_checkpoint.py:201
Method
test_trigger_bidirectional
(self)
lib/crewai/tests/test_event_record.py:158
Method
test_trigger_events
(self)
lib/crewai/tests/test_checkpoint.py:213
Function
test_trigger_requests_wait_60_seconds_only_for_the_response
(call, path)
lib/cli/tests/test_plus_api.py:594
Method
test_triggered_by_event_id_for_listeners
Listener events should have triggered_by_event_id pointing to the triggering method_execution_finished event.
lib/crewai/tests/events/test_event_ordering.py:633
Method
test_triggers_fetch_on_stale_cache
Test that a stale cache triggers a re-fetch.
lib/cli/tests/test_version.py:348
Method
test_triggers_fetch_on_stale_cache
Test that a stale cache triggers a re-fetch.
lib/crewai/tests/cli/test_version.py:312
Method
test_triple_dash_in_body
(self)
lib/crewai/tests/skills/test_parser.py:54
Method
test_true_returns_config
(self)
lib/crewai/tests/test_checkpoint.py:46
Function
test_truncates_to_max_models
(monkeypatch)
lib/cli/tests/test_model_catalog.py:356
Function
test_truncation_preserves_json_and_respects_byte_cap
(payload, cap)
lib/crewai/tests/telemetry/test_gen_ai_shapes.py:25
Function
test_trust_remote_completion_status_false_continues_conversation
When trust_remote_completion_status=False and A2A returns completed, ask server agent.
lib/crewai/tests/agents/test_a2a_trust_completion_status.py:83
Function
test_trust_remote_completion_status_true_returns_directly
When trust_remote_completion_status=True and A2A returns completed, return result directly.
lib/crewai/tests/agents/test_a2a_trust_completion_status.py:28
Function
test_try_finally_syntax
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:100
Function
test_try_finally_syntax_sse
(echo_sse_server)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:116
Function
test_try_finally_with_filtered_tools
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:160
Function
test_try_parse_structured_rejects_deeply_nested_input
A nesting depth no JSON backend can walk must parse as nothing, not recurse.
lib/cli/tests/test_crew_run_tui.py:2484
Function
test_try_parse_structured_rejects_non_serializable_literals
ast.literal_eval("[...]") is a valid [Ellipsis] list but cannot be JSON-encoded.
lib/cli/tests/test_crew_run_tui.py:2466
Function
test_try_parse_structured_still_accepts_serializable_values
()
lib/cli/tests/test_crew_run_tui.py:2473
Method
test_tty_repaints_panel_per_chunk
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:306
Function
test_tui_chat_requires_a_terminal
(monkeypatch)
lib/crewai/tests/test_flow_chat_tui.py:35
Function
test_tui_chat_requires_conversational_opt_in
()
lib/crewai/tests/test_flow_chat_tui.py:57
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:347
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:398
Method
test_type_array_nullable_string_no_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:335
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:306
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:368
Method
test_type_array_single_element
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:359
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:917
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
Method
test_unknown_provider_raises_error
Test that unknown provider raises ValueError.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:159
← previous
next →
18,701–18,800 of 19,482, ranked by callers