MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Functiontest_a_task_with_a_spreadsheet_url_queries_every_row
(downloads, entry)
lib/crewai/tests/agents/test_agent_spreadsheets.py:322
Functiontest_a_task_with_no_agent_still_reports_a_failure_type
The no-agent branch raises inside the same try, so it must report too.
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:451
Functiontest_a_task_without_a_spreadsheet_url_is_unchanged
(downloads, monkeypatch)
lib/crewai/tests/agents/test_agent_spreadsheets.py:447
Functiontest_a_template_key_stops_matching_once_the_role_is_interpolated
The overlay maps the role's current text: the template is a key, the interpolated text is not, so a kickoff inside the block puts the declared
lib/crewai/tests/test_llm_overlay.py:278
Functiontest_a_template_role_that_is_itself_a_key_still_matches_at_construction
()
lib/crewai/tests/test_llm_overlay.py:219
Methodtest_a_terminal_event_without_a_start_is_inert
A listener attached mid-run has no stamp; that is not an error.
lib/crewai/tests/telemetry/test_crew_completed_span.py:169
Functiontest_a_terminal_that_cannot_be_handed_over_shows_the_refusal_as_before
( rejected_login, monkeypatch )
lib/cli/tests/test_crew_run_tui.py:3153
Functiontest_a_terminal_whose_output_is_captured_gets_the_line_instead
`crewai eval` sends a run's output to a log when nobody is watching it.
lib/cli/tests/test_api_keys.py:876
Functiontest_a_token_a_dotenv_could_set_approves_nothing
The variable alone is what a project's `.env` could carry; without the file `crewai eval` writes, it counts for nothing.
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:291
Functiontest_a_tool_call_sequence_survives
A `tool` message needs its preceding assistant `tool_calls` message. Filtering on truthy content dropped the assistant turn, leaving a sequence
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:205
Methodtest_a_tool_call_then_the_follow_up_turn
(self, server, provider)
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:596
Functiontest_a_tool_project_gets_no_evaluation_guidance
(mock_subprocess, tool_command)
lib/cli/tests/tools/test_main.py:88
Functiontest_a_tool_result_arrives_whole
(size: int)
lib/crewai/tests/telemetry/test_span_attribute_bound.py:124
Functiontest_a_tool_result_over_the_bound_is_cut_with_the_marker_and_its_size
()
lib/crewai/tests/telemetry/test_span_attribute_bound.py:133
Methodtest_a_total_row_is_flagged_by_its_label_or_its_sum
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:103
Methodtest_a_total_row_is_named_in_the_profile
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:203
Functiontest_a_trace_that_cannot_be_finished_never_replaces_the_runs_error
Finishing a failed run's trace is best effort: whatever sharing it or shutting it down raises is logged, and the run's own error is what escapes.
lib/crewai/tests/telemetry/test_session_trace_export.py:1043
Functiontest_a_trace_that_reaches_amp_is_counted_once_by_tier
Declined consent, a refused grant, or a rejected export never counts.
lib/crewai/tests/telemetry/test_session_trace_export.py:879
Functiontest_a_traced_run_that_exits_with_an_error_is_still_graded
( project, monkeypatch, capfd, usage )
lib/cli/tests/experimental/test_eval_crew.py:4634
Functiontest_a_traced_run_whose_script_failed_is_still_graded
`crewai run` exits with a failed script's code; `crewai eval` still grades that traced run, then exits 1 because the run failed.
lib/cli/tests/experimental/test_eval_crew.py:4360
Methodtest_a_transport_failure_reports_network_error_and_propagates
No response, so no status; the exception reaches the caller unchanged.
lib/cli/tests/deploy/test_deploy_main.py:1233
Functiontest_a_truncated_ephemeral_trace_is_not_counted
It is uploaded, but like the `crewai eval` record it is not a whole run.
lib/crewai/tests/telemetry/test_session_trace_export.py:950
Functiontest_a_truncated_ephemeral_trace_is_uploaded_but_not_recorded
The buffer dropped spans at its cap: the grader could not read the run whole.
lib/crewai/tests/telemetry/test_session_trace_export.py:337
Functiontest_a_trusted_amp_over_plain_http_still_gets_no_credential
A cleartext connection is not a place to put a bearer token, trusted or not.
lib/cli/tests/experimental/test_eval_crew.py:487
Methodtest_a_tsv_splits_on_tabs
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:523
Functiontest_a_url_in_a_list_of_messages_is_read_from_the_user_turns_only
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:274
Functiontest_a_url_in_an_earlier_tasks_output_is_not_fetched
Context from earlier tasks is model output, not the agent's input.
lib/crewai/tests/agents/test_agent_spreadsheets.py:356
Functiontest_a_url_inside_prose_or_markup_is_read_whole
(downloads, text, url)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1002
Methodtest_a_url_is_never_downloaded_to_decide
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:65
Methodtest_a_url_is_streamed_and_read
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:196
Functiontest_a_url_that_is_not_a_string_costs_the_link_and_nothing_else
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:276
Functiontest_a_url_the_model_makes_up_is_never_fetched
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:527
Methodtest_a_usable_text_block_survives_a_malformed_sibling
(self)
lib/crewai/tests/utilities/test_agent_utils.py:749
Functiontest_a_user_flow_that_suppresses_console_events_still_reports
``suppress_flow_events`` asks for console quiet, not for no telemetry.
lib/crewai/tests/telemetry/test_flow_telemetry.py:595
Functiontest_a_uv_that_cannot_start_exits_1
(monkeypatch, capsys)
lib/cli/tests/test_run_crew.py:1367
Functiontest_a_valid_guardrail_result_reports_one_completed_event
()
lib/crewai/tests/test_guardrail_events_on_exception.py:120
Methodtest_a_value_far_from_the_data_is_refused_at_once
( self, corner, calamine_must_not_open )
lib/crewai-files/tests/spreadsheets/test_reading.py:204
Methodtest_a_value_of_the_wrong_type_says_what_it_needs
(self, column, value, message)
lib/crewai-files/tests/spreadsheets/test_answers.py:406
Methodtest_a_value_reads_with_the_sheets_own_number_format
In a ";" file 1.500 is fifteen hundred, as its cells read; the filter once read it US-style, as one and a half, and matched nothing.
lib/crewai-files/tests/spreadsheets/test_answers.py:368
Functiontest_a_value_the_targets_field_type_refuses_is_dropped_with_a_warning
A name the target has can still refuse the value (`logprobs` is an int on the LiteLLM class, a bool on the OpenAI one). The build must not raise i
lib/crewai/tests/utilities/test_create_llm_like.py:72
Functiontest_a_web_page_at_a_spreadsheet_path_is_named_as_one
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1158
Methodtest_a_workbook_named_csv_is_read_as_a_workbook
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:115
Functiontest_a_workbook_over_the_cell_budget_is_still_kept_while_newest
(monkeypatch)
lib/crewai-files/tests/spreadsheets/test_loading.py:252
Methodtest_a_workbook_overview
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:73
Functiontest_a_write_failure_never_raises
(project, monkeypatch)
lib/crewai/tests/telemetry/test_last_run.py:91
Functiontest_a_write_still_happens_where_the_platform_has_no_file_locking
Windows has no flock: the record is a convenience pointer, never worth failing a run over.
lib/crewai/tests/telemetry/test_last_run.py:191
Methodtest_a_wrong_type_fails_now_not_at_call_time
`create_llm` would take an int as a model name and fail later.
lib/crewai/tests/test_flow_conversation.py:2948
Functiontest_a_yaml_file_with_explicit_keys_is_named_as_unreadable
`? base_url` can override a plain `base_url` the scan reads.
lib/cli/tests/test_api_keys.py:643
Functiontest_a_yaml_folded_template_role_matches_after_interpolation
The CrewBase shape: a templated role from YAML keeps its trailing newline through interpolation, and the key is written for the clean text.
lib/crewai/tests/test_llm_overlay.py:144
Methodtest_a_zip_create_prints_the_commit_it_was_built_from
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1677
Functiontest_a_zip_create_still_uploads_when_git_status_fails
A gitlink whose `.git` points nowhere breaks `git status` but not the archive. The commit line is informational, so it must not abort the deploy.
lib/cli/tests/deploy/test_deploy_main.py:2230
Methodtest_a_zip_from_a_dirty_tree_says_it_has_uncommitted_changes
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1695
Methodtest_a_zip_from_a_repo_without_commits_prints_no_commit
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1716
Methodtest_a_zip_push_prints_the_commit_it_was_built_from
( self, mock_display, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1781
Methodtest_a_zip_source_type_uploads_the_code_even_when_origin_exists
( self, mock_display, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:875
Methodtest_a_zip_that_is_not_a_workbook_is_unreadable
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:122
Functiontest_a_zip_with_hidden_untracked_files_is_not_reported_clean
`status.showUntrackedFiles=no` hides files the ZIP still uploads.
lib/cli/tests/deploy/test_deploy_main.py:2260
Methodtest_a_zip_without_a_usable_repository_prints_no_commit
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1735
Methodtest_aadd_documents
Test that aadd_documents adds documents to collection asynchronously.
lib/crewai/tests/rag/qdrant/test_client.py:307
Methodtest_aadd_documents
Test that aadd_documents adds documents to collection asynchronously.
lib/crewai/tests/rag/chromadb/test_client.py:355
Methodtest_aadd_documents_collection_not_exists
Test that aadd_documents raises error if collection doesn't exist.
lib/crewai/tests/rag/qdrant/test_client.py:376
Methodtest_aadd_documents_empty_list
Test that aadd_documents raises error for empty documents list.
lib/crewai/tests/rag/qdrant/test_client.py:364
Methodtest_aadd_documents_empty_list_raises_error
Test that aadd_documents raises error for empty documents list.
lib/crewai/tests/rag/chromadb/test_client.py:444
Methodtest_aadd_documents_with_batch_size
Test aadd_documents with batch size splits documents into batches.
lib/crewai/tests/rag/chromadb/test_client.py:700
Methodtest_aadd_documents_with_custom_ids
Test aadd_documents with custom document IDs.
lib/crewai/tests/rag/chromadb/test_client.py:387
Methodtest_aadd_documents_with_doc_id
Test that aadd_documents uses provided doc_id.
lib/crewai/tests/rag/qdrant/test_client.py:339
Methodtest_aadd_documents_with_explicit_batch_size
Test aadd_documents with explicitly provided batch size.
lib/crewai/tests/rag/chromadb/test_client.py:730
Methodtest_aadd_documents_without_metadata
Test aadd_documents with documents that have no metadata.
lib/crewai/tests/rag/chromadb/test_client.py:420
Methodtest_aadd_documents_wrong_client_type
Test that aadd_documents raises TypeError for sync client.
lib/crewai/tests/rag/qdrant/test_client.py:397
Methodtest_aadd_raises_without_storage
Test that aadd raises ValueError when storage is not set.
lib/crewai/tests/knowledge/test_async_knowledge.py:179
Methodtest_aadd_saves_documents_asynchronously
Test that aadd chunks and saves documents asynchronously.
lib/crewai/tests/knowledge/test_async_knowledge.py:165
Methodtest_aadd_sources_calls_source_aadd
Test that aadd_sources calls aadd on each source.
lib/crewai/tests/knowledge/test_async_knowledge.py:114
Methodtest_abort_at_execution_start_emits_started_then_failed
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:619
Functiontest_abort_at_execution_start_emits_started_then_failed_events
()
lib/crewai/tests/utilities/test_events.py:737
Methodtest_abort_at_execution_start_interrupts
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:144
Methodtest_abort_at_input_preserves_execution_start_rewrite
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:738
Methodtest_abort_keeps_state_id_from_inputs
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:668
Methodtest_abort_preserves_chained_hook_rewrite
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:707
Methodtest_aborting_execution_end_hook_fires_once_for_crew
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:569
Methodtest_aborting_execution_end_hook_fires_once_for_flow
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:556
Functiontest_aborting_the_key_prompt_ends_the_run_as_aborted
(tmp_path, monkeypatch)
lib/cli/tests/test_run_agent.py:347
Methodtest_absent_buckets_are_not_added
(self)
lib/crewai/tests/events/test_llm_usage_event.py:135
Functiontest_absent_tool_crewai_table_is_never_created
Refuse to mint rather than rewrite a non-CrewAI project's pyproject.toml. `crewai run` in any directory that merely happens to have a pyproject.t
lib/crewai/tests/telemetry/test_project_id.py:123
Methodtest_absent_when_not_configured
Unset must stay off the wire, whatever the model.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:129
Functiontest_absolute_template_output_file_saves_outside_cwd
A developer-written absolute template keeps working outside the cwd.
lib/crewai/tests/test_task.py:1356
Functiontest_acall_delegates_to_responses
()
lib/crewai/tests/llms/azure/test_azure_responses_async.py:8
Methodtest_acall_method_exists
Test that acall method exists for async calls.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:445
Functiontest_acall_returns_the_text_and_counts_its_tokens_via_the_async_client
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:350
Functiontest_acall_runs_after_llm_call_hooks
()
lib/crewai/tests/hooks/test_async_after_llm_call_hooks.py:32
Functiontest_acall_sends_the_same_request_as_call
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:366
Methodtest_accepts_all_sampling_params
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:76
Methodtest_accepts_nested_usage_dict
(self)
lib/crewai/tests/events/test_llm_usage_event.py:43
Methodtest_accepts_none_usage
(self)
lib/crewai/tests/events/test_llm_usage_event.py:34
Methodtest_accepts_string_values
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:39
Methodtest_accepts_usage_dict
(self)
lib/crewai/tests/events/test_llm_usage_event.py:13
Methodtest_access_by_index
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:42
Methodtest_access_by_name
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:47
Functiontest_accessing_fingerprints_example
Test the accessing fingerprints example from the documentation.
lib/crewai/tests/security/test_examples.py:32
Methodtest_acheckpoint_chaining
Async checkpoint path chains lineage identically to sync.
lib/crewai/tests/test_checkpoint.py:502
Methodtest_acheckpoint_uses_utf8_for_non_ascii_json
(self)
lib/crewai/tests/test_checkpoint.py:422
← previousnext →10,501–10,600 of 19,482, ranked by callers