MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,484 in github.com/crewAIInc/crewAI

Methodtest_the_async_path_learns_it_too
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:369
Functiontest_the_boolean_convention_is_not_reported_as_a_provider_failure
()
lib/crewai/tests/hooks/test_hook_abort_propagation.py:504
Functiontest_the_boolean_convention_is_still_absorbed_by_a_fail_open_handler
()
lib/crewai/tests/hooks/test_hook_abort_propagation.py:117
Functiontest_the_boolean_convention_still_blocks_with_the_documented_error
()
lib/crewai/tests/hooks/test_hook_abort_propagation.py:110
Methodtest_the_budget_is_for_the_whole_workbook
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:308
Functiontest_the_button_spins_while_it_evaluates_and_still_opens_the_report
A label that never moves reads as a screen that has stopped — and the report page is where the progress is, so the button stays pressable.
lib/cli/tests/test_crew_run_tui.py:250
Functiontest_the_ca_bundle_the_machine_names_is_the_one_trusted
( machine: dict[str, str], tmp_path: Path )
lib/crewai-core/tests/test_plus_api_proxy.py:257
Functiontest_the_caller_settings_follow_the_mapped_model_by_the_declared_llm_rule
Generation settings go to any provider; a key and an endpoint only to the provider they were issued for.
lib/crewai/tests/test_llm_overlay.py:660
Functiontest_the_cli_asks_for_the_key_of_the_model_crewai_runs_by_default
The CLI keeps its own copy of the default, to pick the API key to ask for.
lib/crewai/tests/cli/test_constants.py:23
Functiontest_the_cli_command_maps_to_the_implementation
(monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:1528
Functiontest_the_cli_maps_models_and_deployment_to_the_comparison
(monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:2139
Functiontest_the_command_counts_the_evaluation_and_nothing_that_names_it
`cli_usage:eval` is every evaluation; the TUI's own `cli_usage:evaluate` is intent, and the difference is intent that never became one. Usage stat
lib/cli/tests/experimental/test_eval_crew.py:926
Methodtest_the_command_reads_the_project_id
(self)
lib/cli/tests/deploy/test_deploy_main.py:2056
Functiontest_the_command_still_prints_that_sentence_and_exits
What the app shows on its screen, the command says in the terminal.
lib/cli/tests/experimental/test_eval_crew.py:1569
Functiontest_the_command_still_trusts_an_amp_exported_in_the_shell
The command's own reading is unchanged: a shell export is this machine speaking, and the login goes with it.
lib/cli/tests/experimental/test_eval_crew.py:472
Functiontest_the_comparison_is_counted_with_the_models_and_nothing_that_names_it
(deployed, monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:1932
Functiontest_the_construction_time_overlay_keeps_the_declared_configuration_too
The #7500 path — the agent is built inside the block with its role a key — goes through the same construction as the kickoff-time swap.
lib/crewai/tests/test_llm_overlay.py:435
Functiontest_the_credential_goes_only_to_the_configured_amp_never_to_an_address_off_the_record
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:409
Functiontest_the_credential_source_follows_the_credential_order
(monkeypatch)
lib/crewai/tests/telemetry/test_trace_lifecycle.py:388
Functiontest_the_crew_crewai_eval_runs_pins_the_machines_proxy_not_the_project_envs
`crewai eval` loads the project's .env, then starts the crew with `uv run` in a child process that inherits its environment and pins from it. The
lib/crewai/tests/test_plus_api_pin.py:56
Functiontest_the_deadline_never_overruns_and_only_an_answer_restarts_it
The last wait is what is left of UNANSWERED_FOR_AT_MOST_SECONDS, so the wait never runs past it; a 5xx between 429s is no answer about the eva
lib/cli/tests/experimental/test_eval_crew.py:694
Methodtest_the_default_agent_model_takes_input_files
An Agent without an llm can be given images through input_files.
lib/crewai/tests/llms/test_multimodal.py:208
Methodtest_the_delimiter_is_sniffed
(self, delimiter)
lib/crewai-files/tests/spreadsheets/test_reading.py:505
Functiontest_the_deployment_named_is_sent
(deployed, monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:1979
Functiontest_the_end_of_run_sharing_screen_is_unchanged
Sharing a finished run's trace still asks on its own screen, which a 20-second wait dismisses (its caller times out): only Evaluate changed.
lib/cli/tests/test_crew_run_tui.py:2852
Functiontest_the_env_file_above_a_project_without_one_counts
crewAI loads the nearest `.env` at or above the project.
lib/cli/tests/test_api_keys.py:801
Functiontest_the_environments_model_wins_over_the_env_file
( project, children, no_prompt, monkeypatch )
lib/cli/tests/test_api_keys.py:1213
Functiontest_the_error_class_reaches_the_span_the_real_telemetry_sends
crewai-core keeps the attribute only for the feature it lists it under: this is the CLI's feature string meeting that list.
lib/cli/tests/test_run_usage.py:928
Functiontest_the_eval_fetches_the_pull_request_only_when_it_runs
()
lib/devtools/tests/test_agents_md_eval.py:420
Functiontest_the_eval_group_keeps_every_old_exit_code
A CI job gates on `crewai eval`: the command's own exit code still comes out of the group, and what was a usage error still is one.
lib/cli/tests/experimental/test_eval_crew.py:2886
Functiontest_the_eval_group_keeps_every_old_invocation_and_adds_export
(monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:2852
Functiontest_the_eval_runs_on_pull_requests_against_main_from_this_repository_only
()
lib/devtools/tests/test_agents_md_eval.py:388
Functiontest_the_eval_runs_only_the_base_branchs_code_with_the_keys
The keys reach only code from the base commit; the PR's commit is fetched as data.
lib/devtools/tests/test_agents_md_eval.py:403
Functiontest_the_evaluation_is_filed_under_the_project
(project, monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:1634
Functiontest_the_evaluation_shows_its_link_its_progress_and_its_verdict
Everything the reader came for is on the run's own screen.
lib/cli/tests/test_crew_run_tui.py:407
Methodtest_the_event_itself_is_forwarded_intact
The type alone is not enough -- the collector serializes the event, so dropping or replacing it would lose every attribution field. A
lib/crewai/tests/tracing/test_skill_used_tracing.py:67
Functiontest_the_event_stays_json_serializable_with_a_class_valued_error_type
A class is not a JSON type, so the field needs a serializer or the event breaks. Without one, `model_dump(mode="json")` raises PydanticSerializat
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:465
Functiontest_the_executor_loop_is_seen_exactly_once
(seen_agents)
lib/crewai/tests/hooks/test_model_call_hook_reach.py:79
Functiontest_the_exit_code_is_the_gates
A CI job reads the exit code. Only a gate that PASSED is 0: a failed one, and one with no verdict, must stop the pipeline rather than wave it on.
lib/cli/tests/experimental/test_eval_crew.py:354
Functiontest_the_export_folder_swapped_for_a_link_while_the_export_runs_is_not_gone_through
The folder itself is held open: moved away and replaced by a link once the export has begun, the files still go into it and nowhere else.
lib/cli/tests/experimental/test_eval_crew.py:3176
Functiontest_the_fallback_grades_only_a_run_recorded_after_it_began
No app evaluated the run, so the command reads the project's record — but that record is the project's LAST run, and one written before this run
lib/cli/tests/experimental/test_eval_crew.py:1159
Functiontest_the_file_carries_what_the_command_decided
()
lib/crewai-core/tests/test_eval_handshake.py:79
Methodtest_the_file_name_comes_from_the_query_then_the_path
(self, url, name)
lib/crewai-files/tests/spreadsheets/test_loading.py:323
Functiontest_the_first_evaluation_leaves_the_criteria_behind_as_a_file
A project cannot say what good means until it has somewhere to say it.
lib/cli/tests/experimental/test_eval_crew.py:1291
Methodtest_the_flag_does_not_leak_onto_the_class
The DSL projection reads it off the class to decide what to emit.
lib/crewai/tests/test_flow_conversation.py:3063
Methodtest_the_flag_marks_a_server_compatible
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:465
Functiontest_the_folder_is_the_accounts_whatever_the_environment_says
A project's `.env` can set HOME and XDG_DATA_HOME; a token file it planted under them must not count.
lib/crewai-core/tests/test_eval_handshake.py:65
Functiontest_the_follow_link_cannot_be_retargeted_by_the_url_amp_sends
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:258
Functiontest_the_help_tells_an_agent_it_gets_a_brief
()
lib/cli/tests/experimental/test_eval_crew.py:2311
Functiontest_the_id_is_sent_and_named_in_its_canonical_form
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2930
Methodtest_the_largest_band_is_open_ended
The exact count is the fingerprint: 512 cores identifies one machine. The observed fleet maximum is 512, so the top band must absorb it rathe
lib/crewai-core/tests/test_runtime_env.py:169
Functiontest_the_last_event_stands_in_for_progress
()
lib/cli/tests/experimental/test_eval_crew.py:2132
Functiontest_the_last_run_is_evaluated_the_url_opened_and_the_verdict_printed
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:163
Methodtest_the_limit_stays_reached_after_a_different_call
A parallel batch can hold another call after the one that hit the limit.
lib/crewai/tests/tools/test_tool_failure.py:2005
Functiontest_the_line_to_add_a_key_names_a_env_file_host_once
A host the project's `.env` sets is named as the `.env`'s, even after the run loaded it into the environment.
lib/cli/tests/test_api_keys.py:1435
Functiontest_the_line_to_add_a_key_names_a_host_set_while_the_crew_loaded
Without a terminal, this line is the only place a host is named.
lib/cli/tests/test_api_keys.py:1421
Functiontest_the_line_to_add_a_key_names_no_host_the_machine_already_set
( project, monkeypatch )
lib/cli/tests/test_api_keys.py:1449
Methodtest_the_loaded_definition_itself_is_left_alone
Synthesis is a runtime concern; the contract stays as authored.
lib/crewai/tests/test_flow_conversation.py:3416
Functiontest_the_machines_settings_are_read_whatever_their_case
()
lib/cli/tests/test_api_keys.py:371
Functiontest_the_mapping_the_caller_passed_is_not_mutated
()
lib/crewai/tests/test_llm_overlay.py:137
Methodtest_the_memory_recall_flow_dispatches_nothing
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:357
Functiontest_the_minted_id_does_not_reuse_the_project_id_attribute
`project_id` and `created_project_id` mean different things and must stay separate. `CommonAttributesSpanProcessor` stamps `project_id` on every
lib/crewai/tests/cli/test_project_created_span.py:86
Functiontest_the_model_key_prefix_is_a_public_constant
Another package feature-detects the model-for-model form on it.
lib/crewai/tests/test_llm_overlay.py:584
Functiontest_the_models_are_one_list_stripped_with_repeats_dropped
(text, expected)
lib/cli/tests/experimental/test_eval_crew.py:2027
Functiontest_the_models_span_carries_the_models_compared_and_nothing_else
( telemetry_with_exporter, )
lib/crewai/tests/telemetry/test_tracer_isolation.py:121
Functiontest_the_module_imports_without_crewai_or_crewai_core
(without_crewai)
lib/cli/tests/test_api_keys.py:1369
Methodtest_the_name_it_is_shown_by_finds_it
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:150
Functiontest_the_new_handlers_stay_idle_while_a_kickoff_owns_an_execution_uuid
The legacy collector must not run beside the OTEL session. Every handler in the listener registers through `_on`, which skips the event when
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:161
Functiontest_the_newest_run_replaces_the_previous_one
(project)
lib/crewai/tests/telemetry/test_last_run.py:48
Methodtest_the_next_tool_call_sends_none_up_front
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:340
Methodtest_the_overview_stays_within_its_cap
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:112
Functiontest_the_progress_line_says_what_is_there_and_guesses_nothing
(progress, line)
lib/cli/tests/experimental/test_eval_crew.py:2128
Functiontest_the_project_id_is_read_from_pyproject
(monkeypatch, tmp_path: Path)
lib/cli/tests/deploy/test_deploy_main.py:2137
Functiontest_the_promoted_request_carries_the_text_not_a_repr
`str()` on the parts list put `[{'type': 'text', ...}]` in Current Task.
lib/crewai/tests/agents/test_agent_kickoff_content_parts.py:53
Functiontest_the_query_schema_has_no_union_parameters
Anthropic limits union-typed tool parameters across an agent: every optional field takes a plain default instead of None.
lib/crewai-files/tests/spreadsheets/test_answers.py:674
Functiontest_the_re_run_counts_no_second_start_but_still_counts_its_stop
( project, usage, monkeypatch )
lib/cli/tests/test_run_usage.py:244
Functiontest_the_real_logged_out_deploy_still_prompts_a_login_then_says_so
The login error now exits 1; the chained deploy still matches it by type.
lib/cli/tests/test_crew_run_tui.py:2715
Methodtest_the_real_machine_lands_in_the_closed_vocabulary
Unmocked: whatever this host reports must still be a known literal.
lib/crewai-core/tests/test_runtime_env.py:190
Functiontest_the_recorded_window_is_the_first_start_and_last_end_across_batches
Batches reach the exporter in any order; the record spans them all.
lib/crewai/tests/telemetry/test_session_trace_export.py:307
Functiontest_the_request_is_the_last_user_message_not_the_last_message
A trailing agent scratch must not become the task. `build_agent_context()` appends an agent's private thread after the current user turn, so
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:119
Functiontest_the_retry_prompt_asks_only_for_a_key_the_preflight_would
A failed run names its own variable, which may be anything.
lib/cli/tests/test_api_keys.py:1378
Functiontest_the_retry_prompt_names_a_built_agents_llm_host
A YAML or JSON agent keeps its llm settings outside the files scanned.
lib/cli/tests/test_api_keys.py:1405
Functiontest_the_retry_prompt_names_a_host_set_while_the_crew_loaded
The crew's code ran while it loaded and may have redirected the provider.
lib/cli/tests/test_api_keys.py:1390
Methodtest_the_rows_above_a_header_are_kept
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:430
Functiontest_the_run_app_counts_its_evaluation_as_app_under_one_id
(project, monkeypatch, counted)
lib/cli/tests/experimental/test_eval_crew.py:1062
Functiontest_the_run_apps_door_offers_the_login_only_through_the_callers_hook
`evaluate_run` prints nothing of its own: without LOG_IN a 401 is the stop it always was, and a LOG_IN that cannot be offered changes nothing.
lib/cli/tests/experimental/test_eval_crew.py:2506
Functiontest_the_run_apps_own_count_of_a_stop_carries_the_evaluations_id
The app counts a stop after `evaluate_run` raised (`_evaluate_now`): it is that evaluation's stop, so it carries that evaluation's id.
lib/cli/tests/experimental/test_eval_crew.py:1075
Functiontest_the_run_log_is_the_owners_alone_even_one_left_by_an_earlier_run
(tmp_path)
lib/cli/tests/experimental/test_eval_crew.py:4413
Functiontest_the_run_that_finished_last_stays_recorded_whichever_writer_comes_last
Two crews finish together; the OLDER run's writer gets to the file after the newer one did.
lib/crewai/tests/telemetry/test_last_run.py:115
Functiontest_the_runs_words_are_read_only_from_reported
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:1904
Methodtest_the_same_content_is_read_once
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:124
Functiontest_the_same_url_twice_is_read_once
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:310
Functiontest_the_saved_login_goes_only_to_an_amp_crewai_eval_trusted
`crewai eval` decides which AMP may receive the saved login before the project's `.env` is loaded; an AMP that `.env` chose gets an anonymous
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:248
Functiontest_the_saved_login_goes_only_to_an_amp_the_command_trusted
( base_url: str | None, trusted: bool )
lib/crewai-core/tests/test_eval_handshake.py:102
Functiontest_the_scaffold_gitignore_covers_the_crewai_directory
(template)
lib/cli/tests/test_scaffold_gitignore.py:14
Functiontest_the_span_limit_wins_over_the_general_one
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/telemetry/test_span_attribute_bound.py:273
Functiontest_the_spreadsheet_can_be_named_by_its_url
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:263
Functiontest_the_start_says_which_run_it_grades_and_shares_an_id_with_its_verdict
`--run` may name a deployment's execution, which the CLI cannot tell from a local run, so it is `given_run`; the recorded run is `last_run`. One f
lib/cli/tests/experimental/test_eval_crew.py:985
Functiontest_the_streaming_flag_of_the_replaced_instance_follows_swap_and_revert
`Crew.kickoff(stream=True)` flags the instance the agent runs on at that moment; whatever the interpolation then puts in its place must carry it.
lib/crewai/tests/test_llm_overlay.py:347
Functiontest_the_streaming_flag_survives_the_kickoff_time_swap
`Crew.kickoff(stream=True)` sets `agent.llm.stream` before it interpolates.
lib/crewai/tests/test_llm_overlay.py:337
← previousnext →18,401–18,500 of 19,484, ranked by callers