MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

Functiontest_a_logged_in_grant_request_that_cannot_connect_is_counted
( sent_features, monkeypatch )
lib/crewai/tests/telemetry/test_session_trace_export.py:1213
Functiontest_a_logged_in_run_crewai_eval_started_stays_anonymous
( amp, monkeypatch, account_home, tmp_path )
lib/crewai/tests/telemetry/test_placeholder_traces.py:675
Functiontest_a_logged_in_run_in_the_run_app_records_its_own_trace_page
( amp, monkeypatch, account_home, recorded_runs )
lib/crewai/tests/telemetry/test_placeholder_traces.py:660
Functiontest_a_login_amp_refuses_and_a_yes_runs_the_crew_as_logged_out
The yes is the person's, so the run app is not told this command turned tracing on, and the skipped-question count stays at zero.
lib/cli/tests/experimental/test_eval_crew.py:3981
Functiontest_a_login_amp_refuses_is_asked_as_logged_out
Its trace would go up anonymously, not to the login's organization.
lib/crewai/tests/cli/test_eval_consent.py:163
Functiontest_a_login_amp_refuses_is_no_consent_and_the_person_is_asked
A login that has not expired here but that AMP refuses would send the run's trace up anonymously, not to the login's organization: the person
lib/cli/tests/experimental/test_eval_crew.py:3953
Functiontest_a_login_amp_still_refuses_is_not_offered_twice
(project, monkeypatch, capsys, usage, logins)
lib/cli/tests/experimental/test_eval_crew.py:2455
Functiontest_a_login_amp_still_refuses_on_this_screen_is_not_offered_twice
( rejected_login, )
lib/cli/tests/test_crew_run_tui.py:3557
Functiontest_a_login_asked_for_by_name_says_no_more_than_it_did
`crewai login` is its own reason, and `crewai create` says its own.
lib/cli/tests/authentication/test_login_usage.py:316
Functiontest_a_login_asked_for_by_name_says_no_more_than_it_did
`crewai login` is its own reason, and `crewai create` says its own.
lib/crewai/tests/cli/authentication/test_login_usage.py:316
Methodtest_a_login_idle_for_72_hours_counts_as_expired_idle
( self, wall_clock: WallClock, usage: list[str] )
lib/crewai-core/tests/test_auth_refresh.py:1197
Methodtest_a_login_idle_for_over_72_hours_is_logged_out_without_a_refresh
( self, endpoint: FakeTokenEndpoint, wall_clock: WallClock )
lib/crewai-core/tests/test_auth_refresh.py:776
Methodtest_a_login_past_30_days_counts_as_expired_max_age
( self, endpoint: FakeTokenEndpoint, wall_clock: WallClock, usage: list[str] )
lib/crewai-core/tests/test_auth_refresh.py:1207
Methodtest_a_login_past_both_limits_counts_the_one_that_ended_it_first
( self, endpoint: FakeTokenEndpoint, wall_clock: WallClock, usage: list[str] )
lib/crewai-core/tests/test_auth_refresh.py:1223
Functiontest_a_login_prompt_that_succeeds_counts_the_prompt_only
(monkeypatch, deploy_usage)
lib/cli/tests/test_crew_run_tui.py:2794
Methodtest_a_login_saved_without_session_times_starts_counting_at_its_first_use
( self, storage: Path, endpoint: FakeTokenEndpoint, wall_clock: WallClock )
lib/crewai-core/tests/test_auth_refresh.py:860
Functiontest_a_login_stands_in_for_the_question_only_toward_an_amp_trusted_with_it
The same login, toward an AMP this machine is not set up for, is no consent to send a trace there.
lib/cli/tests/experimental/test_eval_crew.py:4041
Functiontest_a_login_that_cannot_be_read_is_shown_on_screen
A credential that exists but cannot be read stops the evaluation, and the sentence has to reach the screen: printing it would land under the l
lib/cli/tests/test_crew_run_tui.py:553
Functiontest_a_login_that_does_not_complete_comes_back_to_the_app_and_says_why
( rejected_login, raised, reason, said )
lib/cli/tests/test_crew_run_tui.py:3539
Functiontest_a_login_that_does_not_complete_stops_with_why
(project, monkeypatch, capsys, usage, logins, raised, reason, said)
lib/cli/tests/experimental/test_eval_crew.py:2439
Functiontest_a_login_that_ends_badly_is_counted_and_still_raised
Counting must not change what the user sees: the error still escapes.
lib/cli/tests/test_crew_run_tui.py:2831
Functiontest_a_login_that_times_out_keeps_the_temporary_account
( monkeypatch, amp, credentials )
lib/cli/tests/authentication/test_placeholder.py:649
Functiontest_a_login_the_projects_env_points_to_is_no_consent
A cloned project's .env moves HOME (and XDG_DATA_HOME, LOCALAPPDATA) to a folder it ships, holding a valid login to the attacker's organization. T
lib/cli/tests/experimental/test_eval_crew.py:4142
Functiontest_a_login_the_projects_env_points_to_is_no_consent
The project's .env points HOME at its own valid login: the person is still asked, and a no runs nothing and asks AMP nothing.
lib/crewai/tests/cli/test_eval_consent.py:359
Functiontest_a_login_without_a_source_is_counted_as_crewai_login
(provider, usage)
lib/cli/tests/authentication/test_login_usage.py:192
Functiontest_a_login_without_a_source_is_counted_as_crewai_login
(provider, usage)
lib/crewai/tests/cli/authentication/test_login_usage.py:192
Methodtest_a_long_name_is_cut_to_a_hundred_characters
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:326
Functiontest_a_long_run_of_closing_parentheses_is_read_quickly
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1120
Methodtest_a_longer_name_ending_in_a_package_is_left_alone
( self, tmp_path: Path )
lib/devtools/tests/test_toml_updates.py:550
Functiontest_a_lower_crewai_setting_is_honoured
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/telemetry/test_span_attribute_bound.py:283
Methodtest_a_lying_member_that_inflates_past_the_cap_is_refused
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:182
Functiontest_a_malformed_guardrail_result_still_reports_the_validation_it_started
( returned: Any, error_type: str )
lib/crewai/tests/test_guardrail_events_on_exception.py:84
Functiontest_a_mapped_model_is_not_mapped_again
A chain of keys is one step: the model a key maps to is built as it is.
lib/crewai/tests/test_llm_overlay.py:652
Methodtest_a_mapping_without_a_model_key_says_so
(self)
lib/crewai/tests/test_flow_conversation.py:2947
Functiontest_a_marker_from_an_earlier_run_never_counts_for_this_one
A project keeps one marker, and the one from an earlier `crewai eval` is not about the run this command just watched — it is older than it.
lib/cli/tests/experimental/test_eval_crew.py:1420
Functiontest_a_marker_in_the_payload_never_marks_a_save_that_was_not_whole
AMP cannot send the marker: with one file skipped, a forged marker would have made a partial save read as whole, never tried again and kept over a
lib/cli/tests/experimental/test_eval_crew.py:5072
Methodtest_a_member_smaller_than_it_declares_is_refused
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:186
Methodtest_a_member_that_inflates_past_its_declared_size_is_refused
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:178
Functiontest_a_message_cannot_be_passed_as_the_error_type_at_all
The field takes the exception *class*, so a message is rejected structurally. An identifier check on a name is not sufficient on its own -- a one
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:162
Functiontest_a_message_containing_a_colon_is_never_stored
Messages routinely contain colons, and must not be mistaken for an identity.
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:646
Functiontest_a_missing_api_key_is_reported_as_its_type
An OpenAI-compatible provider used to report it as an ``ImportError``; it now raises it on the first call, as the native providers do.
lib/crewai/tests/telemetry/test_flow_telemetry.py:224
Functiontest_a_missing_file_points_back_to_the_skills_file_list
( loader: LoadSkillTool, )
lib/crewai/tests/skills/test_skill_files.py:141
Functiontest_a_missing_key_at_a_terminal_counts_whether_one_was_saved
( project, usage, commands, monkeypatch, answers, outcome )
lib/cli/tests/test_run_usage.py:1210
Methodtest_a_missing_key_inside_an_agents_validation_error
( self, tmp_path: Path )
lib/crewai/tests/llms/test_missing_api_key.py:537
Methodtest_a_missing_key_raised_as_itself
(self, tmp_path: Path)
lib/crewai/tests/llms/test_missing_api_key.py:531
Functiontest_a_missing_key_without_a_terminal_counts_one_warning
( project, usage, commands, monkeypatch )
lib/cli/tests/test_run_usage.py:1191
Functiontest_a_missing_or_broken_record_reads_as_none
(project)
lib/crewai/tests/telemetry/test_last_run.py:82
Functiontest_a_missing_token_names_the_variable_to_set
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:456
Functiontest_a_model_key_matches_with_and_without_the_provider_prefix
Native providers strip `openai/`; a key written either way matches both.
lib/crewai/tests/test_llm_overlay.py:613
Functiontest_a_model_key_that_names_no_model_is_refused
()
lib/crewai/tests/test_llm_overlay.py:736
Functiontest_a_model_mapped_onto_litellm_is_not_initialized_again
`LLM.__new__` returning an `LLM` makes Python call `__init__` with the caller's arguments; the mapped instance must keep the mapped model.
lib/crewai/tests/test_llm_overlay.py:679
Functiontest_a_model_string_or_none_the_caller_assigns_is_resolved_like_construction
`Agent.llm` takes a string or `None` as well as an instance, and nothing validates an assignment. Both are resolved the way construction resolves
lib/crewai/tests/test_llm_overlay.py:464
Functiontest_a_model_that_cannot_be_dumped_still_leaves_out_its_excluded_fields
()
lib/crewai/tests/utilities/test_serialization.py:230
Methodtest_a_model_that_refuses_none_is_not_recorded
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:401
Methodtest_a_model_that_rejected_the_parameter_is_not_sent_it_again
The rejected call is paid once per process, not on every request.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:355
Functiontest_a_model_without_a_single_known_key_asks_nothing
( project, children, no_prompt, model )
lib/cli/tests/test_api_keys.py:983
Functiontest_a_model_without_its_provider_exits_one_before_anything_is_sent
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2074
Functiontest_a_model_without_native_tool_calling_is_told_the_calls_before_the_pause_too
(db)
lib/crewai/tests/agents/test_tool_approval.py:821
Functiontest_a_model_without_native_tool_calling_pauses_and_resumes_too
(db)
lib/crewai/tests/agents/test_tool_approval.py:399
Functiontest_a_move_that_fails_halfway_puts_back_what_it_moved
Descriptor 1 moved, 2 refused: 1 comes back before the block runs, so the verdict printed after it still reaches the screen.
lib/cli/tests/experimental/test_eval_crew.py:5020
Functiontest_a_name_that_only_starts_like_a_windows_device_is_written
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:3212
Functiontest_a_name_that_starts_with_a_quote_is_found
()
lib/crewai/tests/agents/test_agent_spreadsheets.py:1251
Functiontest_a_named_run_never_runs_the_crew
`--run <id>` grades that run: whatever the project's record says, the crew does not run (the autouse guard fails the test if it does).
lib/cli/tests/experimental/test_eval_crew.py:852
Methodtest_a_namespace_prefix_on_cells_is_still_measured
( self, calamine_must_not_open )
lib/crewai-files/tests/spreadsheets/test_reading.py:275
Functiontest_a_native_provider_prefix_is_still_its_own
()
lib/crewai/tests/test_llm_overlay.py:824
Methodtest_a_nested_model_is_omitted_from_the_projection
`module.Outer.Route` reloads `module.Outer` as a module that is absent.
lib/crewai/tests/test_flow_conversation.py:2712
Methodtest_a_network_failure_counts_the_error_class
( self, endpoint: FakeTokenEndpoint, usage: list[str], error: Exception,
lib/crewai-core/tests/test_auth_refresh.py:1108
Functiontest_a_new_account_amp_refuses_is_not_replaced
(amp, usage)
lib/crewai/tests/telemetry/test_placeholder_traces.py:430
Functiontest_a_new_call_reusing_an_earlier_turns_id_is_not_kept
()
lib/crewai/tests/agents/test_conversation.py:635
Functiontest_a_new_env_file_holding_a_pasted_key_is_readable_by_its_owner_only
( project, children, monkeypatch )
lib/cli/tests/test_api_keys.py:275
Functiontest_a_new_message_cannot_replace_the_call_waiting_for_review
(db, send)
lib/crewai/tests/agents/test_tool_approval.py:477
Functiontest_a_no_at_the_terminal_is_final
(monkeypatch, grants, terminal_answer)
lib/crewai/tests/telemetry/test_trace_consent_asked.py:299
Functiontest_a_non_builtin_exception_class_also_round_trips
Most failures here are not builtins -- provider and pydantic errors dominate.
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:546
Methodtest_a_non_json_error_page_keeps_its_api_class
A gateway's HTML 502 is an api_5xx, not an invalid response.
lib/cli/tests/deploy/test_deploy_main.py:1315
Methodtest_a_non_json_success_body_reports_invalid_json
A proxy's 200 HTML page: _validate_response rejects it, so it is a failure with a 2xx attached, and it is not the same failure as a JSON
lib/cli/tests/deploy/test_deploy_main.py:1226
Methodtest_a_non_model_response_format_is_omitted_from_the_projection
( self, caplog: pytest.LogCaptureFixture )
lib/crewai/tests/test_flow_conversation.py:2696
Methodtest_a_non_string_text_block_does_not_raise
Blocks are `dict[str, Any]` from a model, so `text` may be anything.
lib/crewai/tests/utilities/test_agent_utils.py:741
Methodtest_a_number_column_with_no_text_is_not_an_integer_column
An empty text slice once turned the float column to object dtype, and 120.5 read as an integer column.
lib/crewai-files/tests/spreadsheets/test_reading.py:424
Methodtest_a_page_of_rows_with_the_filters_in_the_headline
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:240
Functiontest_a_parent_directory_path_is_refused
( loader: LoadSkillTool, skill_dir: Path )
lib/crewai/tests/skills/test_skill_files.py:96
Methodtest_a_partly_filled_column_never_rounds_up_to_full
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:87
Functiontest_a_pasted_key_creates_the_env_file
(project, children, monkeypatch)
lib/cli/tests/test_api_keys.py:202
Functiontest_a_pasted_key_is_marked_for_the_run_that_follows
Only a key pasted here outlasts a `.env` line that holds no key.
lib/cli/tests/test_api_keys.py:545
Functiontest_a_pasted_key_is_saved_and_handed_to_the_run
( project, children, monkeypatch, capsys, setup )
lib/cli/tests/test_api_keys.py:159
Functiontest_a_pasted_key_leaves_the_env_file_readable_by_its_owner_only
A `.env` `crewai create` wrote takes the umask's group and world bits.
lib/cli/tests/test_api_keys.py:185
Functiontest_a_path_that_climbs_out_and_back_in_is_still_read
( loader: LoadSkillTool, )
lib/crewai/tests/skills/test_skill_files.py:106
Functiontest_a_path_too_long_for_the_filesystem_is_refused_without_leaking_the_host_path
( loader: LoadSkillTool, skill_dir: Path )
lib/crewai/tests/skills/test_skill_files.py:165
Functiontest_a_path_with_a_null_byte_is_refused_without_an_error
( loader: LoadSkillTool, )
lib/crewai/tests/skills/test_skill_files.py:155
Functiontest_a_paused_run_leaves_no_response_chain_for_the_resumed_run_to_follow
(db, monkeypatch)
lib/crewai/tests/agents/test_tool_approval.py:519
Functiontest_a_person_at_a_terminal_gets_an_account_too
(amp, monkeypatch)
lib/crewai/tests/telemetry/test_placeholder_traces.py:376
Functiontest_a_person_at_a_terminal_with_no_login_gets_an_account_too
( amp, project, at_a_terminal, capsys )
lib/cli/tests/authentication/test_placeholder.py:267
Functiontest_a_person_gets_one_red_line_when_a_setup_stops
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:1879
Functiontest_a_piped_env_file_is_left_for_the_run_to_read
A secrets manager can serve `.env` through a named pipe. Opening it with no writer blocks, and what it serves goes to one reader, which is the run
lib/cli/tests/test_api_keys.py:857
Functiontest_a_plain_attribute_over_the_bound_marks_itself_too
``crewai.task.output`` used to have no bound at all: one huge output made the whole span too large for Wharf, which then never stored it.
lib/crewai/tests/telemetry/test_span_attribute_bound.py:186
Functiontest_a_plain_string_is_unchanged
()
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:174
Functiontest_a_plain_string_request_is_unchanged
()
lib/crewai/tests/agents/test_agent_kickoff_content_parts.py:108
Functiontest_a_platform_ref_amp_cannot_resolve_names_the_app
()
lib/crewai/tests/test_flow_from_definition.py:3412
Methodtest_a_position_written_any_way_calamine_reads_is_measured
( self, cell, calamine_must_not_open )
lib/crewai-files/tests/spreadsheets/test_reading.py:265
Functiontest_a_prefilled_link_says_the_code_is_already_filled_in
( capsys: pytest.CaptureFixture[str], opened: list[str] )
lib/crewai-core/tests/test_auth_instructions.py:27
Methodtest_a_presigned_spreadsheet_is_recognised
(self, url)
lib/crewai-files/tests/spreadsheets/test_loading.py:344
← previousnext →10,901–11,000 of 20,757, ranked by callers