MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Methodtest_a_create_amp_rejects_as_unauthorized_asks_for_login
Counted as before, then raised as the error the run app logs in on.
lib/cli/tests/deploy/test_deploy_main.py:1365
Functiontest_a_crew_copy_made_inside_the_block_is_built_from_the_declared_llm
`Crew.copy()` — the `kickoff_for_each` path — copies every agent before its input is interpolated. A template that is itself a key maps at constru
lib/crewai/tests/test_llm_overlay.py:487
Functiontest_a_crew_task_with_a_spreadsheet_url_queries_every_row
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:342
Functiontest_a_crew_that_sets_tracing_false_is_never_told_its_trace_is_sent
()
lib/cli/tests/test_crew_run_tui.py:579
Functiontest_a_crew_whose_trace_would_carry_the_login_to_an_untrusted_amp_is_not_run
A project crewai older than the handshake would send this machine's login to the AMP its `.env` names whenever the run traces, `tracing=True`
lib/cli/tests/experimental/test_eval_crew.py:3863
Functiontest_a_crewai_without_missing_api_key_error_stops_as_before
The runner child imports the project's crewai, which can predate MissingAPIKeyError (1.15.34): the run fails and counts as it always has.
lib/cli/tests/test_run_usage.py:1548
Functiontest_a_cross_provider_swap_carries_settings_but_not_credentials
Generation settings mean the same thing everywhere; an endpoint and a key belong to the provider they were issued for. The Anthropic instance
lib/crewai/tests/test_llm_overlay.py:391
Methodtest_a_csv_from_bytes
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:118
Methodtest_a_csv_goes_straight_to_its_profile_without_the_formula_note
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:194
Functiontest_a_csv_named_only_by_its_presigned_type_is_read
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1169
Methodtest_a_csv_past_the_cell_budget_is_refused
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:573
Functiontest_a_csv_waits_for_a_parse_slot_like_an_xlsx
(monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:793
Functiontest_a_custom_endpoint_is_kept_when_the_mapped_model_is_unknown_too
A self-hosted OpenAI-compatible endpoint serves models no constants table knows; mapping one of them to another must stay on that endpoint, with i
lib/crewai/tests/utilities/test_create_llm_like.py:137
Methodtest_a_damaged_archive_is_not_a_spreadsheet
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:99
Methodtest_a_date_far_in_the_future_matches
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:380
Methodtest_a_date_filter_takes_iso_dates_only
The sheet may read 01/03/2026 day-first; the filter can't guess.
lib/crewai-files/tests/spreadsheets/test_answers.py:303
Methodtest_a_date_past_pandas_nanosecond_range_is_still_a_date
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:475
Methodtest_a_date_with_a_zone_compares_as_utc
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:414
Methodtest_a_deadline_already_past_fails_before_requesting
(self)
lib/crewai-tools/tests/url_read_tool_test.py:864
Functiontest_a_declaration_is_the_same_yes_as_the_variable
`tracing=True` never reaches this worker's context — the crew set it on the thread it was built on — so the declaration itself is read.
lib/cli/tests/test_trace_consent_session.py:117
Functiontest_a_declarative_flow_agent_step_given_the_url_in_state
Studio passes an upload as a URL in state, and the agent step puts it in its input; the step runs through Agent.kickoff_async.
lib/crewai/tests/agents/test_agent_spreadsheets.py:371
Functiontest_a_declarative_flow_definition_that_cannot_be_loaded
( project, usage, error_classes )
lib/cli/tests/test_run_usage.py:425
Functiontest_a_declarative_flow_definition_that_does_not_validate
( project, usage, error_classes, definition, error_class )
lib/cli/tests/test_run_usage.py:844
Functiontest_a_declarative_flow_is_not_checked
(project, children, no_prompt)
lib/cli/tests/test_api_keys.py:1008
Functiontest_a_declarative_flow_is_not_treated_as_internal
``Flow.from_declaration()`` yields a ``Flow``, defined inside crewai. Deciding origin from the defining module would report a caller's declar
lib/crewai/tests/telemetry/test_flow_telemetry.py:612
Functiontest_a_declarative_flow_missing_a_required_input
(project, usage)
lib/cli/tests/test_run_usage.py:361
Functiontest_a_declarative_flow_without_the_crewai_package
( project, usage, monkeypatch )
lib/cli/tests/test_run_usage.py:402
Methodtest_a_declared_extra_builtin_route_is_covered
A literal list would miss it; deriving from the routes does not.
lib/crewai/tests/test_flow_conversation.py:3032
Functiontest_a_declared_id_is_distinguishable_from_an_undeclared_one
The whole point of the change: the two cases produce different values. Both are present, so a reader can always tell "no project" from "old clien
lib/crewai/tests/telemetry/test_coding_agent_detection.py:585
Methodtest_a_declared_intent_llm_mapping_is_resolved
`_collapse_to_outcome` takes only str | BaseLLM, so it must be coerced. Swapping the mapping for an LLM before the turn would skip the coerci
lib/crewai/tests/test_flow_conversation.py:2986
Methodtest_a_declared_length_over_the_limit_is_refused_before_reading
( self, monkeypatch )
lib/crewai-files/tests/spreadsheets/test_loading.py:203
Methodtest_a_declared_mapping_reaches_create_llm_during_a_turn
Swapping the config out before the turn would not prove the path.
lib/crewai/tests/test_flow_conversation.py:2964
Functiontest_a_declared_model_whose_sdk_is_missing_still_maps
Nothing is built on the declared model, so its SDK need not be here; its key cannot be matched to the new provider, so it stays behind.
lib/crewai/tests/test_llm_overlay.py:755
Functiontest_a_declared_pydantic_task_that_produced_none_is_told_apart
The gap the two flags close: declared is not the same as produced.
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:155
Methodtest_a_declared_python_ref_is_resolved_to_the_class
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_flow_conversation.py:2578
Functiontest_a_deferred_run_is_counted_once_when_it_finally_ends
( collector, sent_features, monkeypatch )
lib/crewai/tests/telemetry/test_session_trace_export.py:912
Functiontest_a_deferred_run_is_recorded_once_at_finalization_and_a_failed_export_never
( collector, recorded_runs, monkeypatch, capsys, first_status )
lib/crewai/tests/telemetry/test_session_trace_export.py:237
Functiontest_a_deferred_session_still_reports_a_failed_turn
A deferring session has no per-turn terminal event to carry the failure. Its only outcome span is the one ``finalize_session_traces()`` triggers,
lib/crewai/tests/telemetry/test_flow_telemetry.py:650
Functiontest_a_denied_async_knowledge_retrieval_reaches_the_caller
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:264
Functiontest_a_denied_conversion_is_not_retried
(denying_llm, denied_calls)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:150
Functiontest_a_denied_guardrail_does_not_read_as_a_failed_validation
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:373
Functiontest_a_denied_guardrail_still_reports_the_validation_it_started
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:385
Functiontest_a_denied_guardrail_stops_the_crew_instead_of_retrying_the_task
()
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:213
Functiontest_a_denied_knowledge_query_still_reports_the_failure_it_started
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:165
Functiontest_a_denied_knowledge_retrieval_does_not_fall_back_to_the_plain_prompt
( denying_llm, )
lib/crewai/tests/hooks/test_hook_abort_propagation.py:233
Functiontest_a_denied_memory_recall_does_not_run_the_task_without_memory
()
lib/crewai/tests/hooks/test_hook_abort_propagation.py:339
Functiontest_a_denied_memory_save_does_not_report_a_clean_kickoff
()
lib/crewai/tests/hooks/test_hook_abort_propagation.py:358
Functiontest_a_denied_memory_save_stops_the_crew_instead_of_retrying_the_task
()
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:236
Functiontest_a_denied_memory_step_reaches_the_caller
(deny_on)
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:225
Functiontest_a_denied_model_call_reaches_the_caller
(entry_point)
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:204
Functiontest_a_denied_parallel_step_reaches_the_caller
()
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:279
Functiontest_a_denied_plan_stops_the_executor_instead_of_running_unplanned
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:414
Functiontest_a_denied_plan_stops_the_legacy_planning_path
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:282
Functiontest_a_denied_replan_does_not_keep_executing_the_stale_plan
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:296
Functiontest_a_denied_step_observation_still_reports_the_failure_it_started
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:200
Functiontest_a_denied_step_stops_the_plan_instead_of_reporting_a_failed_step
()
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:258
Functiontest_a_denied_structured_conversion_reaches_the_caller
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:446
Functiontest_a_deny_is_not_reported_as_a_provider_failure
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:462
Functiontest_a_deny_names_the_hook_that_raised_it_rather_than_its_repr
()
lib/crewai/tests/hooks/test_hook_abort_propagation.py:480
Functiontest_a_deploy_amp_refuses_for_another_reason_does_not_ask_for_login
( monkeypatch, capsys, deploy_usage )
lib/cli/tests/test_crew_run_tui.py:2703
Functiontest_a_deployment_that_is_not_a_uuid_is_refused_before_anything_is_sent
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:1987
Functiontest_a_deployment_this_account_may_not_run_is_amps_sentence_alone
Logging in again changes nothing about a deployment one may not run.
lib/cli/tests/experimental/test_eval_crew.py:2082
Functiontest_a_description_set_after_the_task_is_built_is_read
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:887
Methodtest_a_different_call_resets_the_streak
Re-reading a source between other lookups is not a loop.
lib/crewai/tests/tools/test_tool_failure.py:2020
Methodtest_a_different_result_resets_the_streak
(self)
lib/crewai/tests/tools/test_tool_failure.py:2032
Methodtest_a_dimension_that_claims_the_whole_grid_changes_nothing
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:222
Functiontest_a_direct_call_carrying_an_agent_is_seen_once
(seen_agents)
lib/crewai/tests/hooks/test_model_call_hook_reach.py:91
Functiontest_a_direct_call_without_an_agent_is_seen_once
(seen_agents)
lib/crewai/tests/hooks/test_model_call_hook_reach.py:104
Functiontest_a_done_answer_without_a_well_formed_verdict_is_a_protocol_error
(project, monkeypatch, capsys, verdict)
lib/cli/tests/experimental/test_eval_crew.py:573
Functiontest_a_download_a_server_trickles_ends_at_the_deadline
( loopback: Any, stall: str )
lib/crewai-tools/tests/utilities/test_safe_requests.py:779
Functiontest_a_download_done_before_the_deadline_is_returned_whole
(loopback: Any)
lib/crewai-tools/tests/utilities/test_safe_requests.py:793
Methodtest_a_dropped_projection_reloads_with_the_synthesized_model
(self)
lib/crewai/tests/test_flow_conversation.py:2749
Functiontest_a_dumped_event_restores_as_itself_and_keeps_both_error_fields
The JSON dump must round-trip, or restoring a checkpoint loses the failure. `_resolve_event` in state/event_record.py wraps `cls.model_validate`
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:505
Methodtest_a_failed_archive_reports_zip_error
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1253
Methodtest_a_failed_archive_under_zip_reports_zip_error
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1757
Functiontest_a_failed_comparison_exits_one_with_the_reason
(deployed, monkeypatch, capsys, usage)
lib/cli/tests/experimental/test_eval_crew.py:2059
Functiontest_a_failed_conversation_session_is_not_reported_completed
A conversational session closes with FlowFinishedEvent either way. Reading that event at face value counted a failed session as a success, al
lib/crewai/tests/telemetry/test_flow_telemetry.py:625
Methodtest_a_failed_create_counts_the_attempt_but_reports_no_creation
The whole point of two spans: a failed create is an attempt, not a success. Collapsing them into one post-success span would silently convert
lib/cli/tests/deploy/test_deploy_main.py:1110
Methodtest_a_failed_download_says_so
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:222
Functiontest_a_failed_evaluation_exits_one_with_amps_reason
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:370
Functiontest_a_failed_flow_is_still_counted_as_an_execution
The start-time span must survive, or aborted runs vanish from counts. ``flow_executions_daily_target`` counts ``Flow Execution`` spans, emitted
lib/crewai/tests/telemetry/test_flow_telemetry.py:249
Functiontest_a_failed_kickoff_keeps_what_it_raised_beside_its_message
`crewai run` reads the error itself once the app closes, to ask for an API key the crew failed without.
lib/cli/tests/test_crew_run_tui.py:1787
Functiontest_a_failed_mint_records_an_empty_string_not_a_missing_key
`get_or_create_project_id` returns None when pyproject is missing or unwritable. Empty rather than absent, matching the convention established fo
lib/crewai/tests/cli/test_project_created_span.py:106
Functiontest_a_failed_run_crewai_eval_started_is_shared_after_its_consent
The host's consent callback stays authoritative for a failed run too.
lib/crewai/tests/telemetry/test_session_trace_export.py:1018
Functiontest_a_failed_run_crewai_eval_started_is_still_uploaded_to_be_graded
A failed run is still a run to grade: `crewai eval` started it, the command was the yes, and a logged-in failed run is already graded. Its tra
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:507
Methodtest_a_failed_run_is_distinguishable_from_a_successful_one
The gap this closes: crew failure had no ungated record at all.
lib/crewai/tests/telemetry/test_crew_completed_span.py:83
Functiontest_a_failed_run_nobody_is_evaluating_is_not_uploaded
Tracing on, and the run failed outside `crewai eval`: as before, its trace is discarded without a question or a request.
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:542
Functiontest_a_failed_streamed_turn_does_not_mark_the_next_turn_failed
``stream_turn`` is the other emitter of the turn-failure event. It emits from its own ``except`` block, after ``kickoff()`` has closed the ru
lib/crewai/tests/telemetry/test_flow_telemetry.py:712
Functiontest_a_failed_task_still_says_what_it_declared
There is no output to inspect, so the format comes from the declaration.
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:182
Functiontest_a_failed_turn_does_not_mark_the_next_turn_failed
A session that opts out of deferral ends each turn with its own event. That terminal event fires inside ``kickoff()``, before ``handle_turn()``
lib/crewai/tests/telemetry/test_flow_telemetry.py:681
Functiontest_a_failed_uv_script_exits_with_its_own_code
(monkeypatch, capsys, returncode)
lib/cli/tests/test_run_crew.py:1353
Functiontest_a_failed_write_leaves_no_temporary_file
(project, monkeypatch)
lib/crewai/tests/telemetry/test_last_run.py:109
Functiontest_a_failing_count_never_changes_the_outcome
( project, commands, monkeypatch, setup, args )
lib/cli/tests/test_run_usage.py:1057
Methodtest_a_failing_telemetry_backend_does_not_change_the_stop
The count runs before failure handling, so it must never break the stop.
lib/crewai/tests/tools/test_tool_failure.py:2563
Functiontest_a_failing_usage_count_never_changes_the_deploy
(monkeypatch, capsys)
lib/cli/tests/test_crew_run_tui.py:2626
Functiontest_a_failing_usage_count_never_changes_what_the_command_does
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2774
Methodtest_a_failure_from_the_run_tui_keeps_its_source
The TUI succeeds far less often than the CLI; the split must survive.
lib/cli/tests/deploy/test_deploy_main.py:1389
Methodtest_a_far_sheet_and_sheets_past_the_cap_are_named
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:125
Methodtest_a_far_sheet_behind_a_redirected_package_is_refused_unopened
( self, calamine_must_not_open )
lib/crewai-files/tests/spreadsheets/test_reading.py:732
Methodtest_a_far_sheet_costs_only_itself
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:296
← previousnext →10,101–10,200 of 19,482, ranked by callers