MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

Methodtest_also_counts_the_deployment_as_a_feature
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:164
Functiontest_alternating_readers_and_writers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:128
Functiontest_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
Functiontest_ambiguous_agent_definitions_require_explicit_choice
(tmp_path: Path)
lib/crewai-core/tests/test_agent_project_entrypoint.py:23
Functiontest_ambiguous_default_entrypoints_require_definition
(data_project)
lib/crewai/tests/project/test_agent_project.py:237
Methodtest_ambiguous_slash_dates_in_a_comma_file_read_month_first
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:555
Functiontest_amp_is_not_asked_about_a_login_when_nobody_is_at_the_terminal
With no terminal the command is the yes whatever the login: nothing is asked, of the person or of AMP.
lib/cli/tests/experimental/test_eval_crew.py:3999
Functiontest_amp_not_creating_an_account_falls_back_to_the_login_message
( amp, project, coding_agent, capsys, usage, answer, reason, counted )
lib/cli/tests/authentication/test_placeholder.py:440
Functiontest_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:2911
Functiontest_amp_unreachable_at_the_start_is_a_sentence_not_a_traceback
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:613
Methodtest_amps_hold_back_sentence_is_printed_literally_whatever_brackets_it_has
( self, mock_display, mock_repository )
lib/cli/tests/deploy/test_deploy_main.py:682
Functiontest_amps_refusal_is_printed_literally_too
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:334
Methodtest_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:602
Functiontest_amps_refusals_are_printed_in_its_words_and_exit_one
(project, monkeypatch, capsys, response, expected)
lib/cli/tests/experimental/test_eval_crew.py:421
Methodtest_an_abort_at_the_prompt_reports_user_declined
( self, mock_input, mock_repository, mock_fetch_env )
lib/cli/tests/deploy/test_deploy_main.py:1362
Functiontest_an_absent_error_type_serializes_as_null_not_as_a_string
()
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:497
Functiontest_an_absolute_path_is_refused
(loader: LoadSkillTool, tmp_path: Path)
lib/crewai/tests/skills/test_skill_files.py:117
Functiontest_an_account_amp_refuses_is_replaced_once_and_the_deploy_retried
( amp, project, coding_agent, usage )
lib/cli/tests/authentication/test_placeholder.py:358
Functiontest_an_account_in_a_redirected_store_is_never_used_nor_created
A `.env` that points HOME elsewhere moves the store `TokenManager` reads; a temporary account found there may be somebody else's, so it is not
lib/cli/tests/authentication/test_placeholder.py:293
Functiontest_an_account_saved_before_the_upload_is_not_announced
()
lib/cli/tests/test_crew_run_tui.py:297
Functiontest_an_account_the_upload_created_is_announced_in_the_app
crewAI's own announcement is silenced under the app, so the app shows it, in the same words, with the claim link.
lib/cli/tests/test_crew_run_tui.py:280
Functiontest_an_action_selector_takes_every_action_amp_matches_by_substring
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:624
Functiontest_an_action_the_batch_did_not_return_is_reported_missing
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:572
Functiontest_an_agent_answers_from_a_reference_file_it_read_through_the_loader
( skill_dir: Path, )
lib/crewai/tests/skills/test_skill_files.py:306
Functiontest_an_agent_call_outside_the_executor_loop_is_seen_once
(seen_agents)
lib/crewai/tests/hooks/test_model_call_hook_reach.py:135
Functiontest_an_agent_declared_with_a_model_string_runs_on_the_mapped_model
()
lib/crewai/tests/test_llm_overlay.py:691
Functiontest_an_agent_file_the_crew_does_not_list_is_not_read
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1168
Functiontest_an_agent_run_from_a_tool_in_the_turn_cannot_ask_for_approval
(db)
lib/crewai/tests/agents/test_tool_approval.py:555
Functiontest_an_agent_that_may_change_no_field_gets_no_state_tools
A model call spent on a tool that can change nothing is wasted.
lib/crewai/tests/agents/test_agent_state.py:375
Functiontest_an_agent_that_may_change_one_field_keeps_both_state_tools
(db)
lib/crewai/tests/agents/test_agent_state.py:388
Functiontest_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
Functiontest_an_agent_without_the_list_keeps_its_one_step_flow
(db)
lib/crewai/tests/agents/test_tool_approval.py:942
Functiontest_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
Functiontest_an_agents_own_tool_of_the_same_name_is_kept
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:478
Functiontest_an_agents_own_tools_stay_when_a_task_runs_without_a_crew
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1011
Functiontest_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
Functiontest_an_agents_yaml_ipv6_host_is_named_whole
(project, children, monkeypatch)
lib/cli/tests/test_api_keys.py:444
Functiontest_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
Methodtest_an_aggregation_other_than_count_needs_a_column
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:567
Functiontest_an_aggregator_route_under_an_alias_still_is_not_the_native_model
()
lib/crewai/tests/test_llm_overlay.py:866
Functiontest_an_aggregators_route_is_matched_by_its_own_full_name
()
lib/crewai/tests/test_llm_overlay.py:812
Functiontest_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
Methodtest_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
Functiontest_an_amp_exported_in_this_shell_is_trusted
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:555
Functiontest_an_amp_the_projects_env_names_gets_no_account_request
`crewai.llm` loads the project's `.env` on import, so `CREWAI_PLUS_URL` may be the project's choice: no account is created there, and the saved on
lib/crewai/tests/telemetry/test_placeholder_traces.py:338
Functiontest_an_anonymous_fallback_amp_refuses_too_is_counted_after_the_refused_account
( amp, capsys, usage )
lib/crewai/tests/telemetry/test_placeholder_traces.py:462
Functiontest_an_answer_at_the_terminal_is_recorded_as_asked
( grants, terminal_answer, approved, recorded )
lib/crewai/tests/telemetry/test_trace_consent_asked.py:259
Functiontest_an_app_amp_lists_under_another_name_is_asked_about_alone
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:552
Functiontest_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:500
Functiontest_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
Functiontest_an_approved_call_does_not_run_when_its_tool_is_gone_or_unlisted_at_resume
(db, dropped)
lib/crewai/tests/agents/test_tool_approval.py:637
Functiontest_an_approved_call_runs_once_when_a_tool_starts_the_same_agent_again
(db)
lib/crewai/tests/agents/test_tool_approval.py:589
Functiontest_an_approved_call_runs_only_the_tool_called_when_two_names_sanitize_alike
( db, first_name, second_runs )
lib/crewai/tests/agents/test_tool_approval.py:622
Functiontest_an_approved_tool_that_runs_a_coroutine_runs_once
(db, tool_class)
lib/crewai/tests/agents/test_tool_approval.py:665
Methodtest_an_archive_of_too_many_members_is_not_opened_further
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:89
Functiontest_an_areas_name_is_printed_literally_never_as_markup
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:266
Functiontest_an_async_call_is_denied_like_a_sync_one
(denying_llm)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:438
Functiontest_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
Functiontest_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
Functiontest_an_azure_endpoint_is_carried_as_its_resource_root
()
lib/crewai/tests/utilities/test_create_llm_like.py:56
Functiontest_an_empty_answer_rejects
(db)
lib/crewai/tests/agents/test_tool_approval.py:360
Functiontest_an_empty_file_argument_loads_the_instructions
( loader: LoadSkillTool, )
lib/crewai/tests/skills/test_skill_files.py:74
Functiontest_an_empty_key_or_the_placeholder_counts_as_missing
( project, children, no_prompt, monkeypatch, value, where )
lib/cli/tests/test_api_keys.py:910
Functiontest_an_empty_list_does_not_crash
()
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:199
Methodtest_an_encrypted_member_is_refused_as_protected
(self, calamine_must_not_open)
lib/crewai-files/tests/spreadsheets/test_reading.py:140
Methodtest_an_env_base_url_marks_a_server_compatible
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:489
Functiontest_an_env_file_that_cannot_be_read_is_left_to_the_run
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1039
Functiontest_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
Functiontest_an_error_other_than_missing_apps_is_raised_as_is
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:710
Methodtest_an_error_outside_the_token_request_counts_its_class
( self, monkeypatch: pytest.MonkeyPatch, usage: list[str] )
lib/crewai-core/tests/test_auth_refresh.py:1152
Methodtest_an_error_without_selectors_names_every_platform_ref
(self, monkeypatch)
lib/crewai/tests/project/test_json_loader.py:650
Functiontest_an_evaluation_amp_failed_in_the_run_app_is_counted_and_still_returned
( project, monkeypatch, usage )
lib/cli/tests/experimental/test_eval_crew.py:2828
Functiontest_an_evaluation_amp_failed_is_counted_and_says_what_it_always_said
( project, monkeypatch, capsys, usage )
lib/cli/tests/experimental/test_eval_crew.py:2812
Functiontest_an_evaluation_that_fails_after_it_started_stops_under_the_same_id
(project, monkeypatch, counted)
lib/cli/tests/experimental/test_eval_crew.py:1037
Functiontest_an_evaluation_that_finishes_counts_no_stop
(monkeypatch, stops)
lib/cli/tests/test_crew_run_tui.py:3416
Functiontest_an_evaluation_that_graded_nothing_prints_the_gate_alone
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:347
Functiontest_an_evaluation_that_stopped_can_be_tried_again
A timeout or a 502 is worth another press, and the run is still there to grade — only a finished one sends the reader to its report instead.
lib/cli/tests/test_crew_run_tui.py:532
Functiontest_an_evaluation_that_stopped_says_so_where_it_was_running
()
lib/cli/tests/test_crew_run_tui.py:627
Functiontest_an_evaluation_that_stops_on_this_screen_counts_why_and_answers_for_the_run
The marker tells a `crewai eval` waiting behind this screen that the run was answered for, so it neither starts it again nor counts the stop twice
lib/cli/tests/test_crew_run_tui.py:3384
Functiontest_an_evaluation_that_stops_while_waiting_was_counted_and_says_why
It started, so `cli_usage:eval` counted it; the stop is the second half.
lib/cli/tests/experimental/test_eval_crew.py:2765
Functiontest_an_evaluations_login_is_counted_as_eval
(provider, usage, capsys)
lib/cli/tests/authentication/test_login_usage.py:451
Functiontest_an_evaluations_login_is_counted_as_eval
(provider, usage, capsys)
lib/crewai/tests/cli/authentication/test_login_usage.py:451
Functiontest_an_exact_model_key_wins_over_a_stripped_one_and_over_the_wildcard
()
lib/crewai/tests/test_llm_overlay.py:623
Functiontest_an_exit_with_no_reason_says_that_rather_than_its_code
Nothing on this path should exit any more, but an exit carries a code and `1` on screen is not an answer.
lib/cli/tests/test_crew_run_tui.py:578
Functiontest_an_expired_account_is_replaced_once
(amp, project, coding_agent)
lib/cli/tests/authentication/test_placeholder.py:346
Functiontest_an_expired_download_is_let_go
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1087
Functiontest_an_expired_login_is_no_login_and_the_person_is_asked
A `crewai login` lasts hours, with no refresh: once it expired, the person is logged out, and asked as anyone logged out is.
lib/cli/tests/experimental/test_eval_crew.py:3925
Functiontest_an_expired_login_is_treated_as_logged_out
( project, monkeypatch, real_saved_login, expires_in, asked )
lib/crewai/tests/cli/test_eval_consent.py:237
Functiontest_an_explicit_definition_counts_a_declarative_flow_start
(project, usage)
lib/cli/tests/test_run_usage.py:215
Methodtest_an_explicit_store_wins
(self, store)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:660
Functiontest_an_explicitly_empty_span_limit_is_unlimited_not_the_general_limit
In the SDK an empty span setting means unlimited and wins over the general one; the bound is then crewAI's own.
lib/crewai/tests/telemetry/test_span_attribute_bound.py:390
Functiontest_an_export_folder_that_is_a_link_stops_the_export
(project, monkeypatch, leads_to)
lib/cli/tests/experimental/test_eval_crew.py:3340
Functiontest_an_export_folder_that_resolves_elsewhere_stops_the_export
A Windows junction is not a link to `is_symlink`, but resolves elsewhere: the path writer refuses any folder that does not resolve to itself.
lib/cli/tests/experimental/test_eval_crew.py:3279
Functiontest_an_export_the_collector_refused_is_counted
(monkeypatch, grants, usage)
lib/crewai/tests/telemetry/test_trace_consent_asked.py:978
Functiontest_an_export_waits_two_minutes_for_its_large_answer
The export carries every setup's outputs and traces, tens of MB: the httpx default of 5 s would cut it off.
lib/cli/tests/test_plus_api.py:613
Functiontest_an_export_without_a_report_does_not_point_at_one
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:3446
Functiontest_an_export_without_a_viewer_url_is_recorded_all_the_same
( collector, recorded_runs, monkeypatch, capsys, authenticated )
lib/crewai/tests/telemetry/test_session_trace_export.py:414
Methodtest_an_http_failure_counts_its_status_and_standard_error_code
( self, endpoint: FakeTokenEndpoint, usage: list[str], reply: httpx.Response,
lib/crewai-core/tests/test_auth_refresh.py:1087
Methodtest_an_httpx_url_override_is_the_endpoint_the_client_calls
The SDK takes `str | httpx.URL`; detection and memory must see both alike.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:478
Functiontest_an_id_somebody_typed_is_answered_at_once
`--run <id>` is a question about a named run, not about this project's last one, and a typo should not cost two minutes.
lib/cli/tests/experimental/test_eval_crew.py:1522
← previousnext →11,701–11,800 of 20,757, ranked by callers