MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

Methodtest_directory_string
Test data_type='directory' with existing directory.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:181
Functiontest_directory_that_is_an_existing_file
The error must describe the real problem, not a bogus overwrite failure.
lib/crewai-tools/tests/tools/test_file_writer_tool.py:389
Methodtest_disabled_block_synthesizes_nothing
(self)
lib/crewai/tests/test_flow_conversation.py:3396
Methodtest_disabled_declaration_is_not_marked
(self)
lib/crewai/tests/test_flow_conversation.py:3080
Functiontest_disabled_execution_does_not_collect_or_request_grants
( collector, monkeypatch, disabled_by )
lib/crewai/tests/telemetry/test_session_trace_export.py:827
Functiontest_disabled_memory
With memory=False, crew has no _memory and kickoff runs without memory.
lib/crewai/tests/test_crew.py:2712
Methodtest_disabled_telemetry_does_not_break_finalization
Opted-out users have no provider at all; finalize must still succeed.
lib/crewai/tests/tracing/test_tracing.py:1761
Functiontest_disabled_tracing_notices_read_the_same_in_every_unconsented_state
Crew, Flow and the console formatter tell a run without tracing how to turn it on, whether or not anybody declined.
lib/crewai/tests/telemetry/test_trace_consent_asked.py:595
Functiontest_disabling_cache_for_agent
()
lib/crewai/tests/agents/test_agent.py:267
Functiontest_disabling_compaction_sends_original_request_and_propagates_error
()
lib/crewai/tests/test_flow_context_compaction.py:207
Functiontest_disabling_deferred_trace_discards_without_consent
( traces, monkeypatch, disabled, finalize_only )
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:83
Methodtest_disconnect_auth_error_preserved_after_cancellation_without_http_context
( self, mock_client_class, _mock_sleep, resolver, http_config )
lib/crewai/tests/mcp/test_tool_resolver_auth.py:99
Methodtest_disconnect_called_after_successful_run
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:518
Methodtest_disconnect_called_on_unexpected_error
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:528
Methodtest_disconnect_is_safe_when_already_disconnected
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:634
Functiontest_disconnect_preserves_authentication_error_from_teardown
()
lib/crewai/tests/mcp/test_client_connect_auth.py:200
Methodtest_disconnect_resets_all_handles
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:622
Methodtest_disconnect_runs_when_cancellation_occurs_after_connect
( self, mock_client_class, _mock_sleep, resolver, http_config )
lib/crewai/tests/mcp/test_tool_resolver_auth.py:73
Methodtest_discover_and_activate
(self, tmp_path: Path)
lib/crewai/tests/skills/test_integration.py:31
Methodtest_discovered_tool_executes_through_legacy_api
(self, mock_get, mock_post)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:165
Functiontest_discovers_one_root_agent_definition
(tmp_path: Path, suffix: str)
lib/crewai-core/tests/test_agent_project_entrypoint.py:16
Methodtest_display_auth_instructions
(self, mock_console_print, mock_webbrowser)
lib/cli/tests/authentication/test_auth_main.py:114
Methodtest_display_creation_success_resolves_deployment_page_id_from_status
(self)
lib/cli/tests/deploy/test_deploy_main.py:478
Methodtest_display_deployment_info
(self)
lib/cli/tests/deploy/test_deploy_main.py:430
Methodtest_display_deployment_info_warns_when_browser_open_raises
(self)
lib/cli/tests/deploy/test_deploy_main.py:462
Methodtest_display_deployment_info_warns_when_browser_open_returns_false
(self)
lib/cli/tests/deploy/test_deploy_main.py:446
Methodtest_display_logs
(self)
lib/cli/tests/deploy/test_deploy_main.py:523
Methodtest_distillation_failure_logs_and_does_not_block_flow
Distillation LLM failure logs a warning but does not break the flow.
lib/crewai/tests/test_human_feedback_decorator.py:859
Methodtest_dml_actually_persists
End-to-end: INSERT commits when allow_dml=True.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:97
Methodtest_dml_write_blocked_without_env_var
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:234
Functiontest_dmn_mode_prints_the_url_but_opens_no_browser
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:841
Functiontest_do_not_allow_crewai_trigger_context_for_first_task_hierarchical
()
lib/crewai/tests/agents/test_agent.py:1030
Functiontest_doc_id_changes_with_file_content
Changing records at the same path must change the document ID.
lib/crewai-tools/tests/rag/test_jsonl_loader.py:56
Methodtest_doc_id_consistency
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:85
Methodtest_doc_id_consistency
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:136
Methodtest_doc_id_consistency
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:136
Methodtest_doc_id_is_deterministic
(self, temp_csv_file)
lib/crewai-tools/tests/rag/test_csv_loader.py:79
Methodtest_doc_id_uniqueness
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:190
Functiontest_dockerenv_marks_a_container
The container check is the last resort before the TTY fallback.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:346
Functiontest_docling_source
(mock_vector_db)
lib/crewai/tests/knowledge/test_knowledge.py:513
Methodtest_docs_urls_are_docs_sites
(self, url: str)
lib/crewai-tools/tests/rag/test_data_types.py:94
Functiontest_documented_positional_signature
The documented (filename, content, directory) call order must work.
lib/crewai-tools/tests/tools/test_file_writer_tool.py:122
Methodtest_docx_doc_id_generation
(self, mock_docx_class)
lib/crewai-tools/tests/rag/test_docx_loader.py:142
Methodtest_docx_file_not_found_raises_error
Test that non-existent DOCX file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:321
Functiontest_docx_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:90
Functiontest_docx_search_tool_initialization_schemas
Verify tool args_schema matches initialization mode without requiring docx in fixed mode.
lib/crewai-tools/tests/tools/test_docx_search_tool.py:42
Functiontest_docx_search_tool_schema
DOCXSearchToolSchema should require both docx and search_query.
lib/crewai-tools/tests/tools/test_docx_search_tool.py:23
Methodtest_does_not_affect_non_objects
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:947
Methodtest_does_not_allow_private_ip_literal
(self, monkeypatch)
lib/crewai-tools/tests/utilities/test_safe_path.py:248
Methodtest_does_not_alter_core_token_counts
(self)
lib/crewai/tests/events/test_llm_usage_event.py:123
Methodtest_does_not_emit_a_feature_count
deploy:created is already counted by the attempt span.
lib/crewai-core/tests/test_telemetry_deploy.py:217
Methodtest_does_not_emit_a_second_deploy_created_count
A second emit would double every deployment in the feature count.
lib/crewai-core/tests/test_telemetry_deploy.py:117
Methodtest_does_not_match_wildcards_or_other_hosts
(self, monkeypatch, entry)
lib/crewai-tools/tests/utilities/test_safe_path.py:203
Methodtest_does_not_retry_an_unrelated_400
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:260
Methodtest_does_not_retry_forever
A model that fails even with "none" must surface, not loop.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:244
Methodtest_does_not_retry_forever
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:324
Methodtest_does_not_retry_genuine_unknown_model
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_responses_only_models.py:102
Methodtest_does_not_support_claude2
Test Bedrock Claude 2 does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:433
Methodtest_does_not_support_gpt35
Test GPT-3.5 does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:322
Methodtest_does_not_support_gpt35
Test Azure GPT-3.5 does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:396
Methodtest_does_not_support_gpt_oss
Test Bedrock gpt-oss (no image input) does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:457
Methodtest_does_not_support_pre_claude3
(self, model: str)
lib/crewai/tests/llms/test_multimodal.py:160
Methodtest_does_not_support_text_only_models
(self, model: str)
lib/crewai/tests/llms/test_multimodal.py:505
Functiontest_done_without_a_comparison_is_a_protocol_error
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2097
Functiontest_dont_set_agents_step_callback_if_already_set
()
lib/crewai/tests/test_crew.py:1601
Functiontest_dots_inside_a_filename_are_allowed
(project: Path, name: str)
lib/crewai-files/tests/test_file_path_containment.py:73
Methodtest_double_slashes_collapsed
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:72
Functiontest_download_pdf_oserror
(mock_urlretrieve)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:55
Functiontest_download_pdf_success
(mock_urlretrieve)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:48
Methodtest_downloads_and_caches_uncached_skill_in_noninteractive_environment
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:219
Functiontest_downloads_are_bounded_by_one_deadline_for_the_run
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1065
Methodtest_downloads_when_a_project_local_skill_declares_another_version
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:336
Functiontest_drain_writes_reports_background_save_failure_without_raising
Background memory failures should be reported without failing cleanup.
lib/crewai/tests/memory/test_unified_memory.py:1284
Functiontest_draw_multi_renders_only_the_visible_window
(monkeypatch)
lib/cli/tests/test_tui_picker.py:48
Functiontest_driver_stays_reusable_across_runs
The driver must survive a run so the tool can be called again. Real chromedriver raises 'no such window' once the only window has been closed
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:177
Methodtest_drop_allowed_when_dml_enabled
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:93
Functiontest_dropped_allows_up_to_the_max_drop
(base, head, fails)
lib/devtools/tests/test_agents_md_eval.py:96
Methodtest_drops_the_version_pin
(self)
lib/crewai/tests/skills/test_registry.py:143
Methodtest_dry_run_json
(self, capsys: pytest.CaptureFixture[str])
lib/crewai/tests/test_checkpoint_cli.py:432
Functiontest_dual_shard_search
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:214
Methodtest_dump_new_settings
(self)
lib/cli/tests/test_config.py:99
Methodtest_dump_new_settings
(self)
lib/crewai/tests/cli/test_config.py:96
Methodtest_dump_writes_owner_only_file
(self)
lib/cli/tests/test_config.py:164
Functiontest_dumps_of_a_config_its_agent_and_crew_leave_the_auth_out
()
lib/crewai/tests/mcp/test_mcp_auth.py:369
Methodtest_duplicate_initialize_merges_execution_metadata
(self)
lib/crewai/tests/tracing/test_tracing.py:1563
Functiontest_duration_is_reported_once_per_run
The stamp is cleared on use, so a repeated completion cannot double-count.
lib/crewai/tests/telemetry/test_flow_telemetry.py:477
Functiontest_dynamic_cache_expires_after_catalog_ttl
(monkeypatch)
lib/cli/tests/test_model_catalog.py:588
Functiontest_dynamic_router_flow_definition_allows_dynamic_emit
()
lib/crewai/tests/test_flow_definition.py:1274
Functiontest_dynamic_router_string_listener_is_valid_contract
()
lib/crewai/tests/test_flow_definition.py:1288
Functiontest_dynamic_versioning_consistency
Test that dynamic versioning provides consistent version across all access methods.
lib/cli/tests/test_version.py:26
Functiontest_dynamic_versioning_consistency
Test that dynamic versioning provides consistent version across all access methods.
lib/crewai/tests/cli/test_version.py:23
Functiontest_each_action_accepts_expression_markers_in_explicit_cel_fields
()
lib/crewai/tests/test_flow_from_definition.py:2747
Functiontest_each_action_empty_list_returns_empty_and_listener_runs_once
()
lib/crewai/tests/test_flow_from_definition.py:2832
Functiontest_each_action_executes_one_nested_code_action
()
lib/crewai/tests/test_flow_from_definition.py:2375
Functiontest_each_action_failure_fails_outer_method
()
lib/crewai/tests/test_flow_from_definition.py:3008
Functiontest_each_action_if_condition_must_be_boolean
()
lib/crewai/tests/test_flow_from_definition.py:2808
Functiontest_each_action_interpolates_item_values_in_step_inputs
()
lib/crewai/tests/test_flow_from_definition.py:2402
Functiontest_each_action_loads_from_declaration
()
lib/crewai/tests/test_flow_definition.py:943
Functiontest_each_action_preserves_flow_outputs_and_prefers_step_outputs
()
lib/crewai/tests/test_flow_from_definition.py:2666
Functiontest_each_action_rejects_nested_each_actions
()
lib/crewai/tests/test_flow_from_definition.py:2971
← previousnext →14,001–14,100 of 20,757, ranked by callers