MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Methodtest_detection_is_declarative_only
A string that merely looks like an error is not a failure.
lib/crewai/tests/tools/test_tool_failure.py:150
Functiontest_detection_works_from_crewai_core
The detectors resolve here, not only through the crewai re-export.
lib/crewai-core/tests/test_runtime_env.py:63
Functiontest_detects_every_marker_in_the_shared_table
Every marker must map to its assistant, including Codex/Cursor extras.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:107
Functiontest_detects_every_runtime_marker
Every runtime marker must map to its context.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:300
Methodtest_detects_responses_only_404
(self, message: str)
lib/crewai/tests/llms/openai/test_responses_only_models.py:65
Functiontest_deterministic_fingerprint_with_metadata
Test that deterministic fingerprints can include metadata.
lib/crewai/tests/security/test_deterministic_fingerprints.py:21
Functiontest_diamond_dependency_pattern
Test diamond pattern where two parallel paths converge at a final step.
lib/crewai/tests/test_flow.py:1298
Methodtest_dict_args_bypass_json_parsing
When func_args is already a dict, no JSON parsing occurs.
lib/crewai/tests/agents/test_native_tool_calling.py:1293
Methodtest_dict_input_returned_directly
(self)
lib/crewai/tests/utilities/test_agent_utils.py:883
Methodtest_dict_output_reaches_the_reviewer_unchanged
(self)
lib/crewai/tests/test_human_feedback_decorator.py:964
Methodtest_dict_passthrough
(self)
lib/crewai/tests/test_checkpoint.py:385
Methodtest_dict_round_trips_as_dict
(self)
lib/crewai/tests/test_checkpoint.py:392
Methodtest_dict_shape
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:434
Functiontest_dict_state_is_a_copy_of_default_plus_id
()
lib/crewai/tests/test_flow_from_definition.py:3395
Methodtest_dict_state_is_given_the_real_shape
A dict cannot carry the fields, so supply them rather than die.
lib/crewai/tests/test_flow_conversation.py:2843
Methodtest_dict_state_keeps_declared_defaults_it_does_not_own
Dropping them would break an action reading `state.topic`.
lib/crewai/tests/test_flow_conversation.py:2850
Methodtest_dict_unpacking
Test that files support ** unpacking syntax.
lib/crewai/tests/utilities/test_files.py:231
Methodtest_dict_unpacking_no_filename
Test dict unpacking with bytes (no filename).
lib/crewai/tests/utilities/test_files.py:244
Methodtest_dict_without_nested_shapes_is_returned_unchanged
(self)
lib/crewai/tests/events/test_llm_usage_event.py:63
Functiontest_dictionary_key_serialization
(key, value, expected_key_type)
lib/crewai/tests/utilities/test_serialization.py:75
Methodtest_diff_input_change
(self, capsys: pytest.CaptureFixture[str])
lib/crewai/tests/test_checkpoint_cli.py:317
Methodtest_diff_not_found
(self, capsys: pytest.CaptureFixture[str])
lib/crewai/tests/test_checkpoint_cli.py:310
Methodtest_diff_shows_output_change
(self, capsys: pytest.CaptureFixture[str])
lib/crewai/tests/test_checkpoint_cli.py:291
Methodtest_diff_shows_status_change
(self, capsys: pytest.CaptureFixture[str])
lib/crewai/tests/test_checkpoint_cli.py:277
Functiontest_different_api_key_uses_separate_cache_entry
(monkeypatch)
lib/cli/tests/test_model_catalog.py:564
Methodtest_different_parallel_calls_in_one_step_do_not_count
(self)
lib/crewai/tests/tools/test_tool_failure.py:2144
Functiontest_different_spellings_of_a_path_share_one_client
(tmp_path, monkeypatch)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:32
Methodtest_digit_leading_stdio_server_tool_name_passes_provider_validation
( self, mock_client_class, resolver )
lib/crewai/tests/mcp/test_tool_resolver_native.py:152
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: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: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
← previousnext →13,101–13,200 of 19,482, ranked by callers