MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

Functiontest_dimension_mismatch_error_handling
Test specific handling of dimension mismatch errors.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:185
Functiontest_dimensions_only_sent_for_text_embedding_3
(openai_mock, model_name, sent)
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:81
Functiontest_direct_custom_openai_completion_requires_custom_base_url
Direct construction must not silently fall back to api.openai.com.
lib/crewai/tests/llms/openai/test_openai.py:94
Methodtest_direct_llm_call_hooks_integration
Test that hooks work for direct llm.call() without agents.
lib/crewai/tests/hooks/test_llm_hooks.py:527
Functiontest_direct_llm_stream_events_scope_and_restore_stream_flag
()
lib/crewai/tests/test_stream_frames.py:194
Functiontest_direct_run_rejects_invalid_limit
(limit, caplog)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:715
Functiontest_directory_creation
(tool, temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:56
Methodtest_directory_discovers_jsonl
Directory ingestion uses the same JSONL loader registry.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:538
Methodtest_directory_does_not_exist
(self)
lib/crewai-tools/tests/rag/test_directory_loader.py:96
Methodtest_directory_name_mismatch
(self, tmp_path: Path)
lib/crewai/tests/skills/test_parser.py:107
Methodtest_directory_not_found_raises_error
Test that non-existent directory raises ValueError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:331
Methodtest_directory_path_keyword
Test directory_path keyword argument.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:376
Functiontest_directory_search_tool
()
lib/crewai-tools/tests/tools/test_search_tools.py:42
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:3393
Methodtest_disabled_declaration_is_not_marked
(self)
lib/crewai/tests/test_flow_conversation.py:3077
Functiontest_disabled_execution_does_not_collect_or_request_grants
( collector, monkeypatch, disabled_by )
lib/crewai/tests/telemetry/test_session_trace_export.py:752
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:1742
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:79
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:176
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:462
Methodtest_display_deployment_info
(self)
lib/cli/tests/deploy/test_deploy_main.py:414
Methodtest_display_deployment_info_warns_when_browser_open_raises
(self)
lib/cli/tests/deploy/test_deploy_main.py:446
Methodtest_display_deployment_info_warns_when_browser_open_returns_false
(self)
lib/cli/tests/deploy/test_deploy_main.py:430
Methodtest_display_logs
(self)
lib/cli/tests/deploy/test_deploy_main.py:507
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:845
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:816
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
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:41
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:833
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:307
Methodtest_does_not_support_gpt35
Test GPT-3.5 does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:196
Methodtest_does_not_support_gpt35
Test Azure GPT-3.5 does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:270
Methodtest_does_not_support_gpt_oss
Test Bedrock gpt-oss (no image input) does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:331
Functiontest_done_without_a_comparison_is_a_protocol_error
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2072
Functiontest_dont_set_agents_step_callback_if_already_set
()
lib/crewai/tests/test_crew.py:1601
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
Methodtest_duplicate_initialize_merges_execution_metadata
(self)
lib/crewai/tests/tracing/test_tracing.py:1544
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:475
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:1250
Functiontest_dynamic_router_string_listener_is_valid_contract
()
lib/crewai/tests/test_flow_definition.py:1264
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:2633
Functiontest_each_action_empty_list_returns_empty_and_listener_runs_once
()
lib/crewai/tests/test_flow_from_definition.py:2718
← previousnext →13,001–13,100 of 19,264, ranked by callers