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
Function
test_crewai_pins_every_workspace_sibling_to_its_own_version
()
lib/devtools/tests/test_toml_updates.py:641
Method
test_crewai_platform_tools_api_error_handling
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:146
Method
test_crewai_platform_tools_basic
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:12
Method
test_crewai_platform_tools_empty_apps
(self)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:128
Method
test_crewai_platform_tools_multiple_apps
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:26
Method
test_crewai_platform_tools_no_token
(self)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:152
Function
test_crewai_run_inputs_kick_off_the_scaffolded_flow
( scaffolded_flow_main: ModuleType, tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:732
Function
test_crewai_run_inputs_reach_a_flow_whose_kickoff_ignores_them
A project whose `kickoff()` was written before `--inputs` reached Python flows: the flow class is kicked off directly, as AMP does, so the inputs
lib/cli/tests/test_create_flow.py:743
Function
test_crewai_tools_imports_without_the_sdk
()
lib/crewai-tools/tests/tools/test_jev_decision_tool_optional_sdk.py:32
Function
test_crewais_own_agent_executor_is_tagged_internal
The agent executor is a Flow and runs once per agent execution. Without an origin tag it is indistinguishable from a user's flows in the dail
lib/crewai/tests/telemetry/test_flow_telemetry.py:509
Function
test_crewais_trace_provider_records_with_the_sdk_switched_off
Pins the SDK detail the provider relies on (its private `_disabled`).
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:346
Method
test_crlf_frontmatter_and_body
(self)
lib/crewai/tests/skills/test_parser.py:28
Function
test_crlf_line_endings_are_preserved
read_text/write_text would silently rewrite the whole file as LF.
lib/crewai/tests/telemetry/test_project_id.py:252
Method
test_csv_file_not_found_raises_error
Test that non-existent CSV file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:306
Function
test_csv_knowledge_source
Test CSVKnowledgeSource with a simple CSV file.
lib/crewai/tests/knowledge/test_knowledge.py:420
Method
test_csv_loader_handles_http_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_csv_loader.py:124
Method
test_csv_loader_handles_network_errors
(self, mock_get)
lib/crewai-tools/tests/rag/test_csv_loader.py:116
Function
test_csv_preserves_quoted_newlines
( newline: str, source_kind: str, tmp_path: Path )
lib/crewai-tools/tests/rag/test_csv_loader_newlines.py:41
Function
test_csv_record_newlines
( newline: str, source_kind: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai-tools/tests/rag/test_csv_loader_newlines.py:11
Function
test_csv_search_tool
()
lib/crewai-tools/tests/tools/test_search_tools.py:140
Method
test_csv_string
Test data_type='csv' with existing CSV file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:135
Method
test_cte_string_paren_does_not_bypass
Parens inside string literals should not confuse the paren walker.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:532
Method
test_cte_string_paren_read_only_allowed
Read-only CTE with string literal parens should be allowed.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:540
Method
test_cte_with_comment_column_not_false_positive
Column named 'comment' should NOT trigger writable CTE detection.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:324
Method
test_cte_with_newline_before_paren_blocked
AS followed by newline then ( should still detect writable CTE.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:355
Method
test_cte_with_set_column_not_false_positive
Column named 'set' should NOT trigger writable CTE detection.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:332
Method
test_cte_with_tab_before_paren_blocked
AS followed by tab then ( should still detect writable CTE.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:363
Method
test_cte_with_write_main_query_allowed_with_dml
Main query write after CTE should pass when allow_dml=True.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:348
Method
test_cte_with_write_main_query_blocked
WITH cte AS (SELECT 1) DELETE FROM users — main query must be caught.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:340
Function
test_ctrl_c_at_the_organization_picker_is_still_a_finished_login
The token is saved before the picker: quitting it did not lose the login.
lib/cli/tests/authentication/test_login_usage.py:264
Function
test_ctrl_c_at_the_organization_picker_is_still_a_finished_login
The token is saved before the picker: quitting it did not lose the login.
lib/crewai/tests/cli/authentication/test_login_usage.py:264
Function
test_ctrl_c_leaves_the_evaluation_running_and_exits_130
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:828
Method
test_cumulative_usage_via_add_usage_metrics
(self)
lib/crewai/tests/events/test_llm_usage_event.py:401
Function
test_curated_fallback_preferred_over_litellm
(monkeypatch)
lib/cli/tests/test_model_catalog.py:441
Function
test_curated_label_overrides_raw_vendor_label
(monkeypatch)
lib/cli/tests/test_model_catalog.py:347
Function
test_current_1m_anthropic_models_use_1m_context_window
(model: str)
lib/crewai/tests/llms/anthropic/test_anthropic.py:146
Function
test_current_claude_models_route_to_anthropic
Current Claude models are in the constants list and use the Anthropic SDK.
lib/crewai/tests/test_llm.py:1166
Function
test_current_method_clears_and_falls_back_across_overlap
()
lib/cli/tests/test_crew_run_tui.py:2450
Method
test_current_organization_with_org
(self, mock_settings_class, mock_console)
lib/cli/tests/organization/test_main.py:177
Method
test_current_organization_without_org
(self, mock_settings_class, mock_console)
lib/cli/tests/organization/test_main.py:192
Function
test_current_state_is_read_when_the_tool_runs
(db)
lib/crewai/tests/agents/test_agent_state.py:677
Function
test_current_state_outside_a_turn_raises
()
lib/crewai/tests/agents/test_agent_state.py:718
Function
test_current_state_raises_in_a_tool_of_an_agent_without_state
()
lib/crewai/tests/agents/test_agent_state.py:727
Function
test_current_state_reaches_tools_in_other_threads_with_hidden_fields
(db)
lib/crewai/tests/agents/test_agent_state.py:664
Method
test_current_todo_property
Test current_todo returns the running item.
lib/crewai/tests/utilities/test_planning_types.py:180
Method
test_current_todo_returns_none_when_no_running
Test current_todo returns None when no running items.
lib/crewai/tests/utilities/test_planning_types.py:187
Method
test_custom_agent_output_formatter_carries_over_to_structured_tool
( self, )
lib/crewai/tests/tools/test_base_tool.py:599
Method
test_custom_agent_output_formatter_is_used_from_structured_tool
( self, )
lib/crewai/tests/utilities/test_agent_utils.py:1042
Method
test_custom_agents_dir
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:921
Method
test_custom_and_default_headers
(self, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:94
Method
test_custom_and_default_headers
(self, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:94
Function
test_custom_backend_is_used
()
lib/crewai/tests/utilities/test_lock_store.py:82
Function
test_custom_base_llm_honors_explicit_context_window_size
()
lib/crewai/tests/llms/test_context_window.py:536
Method
test_custom_base_url
(self, mock_settings_class)
lib/cli/tests/test_plus_api.py:501
Method
test_custom_base_url
(self, mock_settings_class)
lib/crewai/tests/cli/test_plus_api.py:385
Method
test_custom_base_url_from_env
(self)
lib/cli/tests/test_plus_api.py:512
Method
test_custom_base_url_from_env
(self)
lib/crewai/tests/cli/test_plus_api.py:396
Function
test_custom_base_url_from_environment
(custom_url_tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:36
Function
test_custom_base_url_usage
(mock_post, custom_url_tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:118
Function
test_custom_cache_function_requires_opt_in
()
lib/crewai/tests/tools/test_deserialization_guard.py:83
Method
test_custom_config
Test custom configuration values.
lib/crewai-files/tests/test_resolver.py:38
Method
test_custom_config
Test custom configuration values.
lib/crewai-tools/tests/rag/test_embedding_service.py:27
Function
test_custom_constructor_args
()
lib/crewai-tools/tests/tools/brave_search_tool_test.py:121
Function
test_custom_converter_cls
()
lib/crewai/tests/test_task.py:811
Function
test_custom_embedding_does_not_declare_openai_key_required
(monkeypatch)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1503
Method
test_custom_endpoint_never_falls_back
An OpenAI-compatible server may not implement /v1/responses at all. Most (vLLM, LiteLLM proxies, Ollama) don't, so a self-hosted model must
lib/crewai/tests/llms/openai/test_responses_only_models.py:123
Method
test_custom_headers
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:131
Function
test_custom_headers_are_merged_over_defaults
Caller headers win, but the default User-Agent survives.
lib/crewai-tools/tests/url_read_tool_test.py:352
Method
test_custom_headers_merged_with_defaults
Test custom headers are merged with provider defaults.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:254
Method
test_custom_listen_return_emits_one_user_and_one_assistant_message_event
( self, tmp_path: Any )
lib/crewai/tests/test_flow_conversation.py:1687
Method
test_custom_listen_return_persists_across_fresh_instances
( self, tmp_path: Any )
lib/crewai/tests/test_flow_conversation.py:1622
Function
test_custom_llm
()
lib/crewai/tests/agents/test_agent.py:195
Function
test_custom_llm_implementation
Test that a custom LLM implementation works with create_llm.
lib/crewai/tests/test_custom_llm.py:84
Function
test_custom_llm_message_formatting
Test that the custom LLM properly formats messages
lib/crewai/tests/test_custom_llm.py:129
Function
test_custom_llm_with_jwt_auth
Test a custom LLM implementation with JWT authentication.
lib/crewai/tests/test_custom_llm.py:218
Function
test_custom_llm_within_crew
Test that a custom LLM implementation works with create_llm.
lib/crewai/tests/test_custom_llm.py:100
Function
test_custom_max_seconds
(mock_sleep)
lib/crewai-tools/tests/tools/wait_tool_test.py:34
Function
test_custom_openai_config_preserves_resolved_endpoint
Serialized custom OpenAI configs can reconstruct the same endpoint.
lib/crewai/tests/llms/openai/test_openai.py:176
Function
test_custom_openai_flag_requires_custom_base_url
Avoid routing arbitrary custom model ids to api.openai.com by mistake.
lib/crewai/tests/llms/openai/test_openai.py:83
Function
test_custom_openai_flag_strips_openai_routing_prefix
The openai/ routing prefix is not part of the gateway's model id.
lib/crewai/tests/llms/openai/test_openai.py:104
Function
test_custom_openai_flag_uses_native_openai_without_provider_prefix
Custom OpenAI-compatible endpoints can serve arbitrary model ids.
lib/crewai/tests/llms/openai/test_openai.py:40
Method
test_custom_provider_satisfies_protocol
A class with request_input satisfies the InputProvider protocol.
lib/crewai/tests/test_flow_ask.py:911
Method
test_custom_route_still_runs_with_builtin_routes
(self)
lib/crewai/tests/test_flow_conversation.py:987
Method
test_custom_tool_resolves
(self, tmp_path, monkeypatch)
lib/crewai/tests/project/test_json_loader.py:787
Method
test_custom_tool_without_basetool_subclass_raises
(self, tmp_path, monkeypatch)
lib/crewai/tests/project/test_json_loader.py:776
Method
test_custom_values
Test custom configuration values.
lib/crewai/tests/rag/embeddings/test_factory_openrouter.py:112
Function
test_cyclic_flow
Test a cyclic flow that runs a finite number of iterations.
lib/crewai/tests/test_flow.py:74
Function
test_cyclic_flow_multiple_or_listeners_fire_every_iteration
Test that multiple or_() listeners all reset between cycle iterations. Mirrors a real-world pattern: a router classifies messages, handlers proce
lib/crewai/tests/test_flow.py:2091
Function
test_cyclic_flow_or_listeners_fire_every_iteration
Test that or_() listeners reset between cycle iterations through a router. Regression test for a bug where _fired_or_listeners was not cleared wh
lib/crewai/tests/test_flow.py:2021
Function
test_cyclic_flow_parity
()
lib/crewai/tests/test_flow_from_definition.py:590
Function
test_cyclic_flow_re_executes_on_each_iteration
Test that cyclic flows properly re-execute methods on each iteration.
lib/crewai/tests/test_flow_resumability_regression.py:56
Function
test_cyclic_flow_with_conditional_start
Test that cyclic flows work properly with conditional start methods.
lib/crewai/tests/test_flow_resumability_regression.py:135
Function
test_cyclic_flow_works_with_persist_and_id_input
Cyclic router flows must complete all iterations when persistence is enabled and 'id' is passed in inputs. Regression test: passing ``inputs=
lib/crewai/tests/test_flow.py:2145
Method
test_dangling_reference_ignored
Edge to a non-existent node should not be wired.
lib/crewai/tests/test_event_record.py:178
Method
test_dashscope_config
Test Dashscope provider configuration.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:93
Function
test_database_errors_propagate
Verify search, ingestion, and indexing errors reach the caller.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:262
Function
test_database_file_is_not_locked_after_use
The database file can be removed right after use, without a GC pass. This is the user-visible symptom on Windows, where an open handle blocks
lib/crewai/tests/storage/test_kickoff_task_outputs_storage.py:60
Function
test_dataclass_serialization_recurses_into_nested_values
()
lib/crewai/tests/utilities/test_serialization.py:139
Method
test_datatype_directory_enum
Test data_type=DataType.DIRECTORY with existing directory.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:260
Method
test_datatype_file_enum_with_existing_file
Test data_type=DataType.FILE with existing file (auto-detect).
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:197
← previous
next →
13,601–13,700 of 20,757, ranked by callers