MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Methodtest_dedicated_config_dir_is_owner_only
(self)
lib/cli/tests/test_config.py:179
Methodtest_deduplicates_equivalent_records
(self)
lib/crewai/tests/tools/test_tool_failure.py:1026
Methodtest_deduplicates_slugs
( self, mock_fetch, mock_client_class, agent, mock_tool_definitions )
lib/crewai/tests/mcp/test_amp_mcp.py:366
Methodtest_deepinfra_base_url_env_override
DEEPINFRA_BASE_URL redirects DeepInfra to a proxy or private endpoint.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:344
Methodtest_deepinfra_config
Test DeepInfra provider configuration.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:100
Methodtest_deepinfra_missing_api_key_names_env_var
DeepInfra requires a key; the error tells the user which env var to set.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:174
Methodtest_deepinfra_requires_an_org_and_a_model
DeepInfra references are exactly org/model: one slash, both parts present.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:410
Methodtest_deeply_nested_chain_triggered_by
Deeply nested listener chains (5+) should maintain correct triggered_by.
lib/crewai/tests/events/test_event_ordering.py:1376
Functiontest_deeply_nested_conditions
Test deeply nested AND/OR conditions to ensure proper evaluation.
lib/crewai/tests/test_flow.py:1555
Methodtest_deepseek_config
Test DeepSeek provider configuration.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:55
Functiontest_deepseek_r1_with_open_router
()
lib/crewai/tests/test_llm.py:586
Methodtest_default_agent_warns
No explicit policy anywhere still records the failure.
lib/crewai/tests/tools/test_tool_failure.py:400
Functiontest_default_anthropic_completion_uses_sonnet_4_6_context_window
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:126
Methodtest_default_api_is_completions
Default api should be 'completions' (existing behaviour).
lib/crewai/tests/llms/azure/test_azure_responses.py:83
Methodtest_default_api_key_for_optional_providers
Test default API key is used for providers that don't require it.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:201
Methodtest_default_async_not_implemented
Test that default async methods raise NotImplementedError.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:277
Functiontest_default_attributes
()
lib/crewai-tools/tests/tools/brave_search_tool_test.py:112
Functiontest_default_cache_function_is_true
()
lib/crewai-tools/tests/base_tool_test.py:91
Functiontest_default_cache_function_is_true
()
lib/crewai/tests/tools/test_base_tool.py:109
Functiontest_default_cache_function_restores_without_opt_in
()
lib/crewai/tests/tools/test_deserialization_guard.py:74
Functiontest_default_callable_is_chromadbs_function_when_installed
( module, provider, chroma_module, chroma_class )
lib/crewai/tests/rag/embeddings/test_chromadb_optional_providers.py:148
Methodtest_default_config
Test default configuration values.
lib/crewai-files/tests/test_resolver.py:26
Methodtest_default_config
Test default configuration values.
lib/crewai-tools/tests/rag/test_embedding_service.py:15
Functiontest_default_crew_name
(researcher, writer)
lib/crewai/tests/test_crew.py:5369
Methodtest_default_does_not_enrich
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:634
Functiontest_default_embedder_is_native_openai_function
(openai_mock)
lib/crewai/tests/memory/test_default_embedder.py:34
Functiontest_default_falls_back_to_sqlite
()
lib/crewai/tests/test_flow_persistence_factory.py:37
Functiontest_default_folder_gets_the_process_id_and_is_removed_at_exit
( tmp_path, monkeypatch )
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:150
Functiontest_default_header_still_comes_from_the_environment
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/tools/test_weaviate_tool.py:43
Functiontest_default_headers
()
lib/crewai-tools/tests/tools/brave_search_tool_test.py:139
Functiontest_default_identity_is_closed_by_tool
Verify the tool closes credentials it creates for OIDC authentication.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:378
Functiontest_default_initialization
(tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:30
Methodtest_default_lineage_fields
(self)
lib/crewai/tests/test_checkpoint.py:230
Functiontest_default_models_are_the_four_the_action_runs
()
lib/devtools/tests/test_agents_md_eval.py:276
Methodtest_default_outcome_must_be_in_emit
Test that default_outcome must be one of the emit values.
lib/crewai/tests/test_human_feedback_decorator.py:77
Methodtest_default_outcome_requires_emit
Test that specifying default_outcome without emit raises ValueError.
lib/crewai/tests/test_human_feedback_decorator.py:64
Methodtest_default_outcome_routes_correctly
Test that default_outcome routes when no feedback provided.
lib/crewai/tests/test_human_feedback_integration.py:65
Methodtest_default_packages_cover_all_workspace_members
Every workspace member must be in the default rewrite list. Without this, a version bump silently leaves stale pins behind for any wo
lib/devtools/tests/test_toml_updates.py:428
Functiontest_default_provider_is_qdrant
()
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:62
Functiontest_default_provider_is_qdrant_with_the_default_embedder
(created_config)
lib/crewai-tools/tests/tools/rag/test_rag_tool_default_provider.py:32
Methodtest_default_reason_is_tool_reported
(self)
lib/crewai/tests/tools/test_tool_failure.py:147
Methodtest_default_reexecutes_identical_tool_calls
EPD-180: with no opt-in, both identical calls must really execute.
lib/crewai/tests/test_tool_cache_default.py:149
Functiontest_default_target_uses_single_settings_snapshot
(mock_settings_class)
lib/crewai/tests/cli/test_plus_api.py:513
Methodtest_default_threshold_keeps_result_above_it
(self, cosine_client)
lib/crewai/tests/rag/qdrant/test_client.py:822
Functiontest_default_trust_remote_completion_status_is_false
Verify that default value of trust_remote_completion_status is False.
lib/crewai/tests/agents/test_a2a_trust_completion_status.py:147
Functiontest_default_unlimited_usage
Test that tools have unlimited usage by default.
lib/crewai/tests/tools/test_tool_usage_limit.py:61
Functiontest_default_uses_medium_complexity_model
Without a model, llm, or complexity level, the default (medium) is used.
lib/crewai-tools/tests/tools/test_vision_tool.py:70
Functiontest_default_uses_registered_factory
()
lib/crewai/tests/test_flow_persistence_factory.py:30
Functiontest_default_value_override
Test that persisted state values override class defaults.
lib/crewai/tests/test_flow_default_override.py:14
Methodtest_default_values
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:141
Methodtest_default_values
Test default values for OpenRouterProvider.
lib/crewai/tests/rag/embeddings/test_factory_openrouter.py:102
Functiontest_default_values_in_schema
Test handling of default values in schema
lib/crewai/tests/tools/test_structured_tool.py:303
Methodtest_default_version
AgentCard should have default version 1.0.0.
lib/crewai/tests/a2a/utils/test_agent_card.py:222
Functiontest_default_wizard_offers_no_gemini_model_new_accounts_cannot_use
With no key, `crewai create crew` shows the curated Gemini list, so it must hold only models a new account can call; the first is the default.
lib/cli/tests/test_constants.py:61
Methodtest_defaults
(self)
lib/crewai/tests/test_checkpoint.py:194
Functiontest_defaults_applied_through_run
overwrite/directory defaults come from the schema, not from _run kwargs.
lib/crewai-tools/tests/tools/test_file_writer_tool.py:132
Functiontest_defaults_satisfy_required_and_are_not_prompted
( tmp_path: Path, capsys: pytest.CaptureFixture[str], monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_run_declarative_flow.py:315
Methodtest_defaults_to_cli
(self, telemetry: tuple[Telemetry, MagicMock])
lib/crewai-core/tests/test_telemetry_deploy.py:48
Methodtest_defaults_to_cli_and_keeps_the_uuid
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:138
Methodtest_defaults_to_completions_for_unknown_models
Nothing is assumed up front; the 404 is what teaches us.
lib/crewai/tests/llms/openai/test_responses_only_models.py:173
Methodtest_defaults_to_cwd
When no base_dir is given, use cwd.
lib/crewai-tools/tests/utilities/test_safe_path.py:59
Methodtest_defaults_to_http
(self)
lib/crewai/tests/mcp/test_amp_mcp.py:81
Methodtest_defaults_to_none
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:50
Methodtest_defaults_to_warn
(self)
lib/crewai/tests/tools/test_tool_failure.py:175
Methodtest_defer_trace_finalization_follows_the_class_config
Deferral is a behavior knob, so it follows the same precedence. The class config and the declaration can disagree on the hybrid path;
lib/crewai/tests/test_flow_conversation.py:3223
Methodtest_defer_trace_finalization_skips_per_turn_finalize
``defer_trace_finalization = True`` suppresses per-turn ``finalize_batch``. Without deferral, each ``handle_turn()`` ends with a trace-batch
lib/crewai/tests/test_flow_conversation.py:1142
Methodtest_deferred_conversation_emits_one_flow_started
Deferred conversational sessions emit one flow_started for the session.
lib/crewai/tests/test_flow_conversation.py:1173
Methodtest_deferred_flow_kickoff_leaves_legacy_trace_manager_untouched
( self, )
lib/crewai/tests/test_flow_conversation.py:2044
Methodtest_deferred_init_uses_ephemeral_and_skip_context_check
Deferred backend init always uses ephemeral=True and skip_context_check=True.
lib/crewai/tests/tracing/test_tracing.py:1263
Methodtest_deferred_multi_turn_emits_single_flow_finished
A deferred multi-turn session lands as one trace: exactly one ``FlowFinishedEvent`` is emitted at ``finalize_session_traces()``, not o
lib/crewai/tests/test_flow_conversation.py:243
Methodtest_deferred_reader_result_is_not_deferred_again
(self)
lib/crewai/tests/agents/test_agent_executor.py:2579
Methodtest_deferred_reader_stays_callable_after_text_tool_downgrade
(self)
lib/crewai/tests/agents/test_agent_executor.py:2726
Methodtest_deferred_resume_skips_per_resume_flow_finished_event
Deferred sessions do not emit terminal events while resuming.
lib/crewai/tests/test_flow_conversation.py:1420
Methodtest_deferred_session_deny_at_execution_start_keeps_session_open
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:791
Functiontest_definition_config_equivalence
()
lib/crewai/tests/test_flow_from_definition.py:3574
Functiontest_definition_flow_events_use_definition_name
()
lib/crewai/tests/test_flow_from_definition.py:596
Functiontest_definition_human_feedback_equivalence
()
lib/crewai/tests/test_flow_from_definition.py:4067
Functiontest_definition_method_missing_from_class_fails_loudly
()
lib/crewai/tests/test_flow_from_definition.py:4649
Functiontest_definition_method_without_action_is_invalid
()
lib/crewai/tests/test_flow_from_definition.py:604
Functiontest_definition_must_contain_mapping
(data_project, extension)
lib/crewai/tests/project/test_agent_project.py:245
Functiontest_definition_persist_equivalence
()
lib/crewai/tests/test_flow_from_definition.py:3823
Methodtest_del_calls_disconnect
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:639
Functiontest_del_logs_cleanup_errors
(caplog)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1440
Functiontest_delegate_failure_is_not_hidden_by_splitting
(destination)
lib/crewai/tests/telemetry/test_grant_export_bounds.py:257
Methodtest_delegate_gets_the_azure_key
( self, explicit: str | None, env: dict[str, str] )
lib/crewai/tests/llms/test_missing_api_key.py:321
Methodtest_delegate_omits_unset_optional_params
Params left at defaults should not be passed to the delegate.
lib/crewai/tests/llms/azure/test_azure_responses.py:191
Methodtest_delegate_receives_model_and_api_key
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:145
Methodtest_delegate_receives_optional_params
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:157
Functiontest_delegate_work
()
lib/crewai/tests/tools/agent_tools/test_agent_tools.py:20
Functiontest_delegate_work_to_wrong_agent
()
lib/crewai/tests/tools/agent_tools/test_agent_tools.py:103
Functiontest_delegate_work_with_wrong_co_worker_variable
()
lib/crewai/tests/tools/agent_tools/test_agent_tools.py:34
Functiontest_delegate_work_withwith_coworker_as_array
()
lib/crewai/tests/tools/agent_tools/test_agent_tools.py:76
Functiontest_delegation_is_not_enabled_if_there_are_only_one_agent
()
lib/crewai/tests/test_crew.py:1731
Methodtest_delete_allowed_when_dml_enabled
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:89
Methodtest_delete_collection
Test that delete_collection deletes the collection.
lib/crewai/tests/rag/qdrant/test_client.py:607
Methodtest_delete_collection
Test that delete_collection calls the underlying client correctly.
lib/crewai/tests/rag/chromadb/test_client.py:597
Methodtest_delete_collection_not_exists
Test that delete_collection raises error if collection doesn't exist.
lib/crewai/tests/rag/qdrant/test_client.py:618
Methodtest_delete_collection_wrong_client_type
Test that delete_collection raises TypeError for async client.
lib/crewai/tests/rag/qdrant/test_client.py:630
Functiontest_delete_count
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:68
Methodtest_delete_crew_by_name
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:441
← previousnext →12,901–13,000 of 19,482, ranked by callers