Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,264 in github.com/crewAIInc/crewAI
⨍
Functions
19,264
◇
Types & classes
3,413
↳
Endpoints
990
Function
test_dimension_mismatch_error_handling
Test specific handling of dimension mismatch errors.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:185
Function
test_dimensions_only_sent_for_text_embedding_3
(openai_mock, model_name, sent)
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:81
Function
test_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
Method
test_direct_llm_call_hooks_integration
Test that hooks work for direct llm.call() without agents.
lib/crewai/tests/hooks/test_llm_hooks.py:527
Function
test_direct_llm_stream_events_scope_and_restore_stream_flag
()
lib/crewai/tests/test_stream_frames.py:194
Function
test_direct_run_rejects_invalid_limit
(limit, caplog)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:715
Function
test_directory_creation
(tool, temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:56
Method
test_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
Method
test_directory_does_not_exist
(self)
lib/crewai-tools/tests/rag/test_directory_loader.py:96
Method
test_directory_name_mismatch
(self, tmp_path: Path)
lib/crewai/tests/skills/test_parser.py:107
Method
test_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
Method
test_directory_path_keyword
Test directory_path keyword argument.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:376
Function
test_directory_search_tool
()
lib/crewai-tools/tests/tools/test_search_tools.py:42
Method
test_directory_string
Test data_type='directory' with existing directory.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:181
Function
test_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
Method
test_disabled_block_synthesizes_nothing
(self)
lib/crewai/tests/test_flow_conversation.py:3393
Method
test_disabled_declaration_is_not_marked
(self)
lib/crewai/tests/test_flow_conversation.py:3077
Function
test_disabled_execution_does_not_collect_or_request_grants
( collector, monkeypatch, disabled_by )
lib/crewai/tests/telemetry/test_session_trace_export.py:752
Function
test_disabled_memory
With memory=False, crew has no _memory and kickoff runs without memory.
lib/crewai/tests/test_crew.py:2712
Method
test_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
Function
test_disabling_cache_for_agent
()
lib/crewai/tests/agents/test_agent.py:267
Function
test_disabling_compaction_sends_original_request_and_propagates_error
()
lib/crewai/tests/test_flow_context_compaction.py:207
Function
test_disabling_deferred_trace_discards_without_consent
( traces, monkeypatch, disabled, finalize_only )
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:79
Method
test_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
Method
test_disconnect_called_after_successful_run
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:518
Method
test_disconnect_called_on_unexpected_error
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:528
Method
test_disconnect_is_safe_when_already_disconnected
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:634
Function
test_disconnect_preserves_authentication_error_from_teardown
()
lib/crewai/tests/mcp/test_client_connect_auth.py:200
Method
test_disconnect_resets_all_handles
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:622
Method
test_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
Method
test_discover_and_activate
(self, tmp_path: Path)
lib/crewai/tests/skills/test_integration.py:31
Method
test_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
Function
test_discovers_one_root_agent_definition
(tmp_path: Path, suffix: str)
lib/crewai-core/tests/test_agent_project_entrypoint.py:16
Method
test_display_auth_instructions
(self, mock_console_print, mock_webbrowser)
lib/cli/tests/authentication/test_auth_main.py:114
Method
test_display_creation_success_resolves_deployment_page_id_from_status
(self)
lib/cli/tests/deploy/test_deploy_main.py:462
Method
test_display_deployment_info
(self)
lib/cli/tests/deploy/test_deploy_main.py:414
Method
test_display_deployment_info_warns_when_browser_open_raises
(self)
lib/cli/tests/deploy/test_deploy_main.py:446
Method
test_display_deployment_info_warns_when_browser_open_returns_false
(self)
lib/cli/tests/deploy/test_deploy_main.py:430
Method
test_display_logs
(self)
lib/cli/tests/deploy/test_deploy_main.py:507
Method
test_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
Method
test_dml_actually_persists
End-to-end: INSERT commits when allow_dml=True.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:97
Method
test_dml_write_blocked_without_env_var
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:234
Function
test_dmn_mode_prints_the_url_but_opens_no_browser
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:816
Function
test_do_not_allow_crewai_trigger_context_for_first_task_hierarchical
()
lib/crewai/tests/agents/test_agent.py:1030
Function
test_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
Method
test_doc_id_consistency
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:85
Method
test_doc_id_consistency
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:136
Method
test_doc_id_consistency
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:136
Method
test_doc_id_is_deterministic
(self, temp_csv_file)
lib/crewai-tools/tests/rag/test_csv_loader.py:79
Method
test_doc_id_uniqueness
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:190
Function
test_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
Function
test_docling_source
(mock_vector_db)
lib/crewai/tests/knowledge/test_knowledge.py:513
Function
test_documented_positional_signature
The documented (filename, content, directory) call order must work.
lib/crewai-tools/tests/tools/test_file_writer_tool.py:122
Method
test_docx_doc_id_generation
(self, mock_docx_class)
lib/crewai-tools/tests/rag/test_docx_loader.py:142
Method
test_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
Function
test_docx_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:90
Function
test_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
Function
test_docx_search_tool_schema
DOCXSearchToolSchema should require both docx and search_query.
lib/crewai-tools/tests/tools/test_docx_search_tool.py:23
Method
test_does_not_affect_non_objects
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:833
Method
test_does_not_allow_private_ip_literal
(self, monkeypatch)
lib/crewai-tools/tests/utilities/test_safe_path.py:248
Method
test_does_not_alter_core_token_counts
(self)
lib/crewai/tests/events/test_llm_usage_event.py:123
Method
test_does_not_emit_a_feature_count
deploy:created is already counted by the attempt span.
lib/crewai-core/tests/test_telemetry_deploy.py:217
Method
test_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
Method
test_does_not_match_wildcards_or_other_hosts
(self, monkeypatch, entry)
lib/crewai-tools/tests/utilities/test_safe_path.py:203
Method
test_does_not_retry_an_unrelated_400
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:260
Method
test_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
Method
test_does_not_retry_forever
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:324
Method
test_does_not_retry_genuine_unknown_model
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_responses_only_models.py:102
Method
test_does_not_support_claude2
Test Bedrock Claude 2 does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:307
Method
test_does_not_support_gpt35
Test GPT-3.5 does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:196
Method
test_does_not_support_gpt35
Test Azure GPT-3.5 does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:270
Method
test_does_not_support_gpt_oss
Test Bedrock gpt-oss (no image input) does not support multimodal.
lib/crewai/tests/llms/test_multimodal.py:331
Function
test_done_without_a_comparison_is_a_protocol_error
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2072
Function
test_dont_set_agents_step_callback_if_already_set
()
lib/crewai/tests/test_crew.py:1601
Method
test_double_slashes_collapsed
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:72
Function
test_download_pdf_oserror
(mock_urlretrieve)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:55
Function
test_download_pdf_success
(mock_urlretrieve)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:48
Method
test_downloads_and_caches_uncached_skill_in_noninteractive_environment
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:219
Function
test_downloads_are_bounded_by_one_deadline_for_the_run
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1065
Method
test_downloads_when_a_project_local_skill_declares_another_version
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:336
Function
test_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
Function
test_draw_multi_renders_only_the_visible_window
(monkeypatch)
lib/cli/tests/test_tui_picker.py:48
Function
test_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
Method
test_drop_allowed_when_dml_enabled
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:93
Function
test_dropped_allows_up_to_the_max_drop
(base, head, fails)
lib/devtools/tests/test_agents_md_eval.py:96
Method
test_drops_the_version_pin
(self)
lib/crewai/tests/skills/test_registry.py:143
Method
test_dry_run_json
(self, capsys: pytest.CaptureFixture[str])
lib/crewai/tests/test_checkpoint_cli.py:432
Function
test_dual_shard_search
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:214
Method
test_dump_new_settings
(self)
lib/cli/tests/test_config.py:99
Method
test_dump_new_settings
(self)
lib/crewai/tests/cli/test_config.py:96
Method
test_dump_writes_owner_only_file
(self)
lib/cli/tests/test_config.py:164
Method
test_duplicate_initialize_merges_execution_metadata
(self)
lib/crewai/tests/tracing/test_tracing.py:1544
Function
test_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
Function
test_dynamic_cache_expires_after_catalog_ttl
(monkeypatch)
lib/cli/tests/test_model_catalog.py:588
Function
test_dynamic_router_flow_definition_allows_dynamic_emit
()
lib/crewai/tests/test_flow_definition.py:1250
Function
test_dynamic_router_string_listener_is_valid_contract
()
lib/crewai/tests/test_flow_definition.py:1264
Function
test_dynamic_versioning_consistency
Test that dynamic versioning provides consistent version across all access methods.
lib/cli/tests/test_version.py:26
Function
test_dynamic_versioning_consistency
Test that dynamic versioning provides consistent version across all access methods.
lib/crewai/tests/cli/test_version.py:23
Function
test_each_action_accepts_expression_markers_in_explicit_cel_fields
()
lib/crewai/tests/test_flow_from_definition.py:2633
Function
test_each_action_empty_list_returns_empty_and_listener_runs_once
()
lib/crewai/tests/test_flow_from_definition.py:2718
← previous
next →
13,001–13,100 of 19,264, ranked by callers