MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

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:2744
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
Functiontest_the_telemetry_opt_out_does_not_turn_tracing_off
`OTEL_SDK_DISABLED` is the telemetry opt-out, a separate setting: a run with tracing on is still traced and uploaded, every span recorded.
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:316
Functiontest_the_three_names_for_the_eval_token_are_one
()
lib/cli/tests/test_run_crew.py:1908
Functiontest_the_token_stops_counting_when_the_command_is_done
(monkeypatch)
lib/cli/tests/test_crew_run_tui.py:702
Functiontest_the_token_this_app_sets_is_the_one_crewais_tracing_reads
The run app keeps its own copy of the handshake (it also runs against a project's older crewai-core), so the two are pinned to one variable and on
lib/cli/tests/test_crew_run_tui.py:495
Functiontest_the_turn_after_the_tool_result_sees_it
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:255
Functiontest_the_unresolved_apps_warning_names_a_yaml_folded_role_without_the_newline
( monkeypatch, )
lib/crewai/tests/agents/test_agent.py:2846
Functiontest_the_value_before_the_block_is_put_back
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-core/tests/test_eval_handshake.py:42
Functiontest_the_variable_alone_counts_for_nothing
What a project's `.env` could set: no file stands behind it.
lib/crewai-core/tests/test_eval_handshake.py:34
Functiontest_the_verdict_leaves_the_evaluations_full_data_in_the_project
The report opens for one five-minute sitting, and waiting for the verdict is that read: an agent that wants a check's quotes or the trace after it
lib/cli/tests/experimental/test_eval_crew.py:3957
Functiontest_the_verdict_prints_whatever_areas_the_evaluation_graded
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:222
Functiontest_the_viewer_link_is_shown_the_id_is_not_and_a_successful_export_is_recorded
( collector, recorded_runs, monkeypatch, capsys, authenticated, approved, status,
lib/crewai/tests/telemetry/test_session_trace_export.py:164
Functiontest_the_warning_names_the_credential_that_was_refused
The fix named is for the credential that was sent: refreshing a login does nothing for a rejected CREWAI_USER_PAT or an integration token.
lib/crewai/tests/telemetry/test_trace_lifecycle.py:366
Functiontest_the_warning_names_the_credential_that_was_sent_not_the_one_left_after
The credential and its source are read once: a PAT that disappears while the grant request is in flight is still the one the warning names, never
lib/crewai/tests/telemetry/test_trace_lifecycle.py:402
Functiontest_the_wildcard_maps_every_llm_built_from_a_model_string
()
lib/crewai/tests/test_llm_overlay.py:638
Functiontest_the_workbook_cache_holds_cells_up_to_its_budget
(monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:241
Functiontest_the_workbook_cache_is_bounded
(monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:231
Methodtest_the_workbook_the_package_points_to_is_the_one_read
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:726
Functiontest_the_workflow_runs_the_default_models
()
lib/devtools/tests/test_agents_md_eval.py:383
Functiontest_the_written_line_stays_one_line_in_a_narrow_pipe
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:3331
Methodtest_the_wrong_number_of_values
(self, op, values, need)
lib/crewai-files/tests/spreadsheets/test_answers.py:434
Functiontest_third_party_spans_never_reach_our_exporter
A dependency instrumenting itself must not export to CrewAI.
lib/crewai/tests/telemetry/test_tracer_isolation.py:74
Functiontest_this_commands_own_project_id_write_is_no_change
A project without an id gets one written into pyproject.toml after the check; the next `crewai eval` must not read that as an edit.
lib/cli/tests/experimental/test_eval_crew.py:3765
Functiontest_thousands_of_spreadsheet_urls_add_one_line_to_the_prompt
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1051
Methodtest_threads_do_not_cross_contaminate
(self)
lib/crewai/tests/tools/test_tool_failure.py:1332
Functiontest_three_task_with_async_execution
()
lib/crewai/tests/test_crew.py:1082
Methodtest_threshold_is_compared_to_the_reported_score
(self, cosine_client)
lib/crewai/tests/rag/qdrant/test_client.py:828
Functiontest_throttling_error_classifier_follows_exception_causes
()
lib/crewai/tests/llms/test_retry.py:54
Functiontest_throttling_error_classifier_recognizes_transient_provider_throttles
( error: Exception, )
lib/crewai/tests/llms/test_retry.py:48
Functiontest_throttling_error_classifier_rejects_non_transient_errors
( error: Exception, )
lib/crewai/tests/llms/test_retry.py:72
Methodtest_time_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:185
Methodtest_timeout_and_http_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:120
Methodtest_timeout_and_http_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:120
← previousnext →18,601–18,700 of 19,663, ranked by callers