Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
Function
test_the_models_are_one_list_stripped_with_repeats_dropped
(text, expected)
lib/cli/tests/experimental/test_eval_crew.py:2027
Function
test_the_models_span_carries_the_models_compared_and_nothing_else
( telemetry_with_exporter, )
lib/crewai/tests/telemetry/test_tracer_isolation.py:121
Function
test_the_module_imports_without_crewai_or_crewai_core
(without_crewai)
lib/cli/tests/test_api_keys.py:1369
Method
test_the_name_it_is_shown_by_finds_it
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:150
Function
test_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
Function
test_the_newest_run_replaces_the_previous_one
(project)
lib/crewai/tests/telemetry/test_last_run.py:48
Method
test_the_next_tool_call_sends_none_up_front
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:340
Method
test_the_overview_stays_within_its_cap
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:112
Function
test_the_progress_line_says_what_is_there_and_guesses_nothing
(progress, line)
lib/cli/tests/experimental/test_eval_crew.py:2128
Function
test_the_project_id_is_read_from_pyproject
(monkeypatch, tmp_path: Path)
lib/cli/tests/deploy/test_deploy_main.py:2137
Function
test_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
Function
test_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
Function
test_the_re_run_counts_no_second_start_but_still_counts_its_stop
( project, usage, monkeypatch )
lib/cli/tests/test_run_usage.py:244
Function
test_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
Method
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Method
test_the_rows_above_a_header_are_kept
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:430
Function
test_the_run_app_counts_its_evaluation_as_app_under_one_id
(project, monkeypatch, counted)
lib/cli/tests/experimental/test_eval_crew.py:1062
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_the_runs_words_are_read_only_from_reported
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:1904
Method
test_the_same_content_is_read_once
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:124
Function
test_the_same_url_twice_is_read_once
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:310
Function
test_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
Function
test_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
Function
test_the_scaffold_gitignore_covers_the_crewai_directory
(template)
lib/cli/tests/test_scaffold_gitignore.py:14
Function
test_the_span_limit_wins_over_the_general_one
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/telemetry/test_span_attribute_bound.py:273
Function
test_the_spreadsheet_can_be_named_by_its_url
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:263
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_the_three_names_for_the_eval_token_are_one
()
lib/cli/tests/test_run_crew.py:1908
Function
test_the_token_stops_counting_when_the_command_is_done
(monkeypatch)
lib/cli/tests/test_crew_run_tui.py:702
Function
test_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
Function
test_the_turn_after_the_tool_result_sees_it
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:255
Function
test_the_unresolved_apps_warning_names_a_yaml_folded_role_without_the_newline
( monkeypatch, )
lib/crewai/tests/agents/test_agent.py:2846
Function
test_the_value_before_the_block_is_put_back
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-core/tests/test_eval_handshake.py:42
Function
test_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
Function
test_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
Function
test_the_verdict_prints_whatever_areas_the_evaluation_graded
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:222
Function
test_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
Function
test_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
Function
test_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
Function
test_the_wildcard_maps_every_llm_built_from_a_model_string
()
lib/crewai/tests/test_llm_overlay.py:638
Function
test_the_workbook_cache_holds_cells_up_to_its_budget
(monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:241
Function
test_the_workbook_cache_is_bounded
(monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:231
Method
test_the_workbook_the_package_points_to_is_the_one_read
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:726
Function
test_the_workflow_runs_the_default_models
()
lib/devtools/tests/test_agents_md_eval.py:383
Function
test_the_written_line_stays_one_line_in_a_narrow_pipe
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:3331
Method
test_the_wrong_number_of_values
(self, op, values, need)
lib/crewai-files/tests/spreadsheets/test_answers.py:434
Function
test_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
Function
test_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
Function
test_thousands_of_spreadsheet_urls_add_one_line_to_the_prompt
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1051
Method
test_threads_do_not_cross_contaminate
(self)
lib/crewai/tests/tools/test_tool_failure.py:1332
Function
test_three_task_with_async_execution
()
lib/crewai/tests/test_crew.py:1082
Method
test_threshold_is_compared_to_the_reported_score
(self, cosine_client)
lib/crewai/tests/rag/qdrant/test_client.py:828
Function
test_throttling_error_classifier_follows_exception_causes
()
lib/crewai/tests/llms/test_retry.py:54
Function
test_throttling_error_classifier_recognizes_transient_provider_throttles
( error: Exception, )
lib/crewai/tests/llms/test_retry.py:48
Function
test_throttling_error_classifier_rejects_non_transient_errors
( error: Exception, )
lib/crewai/tests/llms/test_retry.py:72
Method
test_time_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:233
Method
test_timeout_and_http_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:120
Method
test_timeout_and_http_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:120
Function
test_timeout_handling_llm
Test a custom LLM implementation with timeout handling and retry logic.
lib/crewai/tests/test_custom_llm.py:359
Function
test_timeout_is_raised_at_the_deadline
The timeout error must not wait for the runaway worker to finish.
lib/crewai/tests/agents/test_agent_execution_timeout.py:13
Function
test_timeout_is_reported_as_retryable
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:318
Function
test_timeout_raises_runtime_error
(mock_get, web_tool)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:482
Method
test_timeout_wrapper_preserves_the_error_type
max_execution_time wraps failures in RuntimeError; not this one.
lib/crewai/tests/tools/test_tool_failure.py:673
Method
test_title_rows_above_the_header_are_skipped
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:580
Method
test_to_config_dict_includes_responses_fields
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:342
Method
test_to_config_dict_omits_api_for_completions
(self)
lib/crewai/tests/llms/azure/test_azure_responses.py:357
Method
test_to_dict_serialization
Test serializing context to dictionary.
lib/crewai/tests/test_async_human_feedback.py:77
Method
test_todo_item_auto_generates_unique_ids
Test that each TodoItem gets a unique auto-generated ID.
lib/crewai/tests/utilities/test_planning_types.py:129
Method
test_todo_item_serialization
Test TodoItem can be serialized to dict.
lib/crewai/tests/utilities/test_planning_types.py:136
Method
test_todo_item_status_values
Test all valid status values.
lib/crewai/tests/utilities/test_planning_types.py:119
Method
test_todo_item_with_all_fields
Test TodoItem creation with all fields.
lib/crewai/tests/utilities/test_planning_types.py:99
Method
test_todo_item_with_required_fields
Test TodoItem creation with only required fields.
lib/crewai/tests/utilities/test_planning_types.py:82
Method
test_todo_list_workflow
Test a complete workflow through TodoList.
lib/crewai/tests/utilities/test_planning_types.py:280
Method
test_todo_step_answer_is_not_requested_in_the_response_model
A step result is not the task's answer, so it keeps its text.
lib/crewai/tests/agents/test_agent_executor.py:565
Function
test_token_callback_counts_dictionary_and_object_usage
( as_dict: bool, cached_tokens: int )
lib/crewai/tests/utilities/test_token_counter_callback.py:13
Function
test_token_callback_skips_missing_usage
(usage: Any)
lib/crewai/tests/utilities/test_token_counter_callback.py:37
Function
test_token_callback_without_token_process
()
lib/crewai/tests/utilities/test_token_counter_callback.py:45
Function
test_token_usage_still_tracked_on_happy_path
with_raw_response must not cost us usage accounting.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:328
Method
test_too_long_raises
(self)
lib/crewai/tests/skills/test_validation.py:48
Method
test_too_many_members_are_refused
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:189
Function
test_tool
A test tool.
lib/crewai/tests/tools/test_tool_usage_limit.py:49
Function
test_tool_action_interpolates_adjacent_expressions
()
lib/crewai/tests/test_flow_from_definition.py:792
Function
test_tool_action_interpolates_cel_string_literals
()
lib/crewai/tests/test_flow_from_definition.py:742
Function
test_tool_action_interpolates_expression_with_surrounding_text
()
lib/crewai/tests/test_flow_from_definition.py:766
Function
test_tool_action_interpolates_multiple_expressions_with_literals
()
lib/crewai/tests/test_flow_from_definition.py:816
Function
test_tool_action_interpolates_non_string_values_as_json
()
lib/crewai/tests/test_flow_from_definition.py:842
Function
test_tool_action_interpolates_null_as_empty_string
()
lib/crewai/tests/test_flow_from_definition.py:871
Function
test_tool_action_interpolates_object_literal_fields
()
lib/crewai/tests/test_flow_from_definition.py:897
Function
test_tool_action_interpolates_values_inside_list_inputs
()
lib/crewai/tests/test_flow_from_definition.py:1075
← previous
next →
18,701–18,800 of 19,735, ranked by callers