MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Functiontest_waits_requested_duration
(mock_sleep, tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:15
Functiontest_warn_policy_tool_does_not_kill_the_flow
()
lib/crewai/tests/test_flow_tool_action_failure_policy.py:56
Methodtest_warn_records_and_emits_without_stopping
(self)
lib/crewai/tests/tools/test_tool_failure.py:328
Functiontest_warning_for_orphaned_listeners
Test that a warning is logged when a trigger has no explicit router output.
lib/crewai/tests/test_flow_visualization.py:690
Functiontest_warning_for_router_without_events
Test that a warning is logged when a router has no determinable events.
lib/crewai/tests/test_flow_visualization.py:649
Functiontest_warns_on_unknown_input_with_suggestion
( tmp_path: Path, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/test_run_declarative_flow.py:330
Methodtest_warns_one_call_before_the_limit
(self)
lib/crewai/tests/tools/test_tool_failure.py:1952
Functiontest_web_refine_request_payload_passes_all_params
(web_tool)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:223
Functiontest_web_search_end_to_end
(mock_get, web_tool)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:372
Functiontest_website_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:169
Functiontest_what_a_run_and_its_tools_leave_around_the_project_is_no_change
( project, monkeypatch, written )
lib/cli/tests/experimental/test_eval_crew.py:3413
Functiontest_what_counts_as_tracing_turned_off
(project, monkeypatch, dotenv, environment, off)
lib/cli/tests/experimental/test_eval_crew.py:3709
Functiontest_what_decides_is_whether_anyone_reads_stdout_not_stdin
A coding agent can hand the command a terminal for stdin and still read a captured stdout: the transcript stays out of what it reads.
lib/cli/tests/experimental/test_eval_crew.py:4234
Functiontest_where_the_prompt_could_not_be_shown_nothing_is_uploaded
The switch answers a question; where the question could not have been put to anybody, there is nothing to answer. A copied `.env` reaching CI
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:151
Functiontest_which_connections_may_carry_the_login
(origin, encrypted)
lib/cli/tests/experimental/test_eval_crew.py:526
Functiontest_while_waiting_a_blip_is_retried_and_a_streak_is_reported
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:601
Functiontest_whitespace_around_a_role_or_a_key_is_ignored
A role read from a YAML file often ends in a newline (``role: >`` folds to one) while the caller writes the key for the clean text; the newline ca
lib/crewai/tests/test_llm_overlay.py:97
Methodtest_whitespace_cleanup
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:108
Methodtest_whitespace_only_feedback_treated_as_empty
Test that whitespace-only feedback is treated as empty for routing, but returns method output.
lib/crewai/tests/test_human_feedback_integration.py:732
Methodtest_whitespace_only_query_returns_error_json
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:343
Methodtest_whitespace_only_version
(self)
lib/crewai/tests/skills/test_registry.py:168
Methodtest_whitespace_text
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:195
Methodtest_wide_sheets_list_forty_columns_then_point_to_inspect
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:97
Methodtest_wide_sheets_list_names_past_sixty_then_count_the_rest
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:211
Functiontest_windows_absolute_path_detection
(path_value: str)
lib/crewai/tests/project/test_json_loader.py:90
Functiontest_windows_absolute_path_detection_ignores_relative_paths
(path_value: str)
lib/crewai/tests/project/test_json_loader.py:102
Methodtest_with_disclosure_level
(self, tmp_path: Path)
lib/crewai/tests/skills/test_models.py:82
Functiontest_with_no_login_on_this_machine_yet_tracing_is_still_not_turned_on_toward_it
No login to protect today is no reason to write CREWAI_TRACING_ENABLED=true toward an AMP the project chose: the first run after `crewai login` wo
lib/cli/tests/experimental/test_eval_crew.py:3895
Functiontest_with_no_proxy_variable_the_os_proxy_settings_apply
( proxy: _RecordingServer, monkeypatch: pytest.MonkeyPatch )
lib/crewai-core/tests/test_plus_api_proxy.py:223
Functiontest_with_no_terminal_a_run_that_left_no_trace_shows_its_last_lines
The error a failed run printed is what the agent needs to fix it: its last lines are shown, and the sentence says where the rest is.
lib/cli/tests/experimental/test_eval_crew.py:4184
Functiontest_with_no_terminal_the_runs_own_output_goes_to_a_log_not_the_agent
A coding agent reads every line `crewai eval` prints, and pays for it: the crew's panels, its final answer and its tool calls go to `.crewai/l
lib/cli/tests/experimental/test_eval_crew.py:4150
Functiontest_with_no_traced_run_a_coding_agent_gets_its_verdict_from_this_one_command
No terminal, nothing traced, logged in or not: the crew runs, traced and approved for upload by the command itself, and that run is graded. No
lib/cli/tests/experimental/test_eval_crew.py:851
Functiontest_with_nobody_to_confirm_a_login_a_rejected_one_stops_and_says_crewai_login
( project, monkeypatch, capsys, usage, logins, tty, dmn )
lib/cli/tests/experimental/test_eval_crew.py:2453
Functiontest_with_nobody_watching_a_missing_key_is_named_in_the_run_log_not_asked_for
`crewai run`'s key check under `crewai eval`, its output moved to the run log: stdin is a terminal, but nobody reads stdout, so the key is named
lib/cli/tests/experimental/test_eval_crew.py:4258
Functiontest_with_nobody_watching_the_brief_follows_the_verdict_and_the_link_literally
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2226
Functiontest_with_only_the_briefs_url_the_link_is_printed
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2242
Methodtest_with_pydantic_state
Test human feedback with structured Pydantic state.
lib/crewai/tests/test_human_feedback_integration.py:605
Methodtest_with_tools_uses_task_slice_with_react
Test that agents WITH tools use the task slice (ReAct format).
lib/crewai/tests/utilities/test_prompts_no_thought_leakage.py:73
Functiontest_with_tracing_turned_off_and_nobody_to_ask_it_says_how_to_turn_it_on
A coding agent cannot answer a question; it can turn tracing on itself, and the sentence says how.
lib/cli/tests/experimental/test_eval_crew.py:3675
Methodtest_with_uuid_org
(self)
lib/crewai/tests/skills/test_registry.py:159
Methodtest_with_v_prefixed_version
(self)
lib/crewai/tests/skills/test_registry.py:156
Methodtest_with_version
(self)
lib/crewai/tests/skills/test_registry.py:151
Functiontest_without_a_model_crewais_default_model_is_checked
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:1274
Methodtest_without_a_sheet_a_workbook_gets_its_overview
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:161
Functiontest_without_a_terminal_the_line_to_add_is_printed_and_the_run_goes_on
( project, children, no_prompt )
lib/cli/tests/test_api_keys.py:893
Functiontest_without_a_terminal_the_line_to_add_names_the_host_too
A coding agent told to add the key must learn where it would go.
lib/cli/tests/test_api_keys.py:354
Functiontest_without_an_llm_it_reads_with_gpt_6_luna_at_the_default_temperature
GPT-6 Luna rejects any temperature but the default with a 400.
lib/crewai-tools/tests/tools/test_ocr_tool.py:6
Methodtest_without_an_organization_points_to_org_switch
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:480
Methodtest_without_by_it_totals_every_matching_row
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:571
Functiontest_without_crewais_catalog_every_model_is_other
(monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:2206
Methodtest_without_evidence_the_parameter_is_unknown_the_error_surfaces
Only a rejection of the parameter itself is recovered; anything else naming it is the caller's to see.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:632
Functiontest_without_inject_date_no_date_is_sent
()
lib/crewai/tests/agents/test_agent_inject_date.py:131
Functiontest_without_proxy_settings_requests_go_directly
( proxy: _RecordingServer, amp: _RecordingServer )
lib/crewai-core/tests/test_plus_api_proxy.py:212
Functiontest_without_the_extra_a_spreadsheet_url_is_left_alone
(downloads, monkeypatch)
lib/crewai/tests/agents/test_agent_spreadsheets.py:467
Methodtest_without_version
(self)
lib/crewai/tests/skills/test_registry.py:148
Functiontest_wizard_lists_lead_with_current_small_models
With no key, the wizard shows the curated list in order; the first is the `--provider` default.
lib/cli/tests/test_constants.py:82
Functiontest_wizard_offers_a_curated_list_for_every_provider
Without one, the picker shows LiteLLM's feed, which lags and keeps old models.
lib/cli/tests/test_constants.py:416
Functiontest_worker_start_failure_is_a_visible_terminal_record
(failure)
lib/crewai/tests/test_flow_jobs.py:236
Methodtest_wrap_image_source
Test wrapping image source returns ImageFile.
lib/crewai/tests/utilities/test_files.py:285
Methodtest_wrap_pdf_source
Test wrapping PDF source returns PDFFile.
lib/crewai/tests/utilities/test_files.py:301
Methodtest_wrap_text_source
Test wrapping text source returns TextFile.
lib/crewai/tests/utilities/test_files.py:309
Functiontest_wrapper_is_applied_differently_per_instance
Verify that agents with and without a2a have different execute_task methods.
lib/crewai/tests/agents/test_agent_a2a_wrapping.py:93
Methodtest_writable_cte_allowed_when_dml_enabled
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:312
Methodtest_writable_cte_delete_blocked_in_read_only
WITH d AS (DELETE FROM users RETURNING *) SELECT * FROM d — blocked.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:290
Methodtest_writable_cte_insert_blocked_in_read_only
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:298
Methodtest_writable_cte_triggers_commit
WITH d AS (DELETE ...) must trigger commit when allow_dml=True.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:464
Methodtest_writable_cte_update_blocked_in_read_only
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:305
Functiontest_write_env_file_creates_an_env_only_its_owner_can_read
(tmp_path)
lib/cli/tests/test_utils.py:172
Functiontest_write_env_file_makes_an_existing_readable_env_owner_only
(tmp_path)
lib/cli/tests/test_utils.py:185
Functiontest_write_env_file_never_writes_keys_through_a_symlink
(tmp_path)
lib/cli/tests/test_utils.py:207
Functiontest_write_env_file_on_windows_writes_without_posix_modes
Windows has no fchmod and no owner-only bits to set: the keys are still written, without a crash.
lib/cli/tests/test_utils.py:196
Functiontest_write_env_file_writes_utf8
(tmp_path, ascii_default_encoding)
lib/cli/tests/test_utils.py:265
Functiontest_write_lock_releases_on_exception
()
lib/crewai/tests/utilities/events/test_rw_lock.py:190
Functiontest_write_project_rejects_an_unknown_ref
(repo, tmp_path)
lib/devtools/tests/test_agents_md_eval.py:151
Functiontest_write_project_takes_the_file_at_the_ref_or_the_working_tree
(repo, tmp_path)
lib/devtools/tests/test_agents_md_eval.py:143
Methodtest_write_statements_blocked_by_default
(self, stmt: str)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:60
Methodtest_write_with_dml_enabled_does_commit
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:190
Functiontest_writer_blocks_other_writers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:72
Functiontest_writer_blocks_readers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:43
Functiontest_writers_are_serialised_so_a_stale_read_cannot_overwrite_a_newer_run
Two crews finish at once. Reading the file, deciding and replacing it are one step, so no writer can decide against a record another writer has al
lib/crewai/tests/telemetry/test_last_run.py:146
Functiontest_writes_utf8_by_default
(tool, temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:419
Functiontest_wrong_json_shape_or_extension_raises
(tmp_path, name, content, message)
lib/crewai/tests/test_jev_evaluation_runner.py:407
Methodtest_wrong_path_in_the_same_run_lists_the_path_to_retry_with
( self, read_as: str, use_async: bool )
lib/crewai/tests/agents/test_agent_executor.py:3124
Functiontest_wrong_path_lists_the_readable_artifact_paths
(tmp_path)
lib/crewai/tests/tools/agent_tools/test_deferred_tool_result_reader.py:33
Functiontest_xlsx_blank_rows_are_dropped
Excel reports generous dimensions; phantom rows must not pad the output.
lib/crewai-tools/tests/url_read_tool_test.py:664
Functiontest_xlsx_cells_are_csv_quoted_so_the_grid_survives
A comma, quote or newline inside a cell must not corrupt the row.
lib/crewai-tools/tests/url_read_tool_test.py:651
Functiontest_xlsx_formula_without_a_cached_value_reads_as_empty
data_only returns cached results, so an uncalculated formula is blank. Pinning this documents the trade: agents get "42" from a workbook Excel
lib/crewai-tools/tests/url_read_tool_test.py:788
Functiontest_xlsx_resolves_from_its_declared_type_and_its_extension
XLSX is reachable by all three routes, not only by sniffing.
lib/crewai-tools/tests/url_read_tool_test.py:643
Functiontest_xlsx_trailing_space_in_the_final_cell_survives
The rendered grid loses its line terminator, not the last cell's space.
lib/crewai-tools/tests/url_read_tool_test.py:733
Functiontest_xlsx_whitespace_only_values_survive
Padding is empty, not blank -- a cell the author filled with spaces stays. A bare rstrip() on the rendered grid would also eat a trailing space f
lib/crewai-tools/tests/url_read_tool_test.py:717
Functiontest_xlsx_with_no_cells_says_so_instead_of_returning_nothing
An empty workbook reports its emptiness rather than an empty string.
lib/crewai-tools/tests/url_read_tool_test.py:778
Methodtest_xml_file_not_found_raises_error
Test that non-existent XML file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:316
Functiontest_xml_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:127
Methodtest_xml_string
Test data_type='xml' with existing XML file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:155
Functiontest_yaml_constructor_keys_must_be_strings
(data_project, invalid_fields)
lib/crewai/tests/project/test_agent_project.py:327
Functiontest_yaml_uses_safe_loader
(data_project)
lib/crewai/tests/project/test_agent_project.py:251
Methodtest_yanked_version_with_reason
Test a yanked version returns True with reason.
lib/cli/tests/test_version.py:253
Methodtest_yanked_version_with_reason
Test a yanked version returns True with reason.
lib/crewai/tests/cli/test_version.py:217
Methodtest_yanked_version_without_reason
Test a yanked version returns True with empty reason.
lib/cli/tests/test_version.py:262
Methodtest_yanked_version_without_reason
Test a yanked version returns True with empty reason.
lib/crewai/tests/cli/test_version.py:226
← previousnext →19,401–19,500 of 19,735, ranked by callers