Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,757 in github.com/crewAIInc/crewAI
⨍
Functions
20,757
◇
Types & classes
3,596
↳
Endpoints
1,012
Method
test_datatype_file_enum_with_nonexistent_file_raises_error
Test data_type=DataType.FILE raises FileNotFoundError for missing files.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:209
Method
test_datatype_pdf_file_enum
Test data_type=DataType.PDF_FILE with existing file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:216
Method
test_datatype_text_enum
Test data_type=DataType.TEXT with raw text.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:252
Method
test_datatype_text_file_enum
Test data_type=DataType.TEXT_FILE with existing file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:240
Method
test_date_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:211
Method
test_datetime_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:223
Method
test_day_first_slash_dates_in_a_comma_file_read_day_first
Comma files once always read slash dates month-first, so 25/12 failed.
lib/crewai-files/tests/spreadsheets/test_reading.py:548
Method
test_days
(self)
lib/crewai/tests/test_checkpoint_cli.py:129
Method
test_declaration_drives_deferred_trace_finalization
(self)
lib/crewai/tests/test_flow_conversation.py:2529
Method
test_declaration_enables_conversational_mode
(self)
lib/crewai/tests/test_flow_conversation.py:2486
Method
test_declaration_marks_the_instance_conversational
(self)
lib/crewai/tests/test_flow_conversation.py:3059
Method
test_declaration_orders_the_router_last_and_sequentially
(self)
lib/crewai/tests/test_flow_conversation.py:2540
Method
test_declaration_runs_a_turn_and_accumulates_history
(self)
lib/crewai/tests/test_flow_conversation.py:2511
Method
test_declaration_with_enabled_false_stays_non_conversational
(self)
lib/crewai/tests/test_flow_conversation.py:2491
Function
test_declarative_agent_action_saves_artifact
(tmp_path, monkeypatch)
lib/crewai/tests/test_artifacts.py:481
Function
test_declarative_agent_artifact_file_path_uses_flow_expressions
(tmp_path, monkeypatch)
lib/crewai/tests/test_artifacts.py:607
Function
test_declarative_agent_reads_artifacts_as_input_files
(store)
lib/crewai/tests/test_artifacts.py:1059
Function
test_declarative_agent_validation_does_not_execute_python
(project, import_probe, reference)
lib/cli/tests/deploy/test_agent_import_security.py:110
Function
test_declarative_agent_validation_reports_missing_tools
(project, import_probe)
lib/cli/tests/deploy/test_agent_import_security.py:142
Function
test_declarative_artifact_input_is_validated_when_loaded
(reference)
lib/crewai/tests/test_artifacts.py:1088
Function
test_declarative_artifact_input_that_is_missing_fails_the_step
(store)
lib/crewai/tests/test_artifacts.py:1076
Function
test_declarative_file_path_from_state_cannot_escape
(tmp_path, monkeypatch)
lib/crewai/tests/test_artifacts.py:698
Function
test_declarative_flow_runs_on_tui
End-to-end: on_mount dispatches _run_flow_worker → flow.kickoff → _on_crew_done, and any still-active step is swept to done on completion.
lib/cli/tests/test_crew_run_tui.py:2561
Function
test_declarative_trace_scope_and_class_precedence
()
lib/crewai/tests/test_flow_conversation.py:3790
Method
test_declared_builtin_routes_are_not_mistaken_for_custom_ones
A declaration adding a builtin route must not auto-enable the router. ``route_turn`` used to subtract the class attribute while ``_ef
lib/crewai/tests/test_flow_conversation.py:3123
Function
test_declared_content_type_wins_over_the_body_bytes
A usable header is still authoritative; the sniff never overrides it.
lib/crewai-tools/tests/url_read_tool_test.py:578
Method
test_declared_description_reaches_the_catalog
(self)
lib/crewai/tests/test_flow_conversation.py:3447
Function
test_declared_file_is_reachable_the_way_an_agent_calls_it
The label in the description must resolve to the declared file. The description only shows a redacted label, so that label is all the model h
lib/crewai-tools/tests/file_read_tool_test.py:236
Function
test_declared_path_survives_a_serialization_round_trip
model_dump drops private attrs, so the pin must be rebuilt on restore.
lib/crewai-tools/tests/file_read_tool_test.py:324
Function
test_declared_relative_path_survives_chdir
The declared file is pinned at construction, not re-resolved per call.
lib/crewai-tools/tests/file_read_tool_test.py:265
Method
test_declared_route_labels_reach_the_router_catalog
(self)
lib/crewai/tests/test_flow_conversation.py:2498
Method
test_declared_sizes_over_the_cap_are_refused_unread
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:175
Method
test_declared_state_still_runs_a_turn
(self)
lib/crewai/tests/test_flow_conversation.py:2874
Method
test_declared_state_survives_on_both_paths
(self)
lib/crewai/tests/test_flow_conversation.py:3161
Function
test_declaring_the_conversational_block_opts_in_without_enabled
()
lib/crewai/tests/test_flow_definition.py:490
Function
test_declining_the_branch_reset_restores_the_catalog
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, calls: list[list[str]] )
lib/devtools/tests/test_release_catalog_phase.py:58
Function
test_decode_error_names_the_encoding
(tmp_path, monkeypatch)
lib/crewai-tools/tests/file_read_tool_test.py:439
Method
test_decorated_hook_executes_correctly
Test that decorated hook executes and modifies behavior.
lib/crewai/tests/hooks/test_decorators.py:72
Method
test_decorator_alone_defers_trace_finalization
(self)
lib/crewai/tests/test_flow_conversation.py:2323
Method
test_decorator_alone_enables_conversational_mode
(self)
lib/crewai/tests/test_flow_conversation.py:2281
Method
test_decorator_alone_registers_the_builtin_methods
(self)
lib/crewai/tests/test_flow_conversation.py:2295
Method
test_decorator_alone_runs_a_turn
(self)
lib/crewai/tests/test_flow_conversation.py:2308
Method
test_decorator_and_manual_registration_work_together
Test that decorators and manual registration can be mixed.
lib/crewai/tests/hooks/test_decorators.py:335
Method
test_decorator_does_not_leak_the_flag_onto_other_flows
(self)
lib/crewai/tests/test_flow_conversation.py:2352
Method
test_decorator_preserves_function_name
Test that @on_signal preserves function metadata.
lib/crewai/tests/events/types/test_system_events.py:167
Method
test_decorator_registers_for_all_signals
Test that @on_signal registers handler for all signal event types.
lib/crewai/tests/events/types/test_system_events.py:132
Method
test_decorator_returns_original_function
Test that @on_signal returns the original function.
lib/crewai/tests/events/types/test_system_events.py:158
Method
test_decorator_tool_does_not_infer_non_pydantic_return_annotation
( self, )
lib/crewai/tests/tools/test_base_tool.py:521
Method
test_decorator_tool_positional_args_still_work
Positional args to decorator tools should bypass validation.
lib/crewai/tests/tools/test_base_tool.py:356
Method
test_decorator_tool_run_rejects_missing_required
Decorator tools should reject missing required args via validation.
lib/crewai/tests/tools/test_base_tool.py:346
Method
test_decorator_tool_run_validates_kwargs
Decorator-created tools should also validate kwargs against schema.
lib/crewai/tests/tools/test_base_tool.py:336
Method
test_decorator_tools_return_raw_result_and_json_agent_text
( self, make_tool: Callable[[], BaseTool], expected_raw: object, expected_agen
lib/crewai/tests/tools/test_base_tool.py:506
Method
test_decorator_with_provider_parameter
Test that decorator accepts provider parameter.
lib/crewai/tests/test_async_human_feedback.py:879
Method
test_dedicated_config_dir_is_owner_only
(self)
lib/cli/tests/test_config.py:179
Method
test_deduplicates_equivalent_records
(self)
lib/crewai/tests/tools/test_tool_failure.py:1026
Method
test_deduplicates_slugs
( self, mock_fetch, mock_client_class, agent, mock_tool_definitions )
lib/crewai/tests/mcp/test_amp_mcp.py:366
Method
test_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
Method
test_deepinfra_config
Test DeepInfra provider configuration.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:100
Method
test_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
Method
test_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
Method
test_deeply_nested_chain_triggered_by
Deeply nested listener chains (5+) should maintain correct triggered_by.
lib/crewai/tests/events/test_event_ordering.py:1376
Function
test_deeply_nested_conditions
Test deeply nested AND/OR conditions to ensure proper evaluation.
lib/crewai/tests/test_flow.py:1556
Method
test_deepseek_config
Test DeepSeek provider configuration.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:55
Function
test_deepseek_r1_with_open_router
()
lib/crewai/tests/test_llm.py:586
Method
test_default_agent_warns
No explicit policy anywhere still records the failure.
lib/crewai/tests/tools/test_tool_failure.py:400
Function
test_default_anthropic_completion_uses_sonnet_4_6_context_window
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:126
Method
test_default_api_is_completions
Default api should be 'completions' (existing behaviour).
lib/crewai/tests/llms/azure/test_azure_responses.py:83
Method
test_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
Method
test_default_async_not_implemented
Test that default async methods raise NotImplementedError.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:277
Function
test_default_attributes
()
lib/crewai-tools/tests/tools/brave_search_tool_test.py:112
Function
test_default_cache_function_is_true
()
lib/crewai-tools/tests/base_tool_test.py:91
Function
test_default_cache_function_is_true
()
lib/crewai/tests/tools/test_base_tool.py:109
Function
test_default_cache_function_restores_without_opt_in
()
lib/crewai/tests/tools/test_deserialization_guard.py:74
Function
test_default_callable_is_chromadbs_function_when_installed
( module, provider, chroma_module, chroma_class )
lib/crewai/tests/rag/embeddings/test_chromadb_optional_providers.py:148
Method
test_default_config
Test default configuration values.
lib/crewai-files/tests/test_resolver.py:30
Method
test_default_config
Test default configuration values.
lib/crewai-tools/tests/rag/test_embedding_service.py:15
Function
test_default_crew_name
(researcher, writer)
lib/crewai/tests/test_crew.py:5369
Method
test_default_does_not_enrich
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:748
Function
test_default_embedder_is_native_openai_function
(openai_mock)
lib/crewai/tests/memory/test_default_embedder.py:34
Function
test_default_falls_back_to_sqlite
()
lib/crewai/tests/test_flow_persistence_factory.py:37
Function
test_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
Function
test_default_header_still_comes_from_the_environment
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/tools/test_weaviate_tool.py:43
Function
test_default_headers
()
lib/crewai-tools/tests/tools/brave_search_tool_test.py:139
Function
test_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
Function
test_default_initialization
(tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:30
Method
test_default_lineage_fields
(self)
lib/crewai/tests/test_checkpoint.py:230
Function
test_default_models_are_the_four_the_action_runs
()
lib/devtools/tests/test_agents_md_eval.py:276
Method
test_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:78
Method
test_default_outcome_requires_emit
Test that specifying default_outcome without emit raises ValueError.
lib/crewai/tests/test_human_feedback_decorator.py:65
Method
test_default_outcome_routes_correctly
Test that default_outcome routes when no feedback provided.
lib/crewai/tests/test_human_feedback_integration.py:65
Method
test_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
Function
test_default_provider_is_qdrant
()
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:62
Function
test_default_provider_is_qdrant_with_the_default_embedder
(created_config)
lib/crewai-tools/tests/tools/rag/test_rag_tool_default_provider.py:32
Method
test_default_reason_is_tool_reported
(self)
lib/crewai/tests/tools/test_tool_failure.py:147
Method
test_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
Function
test_default_target_uses_single_settings_snapshot
(mock_settings_class)
lib/crewai/tests/cli/test_plus_api.py:513
Method
test_default_threshold_keeps_result_above_it
(self, cosine_client)
lib/crewai/tests/rag/qdrant/test_client.py:822
Function
test_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
Function
test_default_unlimited_usage
Test that tools have unlimited usage by default.
lib/crewai/tests/tools/test_tool_usage_limit.py:61
Function
test_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
← previous
next →
13,701–13,800 of 20,757, ranked by callers