Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
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:1884
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:1944
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:1920
Method
test_akickoff_with_inputs
Test akickoff with inputs.
lib/crewai/tests/test_flow.py:1906
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:1974
Method
test_akickoff_with_router
Test akickoff with router method.
lib/crewai/tests/test_flow.py:1994
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:2714
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
Method
test_an_aggregation_other_than_count_needs_a_column
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:567
Function
test_an_aggregator_route_under_an_alias_still_is_not_the_native_model
()
lib/crewai/tests/test_llm_overlay.py:866
Function
test_an_aggregators_route_is_matched_by_its_own_full_name
()
lib/crewai/tests/test_llm_overlay.py:812
Function
test_an_aggregators_route_is_never_the_native_model_it_names
`openrouter/openai/gpt-4o` is OpenRouter's model, not OpenAI's: a key written for the native model leaves it alone.
lib/crewai/tests/test_llm_overlay.py:800
Method
test_an_alternating_loop_is_left_to_max_iter
A, B, A, B... never repeats back to back, so max_iter is what ends it.
lib/crewai/tests/tools/test_tool_failure.py:2041
Function
test_an_amp_exported_in_this_shell_is_trusted
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:530
Function
test_an_app_nobody_opened_for_an_evaluation_opens_the_report
The run app's own Evaluate, after `crewai run`: unchanged.
lib/cli/tests/test_crew_run_tui.py:307
Function
test_an_app_provider_never_receives_our_processor
An application's own provider must be left completely alone. Attaching our processor to it stamped CrewAI's process-wide attributes onto that
lib/crewai/tests/telemetry/test_coding_agent_detection.py:488
Method
test_an_archive_of_too_many_members_is_not_opened_further
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:89
Function
test_an_areas_name_is_printed_literally_never_as_markup
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:241
Function
test_an_async_call_is_denied_like_a_sync_one
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:438
Function
test_an_attachment_only_final_message_is_the_request
Its files must reach `inputs["files"]`, not be filtered away.
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:291
Function
test_an_automated_run_still_reports_an_unknown_assistant
The split must keep the two fields independent. A CI run has no assistant to find, which is different from failing to recognize one - the rea
lib/crewai/tests/telemetry/test_coding_agent_detection.py:315
Function
test_an_azure_endpoint_is_carried_as_its_resource_root
()
lib/crewai/tests/utilities/test_create_llm_like.py:56
Function
test_an_empty_key_or_the_placeholder_counts_as_missing
( project, children, no_prompt, monkeypatch, value, where )
lib/cli/tests/test_api_keys.py:910
Function
test_an_empty_list_does_not_crash
()
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:199
Method
test_an_encrypted_member_is_refused_as_protected
(self, calamine_must_not_open)
lib/crewai-files/tests/spreadsheets/test_reading.py:140
Method
test_an_env_base_url_marks_a_server_compatible
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:489
Function
test_an_env_file_that_cannot_be_read_is_left_to_the_run
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1039
Function
test_an_error_class_that_cannot_be_read_never_replaces_the_load_error
Counting is best effort: the run must stop with its own error.
lib/cli/tests/test_run_usage.py:451
Function
test_an_evaluation_amp_failed_in_the_run_app_is_counted_and_still_returned
( project, monkeypatch, usage )
lib/cli/tests/experimental/test_eval_crew.py:2620
← previous
next →
11,001–11,100 of 19,663, ranked by callers