Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,482 in github.com/crewAIInc/crewAI
⨍
Functions
19,482
◇
Types & classes
3,433
↳
Endpoints
991
Method
test_a_far_sheet_or_one_past_the_cap_says_why_it_is_unread
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:227
Function
test_a_feature_span_keeps_only_what_the_feature_may_send
The same policy as crewai-core's: each feature names what it may add, and the dimensions every span already carries cannot be overwritten.
lib/crewai/tests/telemetry/test_tracer_isolation.py:97
Method
test_a_field_past_the_csv_limit_is_unreadable
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:570
Function
test_a_file_a_project_already_has_is_never_overwritten
After the first one the file is theirs — the one thing worse than no criteria is criteria that vanish every time somebody evaluates.
lib/cli/tests/experimental/test_eval_crew.py:1305
Function
test_a_file_deleted_since_the_last_evaluation_is_a_change
An mtime cannot say a file is gone; the list of files the last evaluation kept can.
lib/cli/tests/experimental/test_eval_crew.py:3745
Method
test_a_file_over_the_byte_limit_is_refused_unread
(self, calamine_must_not_open)
lib/crewai-files/tests/spreadsheets/test_reading.py:148
Function
test_a_file_that_cant_be_downloaded_is_named_without_its_url
( downloads, caplog, failure )
lib/crewai/tests/agents/test_agent_spreadsheets.py:511
Function
test_a_file_the_engine_trips_on_is_named_and_the_run_goes_on
(downloads, monkeypatch)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1197
Function
test_a_file_where_a_folder_goes_skips_what_goes_under_it
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:3026
Function
test_a_file_written_just_after_the_record_is_the_runs_own
A main.py that saves the result once the crew returns writes a moment after the record; an edit after an evaluation (minutes) is well past it.
lib/cli/tests/experimental/test_eval_crew.py:3427
Function
test_a_filesystem_that_refuses_the_lock_still_records_the_run
Some network mounts have no working flock. Unserialised beats not recorded.
lib/crewai/tests/telemetry/test_last_run.py:203
Method
test_a_filter_that_excludes_it_says_nothing_of_it
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:631
Function
test_a_filter_written_as_twice_encoded_json_with_a_number
(sales_tools)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1227
Function
test_a_flow_kickoff_counts_its_trace
( collector, sent_features, monkeypatch, authenticated, use_async )
lib/crewai/tests/telemetry/test_session_trace_export.py:964
Function
test_a_flow_re_run_in_the_project_env_is_told_it_was_counted
( project, usage, commands )
lib/cli/tests/test_run_usage.py:225
Function
test_a_folder_swapped_for_a_link_while_the_export_runs_is_not_gone_through
The race a check-then-write loses: `run` is a folder when the first file goes in, and a link out of the export by the time the second one does,
lib/cli/tests/experimental/test_eval_crew.py:3145
Function
test_a_folder_that_cannot_be_written_tells_no_run
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
lib/crewai-core/tests/test_eval_handshake.py:51
Function
test_a_folder_where_a_file_goes_is_skipped_and_the_export_goes_on
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:3053
Function
test_a_folder_where_the_gitignore_goes_stops_the_export_before_any_data
(project, monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:3037
Method
test_a_forced_push_says_so_and_an_unforced_one_sends_what_it_always_did
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:350
Method
test_a_formula_reads_empty_without_a_cached_value
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:354
Method
test_a_function_local_model_is_omitted_from_the_projection
A path through `<locals>` cannot be imported back, so never emit it.
lib/crewai/tests/test_flow_conversation.py:2672
Function
test_a_gate_answered_in_place_is_recorded_by_the_session_not_the_legacy_batch
A `@human_feedback` gate answered at the console, under a tracing kickoff. The kickoff owns an execution uuid, so the OTEL session records `h
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:292
Function
test_a_gate_that_pauses_the_flow_is_recorded_by_the_session_not_the_legacy_batch
An async provider parks the flow: the session records the two pause events; the legacy collector, gated by `_on`, collects neither.
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:327
Method
test_a_gateway_lesson_stays_on_that_gateway
(self)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:631
Method
test_a_gateway_rejection_does_not_silence_the_model_on_openai
However the gateway is configured, its rejection is keyed to it, not to OpenAI.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:661
Function
test_a_gemini_key_under_googles_name_counts
( project, children, no_prompt, monkeypatch )
lib/cli/tests/test_api_keys.py:954
Method
test_a_git_helper_error_is_not_a_zip_error
The git helpers raise plain ValueError; only ArchiveError is a ZIP problem.
lib/cli/tests/deploy/test_deploy_main.py:1278
Method
test_a_git_push_prints_no_commit
(self, mock_display, mock_repository)
lib/cli/tests/deploy/test_deploy_main.py:1807
Method
test_a_git_source_type_redeploys_from_git_even_without_origin
( self, mock_display, mock_repository, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:911
Function
test_a_gitignore_link_already_in_the_folder_is_replaced_never_followed
( project, monkeypatch )
lib/cli/tests/experimental/test_eval_crew.py:3106
Function
test_a_header_row_asked_for_is_the_one_returned_while_another_is_cached
Another caller caching a different header row right after this one's table is cached must not swap the table this caller gets back.
lib/crewai-files/tests/spreadsheets/test_reading.py:802
Method
test_a_header_row_off_the_sheet_says_the_range
(self, row)
lib/crewai-files/tests/spreadsheets/test_reading.py:447
Function
test_a_higher_crewai_setting_is_clamped_to_the_ceiling_with_one_warning
Above the ceiling, several bounded attributes would not fit one Wharf request; the setting is clamped, said once, never silently raised.
lib/crewai/tests/telemetry/test_span_attribute_bound.py:292
Function
test_a_json_agent_without_an_llm_is_checked_against_the_model_crewai_picks
( project, children, no_prompt, env, key )
lib/cli/tests/test_api_keys.py:1141
Function
test_a_json_crew_definition_that_cannot_be_loaded
( project, usage, error_classes )
lib/cli/tests/test_run_usage.py:438
Function
test_a_json_crew_file_that_does_not_parse_is_left_to_the_run
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1107
Function
test_a_json_crew_missing_a_required_input
Counted by the project-env process that loads the crew: its parent counted the start.
lib/cli/tests/test_run_usage.py:371
Function
test_a_json_crew_reads_its_agents_and_crew_jsonc_past_comments
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1055
Function
test_a_json_crew_saved_with_a_utf8_bom_is_read
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1092
Function
test_a_json_crew_setting_outside_the_agents_llm_still_names_its_host
crewAI builds clients from more than an agent's `llm`, and an llm's `client_params` override its `base_url`.
lib/cli/tests/test_api_keys.py:734
Function
test_a_json_crew_stopped_for_its_key_names_the_host_its_env_sends_requests_to
Without a terminal, the line to add is all a person or agent reads.
lib/cli/tests/test_run_usage.py:1456
Function
test_a_json_crew_that_does_not_load_for_an_error_that_is_its_own_cause_counts_load_failed
( project, usage, error_classes, monkeypatch, terminal )
lib/cli/tests/test_run_usage.py:1521
Function
test_a_json_crew_that_does_not_load_for_another_reason_counts_load_failed
( project, usage, error_classes )
lib/cli/tests/test_run_usage.py:1507
Function
test_a_json_crew_that_fails_at_kickoff_for_another_reason_raises_as_before
( project, usage, monkeypatch, error )
lib/cli/tests/test_run_usage.py:1487
Function
test_a_json_crew_whose_model_cannot_be_built_counts_why
crewAI raises any failure to build a model as an ImportError, which the JSON loader wraps in a JSONProjectError naming the agent's file: the class
lib/cli/tests/test_run_usage.py:813
Function
test_a_json_crew_whose_run_fails_counts_as_failed
The real `crewai run` on a JSON crew whose run exits 1 in the project's environment: it raises SystemExit(1), which the command used to let throug
lib/cli/tests/experimental/test_eval_crew.py:4707
Function
test_a_json_crew_without_its_key_stops_with_the_line_to_add
A provider raises for its key once kickoff calls the model, after the agent's retries; with crewai 1.15.34 to 1.15.37 an OpenAI-compatible one
lib/cli/tests/test_run_usage.py:1435
Function
test_a_json_crew_without_the_crewai_package
(usage, monkeypatch)
lib/cli/tests/test_run_usage.py:415
Function
test_a_json_crews_blank_env_model_hides_the_shells
A JSON crew's run applies the `.env`'s blank MODEL over the shell's, so crewAI's default model runs.
lib/cli/tests/test_api_keys.py:1254
Function
test_a_json_crews_custom_tool_that_sets_an_endpoint_names_its_host
A JSON crew's custom tools are imported before its agents build their llm.
lib/cli/tests/test_api_keys.py:598
Function
test_a_json_crews_env_model_is_checked_over_the_shells
A JSON crew's run applies the project's `.env` MODEL over the shell's, so an agent with no llm needs that provider's key.
lib/cli/tests/test_api_keys.py:665
Function
test_a_json_crews_manager_agent_and_json_agent_files_are_read
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1155
Function
test_a_json_project_error_that_is_its_own_cause_is_named_once
crewAI's providers re-raise with `raise e from e`; the walk ends there.
lib/cli/tests/test_run_usage.py:742
Function
test_a_jsonc_comment_ended_by_a_carriage_return_hides_no_endpoint
Files are read in text mode, so a lone `\\r` is a line end before any comment is stripped, here as in crewAI's own loader.
lib/cli/tests/test_api_keys.py:621
Function
test_a_key_in_the_env_file_asks_nothing_and_stays_unloaded
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:940
Function
test_a_key_in_the_environment_asks_nothing
( project, children, no_prompt, monkeypatch )
lib/cli/tests/test_api_keys.py:927
Function
test_a_key_is_not_saved_to_an_env_file_others_can_read_and_that_cannot_be_made_private
Saved, the key would stay readable by every other account on the machine.
lib/cli/tests/test_api_keys.py:287
Function
test_a_key_missing_from_the_env_file_above_is_named_there_not_saved
A `.env` made in the project would hide the one above from crewAI.
lib/cli/tests/test_api_keys.py:819
Function
test_a_key_that_cannot_be_saved_is_still_handed_to_the_run
( project, children, monkeypatch, capsys )
lib/cli/tests/test_api_keys.py:253
Function
test_a_key_the_process_only_inherited_is_replaced_by_the_placeholder
The `.env` can also point the provider at its own host: the shell's key must not go there, so the placeholder applies, and a `.env` cannot claim
lib/cli/tests/test_run_crew.py:1862
Function
test_a_kickoff_with_a_spreadsheet_url_queries_every_row
(downloads, entry)
lib/crewai/tests/agents/test_agent_spreadsheets.py:215
Function
test_a_later_stop_in_the_same_app_does_not_inherit_an_ended_evaluations_id
A long-lived run app: one evaluation ends (a verdict, a failed evaluation, or a stop the app counts after `evaluate_run` raised), then a later
lib/cli/tests/experimental/test_eval_crew.py:1096
Method
test_a_lesson_from_one_endpoint_stays_there
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:392
Function
test_a_link_at_the_logs_place_leaves_the_output_on_screen
(tmp_path, capfd)
lib/cli/tests/experimental/test_eval_crew.py:4427
Function
test_a_link_on_the_way_keeps_the_data_out_of_wherever_it_leads
Whoever made `.crewai` or `.crewai/evaluations` a link chose where it leads: nothing is written there, by either way of writing an export.
lib/cli/tests/experimental/test_eval_crew.py:4119
Function
test_a_link_where_a_file_goes_is_replaced_never_written_through
(project, monkeypatch, capsys, writes, link)
lib/cli/tests/experimental/test_eval_crew.py:3086
Function
test_a_linked_env_file_is_never_replaced
( project, children, monkeypatch, capsys )
lib/cli/tests/test_api_keys.py:839
Function
test_a_list_amp_would_refuse_is_refused_here_with_an_example
(text, said)
lib/cli/tests/experimental/test_eval_crew.py:2042
Function
test_a_litellm_routed_llm_keeps_its_key_on_the_same_provider_only
Same provider is a question about the provider, not the class: an `LLM(...)` the caller routed through LiteLLM keeps its key and endpoint when
lib/crewai/tests/test_llm_overlay.py:775
Method
test_a_live_class_on_a_python_flow_is_untouched
(self)
lib/crewai/tests/test_flow_conversation.py:2662
Method
test_a_live_class_projects_as_a_python_ref
(self)
lib/crewai/tests/test_flow_conversation.py:2766
Method
test_a_live_llm_object_is_passed_through_untouched
(self)
lib/crewai/tests/test_flow_conversation.py:2935
Function
test_a_load_failed_stop_names_the_error_behind_it_and_nothing_of_the_project
( project, usage, error_classes, make_error, error_class )
lib/cli/tests/test_run_usage.py:715
Method
test_a_local_file_over_the_limit_is_refused_unread
(self, tmp_path, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:150
Function
test_a_location_that_is_not_a_list_of_names_is_no_location
A string must not skip the wait or print one character per place; anything else is no location either.
lib/cli/tests/experimental/test_eval_crew.py:1883
Function
test_a_logged_in_deploy_counts_no_hurdle
(monkeypatch, deploy_usage)
lib/cli/tests/test_crew_run_tui.py:2562
Function
test_a_login_amp_still_refuses_is_not_offered_twice
(project, monkeypatch, capsys, usage, logins)
lib/cli/tests/experimental/test_eval_crew.py:2429
Function
test_a_login_amp_still_refuses_on_this_screen_is_not_offered_twice
( rejected_login, )
lib/cli/tests/test_crew_run_tui.py:3134
Function
test_a_login_prompt_that_succeeds_counts_the_prompt_only
(monkeypatch, deploy_usage)
lib/cli/tests/test_crew_run_tui.py:2571
Function
test_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:360
Function
test_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:3116
Function
test_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:2413
Function
test_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:2608
Method
test_a_long_name_is_cut_to_a_hundred_characters
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:326
Function
test_a_long_run_of_closing_parentheses_is_read_quickly
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1120
Method
test_a_longer_name_ending_in_a_package_is_left_alone
( self, tmp_path: Path )
lib/devtools/tests/test_toml_updates.py:550
Function
test_a_lower_crewai_setting_is_honoured
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/telemetry/test_span_attribute_bound.py:283
Method
test_a_lying_member_that_inflates_past_the_cap_is_refused
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:182
Function
test_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
Function
test_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
Method
test_a_mapping_without_a_model_key_says_so
(self)
lib/crewai/tests/test_flow_conversation.py:2944
Function
test_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:1395
Function
test_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:4493
Method
test_a_member_smaller_than_it_declares_is_refused
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:186
Method
test_a_member_that_inflates_past_its_declared_size_is_refused
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:178
Function
test_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
Function
test_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
Function
test_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:222
Function
test_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
← previous
next →
10,201–10,300 of 19,482, ranked by callers