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_agent_without_server_config_no_injection
Agent without A2AServerConfig should not get to_agent_card method.
lib/crewai/tests/a2a/utils/test_agent_card.py:27
Method
test_agent_without_skills_emits_nothing
(self)
lib/crewai/tests/events/test_skill_usage_events.py:169
Method
test_agent_without_tools_is_untouched
No tools means no conflict, so nothing should be rewritten.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:929
Method
test_agent_without_tools_no_thought_in_output
Test that agent without tools produces clean output without 'Thought:' prefix.
lib/crewai/tests/utilities/test_prompts_no_thought_leakage.py:160
Function
test_agent_without_tools_still_gets_the_schema_on_its_only_call
()
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:368
Method
test_agents_accept_a_crew_offered_handler_by_default
``Crew(cache=True)`` offers its handler via set_cache_handler at kickoff; agents that didn't explicitly opt out must accept it.
lib/crewai/tests/test_tool_cache_default.py:188
Function
test_agents_do_not_get_delegation_tools_with_there_is_only_one_agent
()
lib/crewai/tests/test_crew.py:1752
Function
test_agents_md_command_parser_accepts_a_group_run_without_a_subcommand
()
lib/cli/tests/test_create_crew.py:2704
Function
test_agents_md_command_parser_rejects_a_group_that_needs_a_subcommand
()
lib/cli/tests/test_create_crew.py:2709
Function
test_agents_md_docs_paths_exist
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2920
Function
test_agents_md_imports_resolve
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2902
Function
test_agents_md_never_list_still_catches_advice
()
lib/cli/tests/test_create_crew.py:2897
Function
test_agents_md_never_teaches_what_main_removed
(shipped_agents_md, text)
lib/cli/tests/test_create_crew.py:2892
Function
test_agents_md_numbered_lists_have_no_gaps
(tmp_path, evaluation)
lib/cli/tests/test_create_crew.py:2784
Function
test_agents_md_python_examples_compile
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2915
Function
test_agents_md_references_the_feature
(shipped_agents_md, feature)
lib/cli/tests/test_create_crew.py:2877
Function
test_agents_md_stays_within_its_token_budget
(shipped_agents_md)
lib/cli/tests/test_create_crew.py:2884
Function
test_agents_rpm_is_never_set_if_crew_max_rpm_is_not_set
()
lib/crewai/tests/test_crew.py:1001
Method
test_agents_sharing_one_llm_report_per_call_usage
(self)
lib/crewai/tests/agents/test_lite_agent.py:1248
Method
test_agents_that_opted_out_refuse_a_crew_offered_handler
(self)
lib/crewai/tests/test_tool_cache_default.py:198
Function
test_agents_yaml_from_repository_loads_repository_agent
(tmp_path)
lib/crewai/tests/test_project.py:541
Method
test_aget_all_files
Test async get_all_files merging.
lib/crewai/tests/utilities/test_file_store.py:147
Function
test_aget_llm_response_offloads_proactive_compaction
()
lib/crewai/tests/utilities/test_agent_utils.py:379
Function
test_aget_llm_response_skips_preflight_when_context_respect_is_disabled
()
lib/crewai/tests/utilities/test_agent_utils.py:419
Function
test_aget_llm_response_summarizes_before_the_model_call
()
lib/crewai/tests/utilities/test_agent_utils.py:344
Method
test_aget_or_create_collection
Test that aget_or_create_collection calls the underlying client correctly.
lib/crewai/tests/rag/chromadb/test_client.py:207
Method
test_aget_or_create_collection_existing
Test aget_or_create_collection returns existing collection.
lib/crewai/tests/rag/qdrant/test_client.py:159
Method
test_aget_or_create_collection_new
Test aget_or_create_collection creates new collection.
lib/crewai/tests/rag/qdrant/test_client.py:183
Method
test_aget_or_create_collection_with_all_params
Test aget_or_create_collection with all optional parameters.
lib/crewai/tests/rag/chromadb/test_client.py:230
Method
test_aget_or_create_collection_wrong_client_type
Test aget_or_create_collection raises TypeError for sync client.
lib/crewai/tests/rag/qdrant/test_client.py:208
Method
test_aggregates_resume_after_from_pending
A flow restored via ``from_pending`` is a fresh instance with no ``_flow_match_id``; without seeding it, the listener attached in ``re
lib/crewai/tests/test_flow_usage_metrics.py:418
Method
test_ainject_files_from_crew_task_store_uses_async_store
Async file injection should not call the sync file store helper.
lib/crewai/tests/agents/test_agent_executor.py:344
Function
test_ainvoke
Test asynchronous invocation
lib/crewai/tests/tools/test_structured_tool.py:216
Method
test_ainvoke_guardrail_failure_then_success
Test async guardrail that fails then succeeds on retry.
lib/crewai/tests/task/test_async_task.py:264
Method
test_ainvoke_guardrail_max_retries_exceeded
Test async guardrail that exceeds max retries.
lib/crewai/tests/task/test_async_task.py:292
Method
test_ainvoke_guardrail_success
Test async guardrail invocation with successful validation.
lib/crewai/tests/task/test_async_task.py:241
Method
test_ainvoke_multiple_guardrails
Test async execution with multiple guardrails.
lib/crewai/tests/task/test_async_task.py:317
Function
test_ainvoke_runs_a_sync_tool_in_the_callers_context
A sync tool runs on another thread, and still sees the caller's context variables, such as the run's platform integration token.
lib/crewai/tests/tools/test_structured_tool.py:225
Method
test_akickoff_basic
Test basic akickoff execution.
lib/crewai/tests/test_flow.py:1816
Method
test_akickoff_basic
Test basic async crew kickoff.
lib/crewai/tests/crew/test_async_crew.py:50
Method
test_akickoff_calls_after_callbacks
Test that async kickoff calls after_kickoff_callbacks.
lib/crewai/tests/crew/test_async_crew.py:190
Method
test_akickoff_calls_before_callbacks
Test that async kickoff calls before_kickoff_callbacks.
lib/crewai/tests/crew/test_async_crew.py:154
Method
test_akickoff_equivalent_to_kickoff_async
Test that akickoff produces the same results as kickoff_async.
lib/crewai/tests/test_flow.py:1876
Method
test_akickoff_for_each_basic
Test basic async kickoff_for_each.
lib/crewai/tests/crew/test_async_crew.py:230
Method
test_akickoff_for_each_concurrent
Test that async kickoff_for_each runs concurrently.
lib/crewai/tests/crew/test_async_crew.py:265
Function
test_akickoff_fork_conflict_with_from_checkpoint_raises
akickoff must raise the same conflict ValueError as kickoff/kickoff_async when both from_checkpoint and restore_from_state_id are set.
lib/crewai/tests/test_flow_persistence.py:514
Method
test_akickoff_handles_exception
Test that async kickoff handles exceptions properly.
lib/crewai/tests/crew/test_async_crew.py:141
Method
test_akickoff_multiple_tasks
Test async crew kickoff with multiple tasks.
lib/crewai/tests/crew/test_async_crew.py:100
Function
test_akickoff_pinned_fork
akickoff with both inputs.id and restore_from_state_id pins state.id while hydrating from the source.
lib/crewai/tests/test_flow_persistence.py:484
Method
test_akickoff_with_async_methods
Test akickoff with async flow methods.
lib/crewai/tests/test_flow.py:1852
Method
test_akickoff_with_inputs
Test akickoff with inputs.
lib/crewai/tests/test_flow.py:1838
Method
test_akickoff_with_inputs
Test async crew kickoff with inputs.
lib/crewai/tests/crew/test_async_crew.py:70
Method
test_akickoff_with_multiple_starts
Test akickoff with multiple start methods.
lib/crewai/tests/test_flow.py:1906
Method
test_akickoff_with_router
Test akickoff with router method.
lib/crewai/tests/test_flow.py:1926
Method
test_all_boundary_points_fire_once
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:91
Function
test_all_common_attributes_land_on_exported_spans
End-to-end: every common attribute survives onto arbitrary spans.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:623
Method
test_all_digits
(self)
lib/crewai/tests/skills/test_validation.py:31
Method
test_all_ending_events_have_pairs
(self)
lib/crewai/tests/events/test_event_context.py:97
Method
test_all_fields
(self)
lib/crewai/tests/skills/test_models.py:40
Method
test_all_fields_in_required_for_strict_mode
All fields (including optional) must be in required for strict mode.
lib/crewai/tests/utilities/test_agent_utils.py:707
Function
test_all_filter_uses_independent_array_membership_checks
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:723
Function
test_all_filters_limits_and_failed_batch_with_real_connection
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool_integration.py:54
Method
test_all_pairs_reference_starting_events
(self)
lib/crewai/tests/events/test_event_context.py:101
Method
test_all_providers_work_without_interceptor
Test that all providers work normally without interceptor.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:290
Method
test_all_sampling_params_default_to_none
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:99
Method
test_allof_merges_properties
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:424
Method
test_allow_period_rejects_digit_led_schema
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:264
Method
test_allow_period_rejects_digit_led_table
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:269
Method
test_allowlist_is_ignored_while_force_safe_paths_is_set
(self, monkeypatch)
lib/crewai-tools/tests/utilities/test_safe_path.py:216
Method
test_allows_absolute_path_inside_base
Allow absolute path that's inside base_dir.
lib/crewai-tools/tests/utilities/test_safe_path.py:46
Function
test_allows_benign_archive
An ordinary archive of regular files extracts correctly.
lib/cli/tests/skills/test_safe_extract.py:191
Method
test_allows_entry_in_any_common_host_format
(self, monkeypatch, entry)
lib/crewai-tools/tests/utilities/test_safe_path.py:188
Method
test_allows_private_address_for_exact_configured_hostname
(self, monkeypatch)
lib/crewai-tools/tests/utilities/test_safe_path.py:163
Method
test_allows_public_addresses
(self, ip)
lib/crewai-tools/tests/utilities/test_safe_path.py:348
Method
test_already_finalized_batch_reports_nothing
Finalization is idempotent; the signal must not double-count.
lib/crewai/tests/tracing/test_tracing.py:1645
Method
test_also_counts_the_deployment_as_a_feature
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:60
Method
test_also_counts_the_deployment_as_a_feature
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:164
Function
test_alternating_readers_and_writers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:128
Function
test_ambient_env_does_not_leak_to_server
Ambient env vars outside the MCP SDK's default allowlist must not reach the server. Regression guard: previously StdioTransport did os.environ.co
lib/crewai/tests/mcp/test_stdio_transport.py:12
Function
test_ambiguous_agent_definitions_require_explicit_choice
(tmp_path: Path)
lib/crewai-core/tests/test_agent_project_entrypoint.py:23
Function
test_ambiguous_default_entrypoints_require_definition
(data_project)
lib/crewai/tests/project/test_agent_project.py:237
Method
test_ambiguous_slash_dates_in_a_comma_file_read_month_first
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:555
Function
test_amp_rejecting_a_fresh_login_stops_after_one_login
A 401 a new login cannot fix (no AMP user, not activated) must not loop.
lib/cli/tests/test_crew_run_tui.py:2685
Function
test_amp_unreachable_at_the_start_is_a_sentence_not_a_traceback
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:588
Method
test_amps_hold_back_sentence_is_printed_literally_whatever_brackets_it_has
( self, mock_display, mock_repository )
lib/cli/tests/deploy/test_deploy_main.py:666
Function
test_amps_refusal_is_printed_literally_too
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:309
Method
test_amps_refusal_is_recognised_on_every_route_in_either_shape
AMP names the refusal in `code`, its `error` carrying the sentence; an AMP from before named it in `error`. Either way, deploying by id, by na
lib/cli/tests/deploy/test_deploy_main.py:586
Function
test_amps_refusals_are_printed_in_its_words_and_exit_one
(project, monkeypatch, capsys, response, expected)
lib/cli/tests/experimental/test_eval_crew.py:396
Method
test_an_abort_at_the_prompt_reports_user_declined
( self, mock_input, mock_repository, mock_fetch_env )
lib/cli/tests/deploy/test_deploy_main.py:1346
Function
test_an_absent_error_type_serializes_as_null_not_as_a_string
()
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:497
Function
test_an_agent_call_outside_the_executor_loop_is_seen_once
(seen_agents)
lib/crewai/tests/hooks/test_model_call_hook_reach.py:135
Function
test_an_agent_declared_with_a_model_string_runs_on_the_mapped_model
()
lib/crewai/tests/test_llm_overlay.py:691
Function
test_an_agent_file_the_crew_does_not_list_is_not_read
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1168
Function
test_an_agent_whose_llm_was_built_outside_the_block_is_mapped_by_its_model
The declared instance is looked up by its model, with the configuration carried like a role's swap.
lib/crewai/tests/test_llm_overlay.py:698
Function
test_an_agents_config_in_another_yaml_file_names_its_host
A crew's `agents_config` can name any YAML file, not only config/agents.yaml.
lib/cli/tests/test_api_keys.py:424
Function
test_an_agents_own_tool_of_the_same_name_is_kept
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:478
Function
test_an_agents_own_tools_stay_when_a_task_runs_without_a_crew
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1011
Function
test_an_agents_yaml_endpoint_it_cannot_read_is_still_named
A value this check cannot take must not leave the plain prompt.
lib/cli/tests/test_api_keys.py:460
Function
test_an_agents_yaml_ipv6_host_is_named_whole
(project, children, monkeypatch)
lib/cli/tests/test_api_keys.py:444
Function
test_an_agents_yaml_llm_that_sends_requests_elsewhere_names_the_host
A classic crew's agents.yaml can give an agent's llm its own host.
lib/cli/tests/test_api_keys.py:406
← previous
next →
10,901–11,000 of 19,482, ranked by callers