Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
Method
test_claude_model_removes_dangling_tool_call_without_result
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:205
Method
test_claude_model_removes_dangling_tool_use_content_block
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:302
Method
test_claude_model_removes_trailing_assistant_prefill
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:152
Function
test_claude_supports_vision_reads_a_leading_claude_id
( model: str, expected: bool )
lib/crewai/tests/llms/test_multimodal.py:287
Function
test_clean_action_no_formatting
()
lib/crewai/tests/agents/test_crew_agent_parser.py:153
Function
test_clean_action_with_empty_string
()
lib/crewai/tests/agents/test_crew_agent_parser.py:201
Function
test_clean_action_with_leading_and_trailing_asterisks
()
lib/crewai/tests/agents/test_crew_agent_parser.py:171
Function
test_clean_action_with_leading_asterisks
()
lib/crewai/tests/agents/test_crew_agent_parser.py:159
Function
test_clean_action_with_multiple_leading_asterisks
()
lib/crewai/tests/agents/test_crew_agent_parser.py:177
Function
test_clean_action_with_multiple_trailing_asterisks
()
lib/crewai/tests/agents/test_crew_agent_parser.py:183
Function
test_clean_action_with_only_asterisks
()
lib/crewai/tests/agents/test_crew_agent_parser.py:195
Function
test_clean_action_with_spaces_and_asterisks
()
lib/crewai/tests/agents/test_crew_agent_parser.py:189
Function
test_clean_action_with_trailing_asterisks
()
lib/crewai/tests/agents/test_crew_agent_parser.py:165
Method
test_cleanup_after_cancel
Cancel flag persists for cancellable decorator to detect.
lib/crewai/tests/a2a/utils/test_task.py:327
Function
test_cleanup_on_deletion
(snowflake_tool, mock_snowflake_connection)
lib/crewai-tools/tests/tools/snowflake_search_tool_test.py:71
Function
test_cleanup_on_deletion
(mongodb_vector_search_tool)
lib/crewai-tools/tests/tools/test_mongodb_vector_search_tool.py:48
Method
test_cleanup_removes_artifact_and_revokes_existing_reader_alias
(self, tmp_path)
lib/crewai/tests/agents/test_agent_executor.py:2853
Method
test_cleanup_removes_cancel_flag
Cancel flag is cleaned up after execution.
lib/crewai/tests/a2a/utils/test_task.py:119
Function
test_cleanup_removes_execution_directory_and_is_idempotent
(tmp_path: Path)
lib/crewai/tests/utilities/test_tool_result_artifacts.py:68
Method
test_clear
Test clearing all entries.
lib/crewai-files/tests/test_upload_cache.py:177
Method
test_clear
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:135
Method
test_clear_all_llm_call_hooks
Test that all llm call hooks can be cleared.
lib/crewai/tests/hooks/test_llm_hooks.py:329
Method
test_clear_all_tool_call_hooks
Test that all tool call hooks can be cleared.
lib/crewai/tests/hooks/test_tool_hooks.py:485
Method
test_clear_cache
Test clearing resolver cache.
lib/crewai-files/tests/test_resolver.py:109
Method
test_clear_expired
Test clearing expired entries.
lib/crewai-files/tests/test_upload_cache.py:157
Method
test_clear_files
Test clearing crew files.
lib/crewai/tests/utilities/test_file_store.py:50
Method
test_clear_pending_feedback
Test clearing pending feedback after resume.
lib/crewai/tests/test_async_human_feedback.py:319
Method
test_clear_resets_eviction_order
Entries added after clear must still obey max_entries.
lib/crewai-files/tests/test_upload_cache.py:190
Method
test_clear_task_files
Test clearing task files.
lib/crewai/tests/utilities/test_file_store.py:70
Method
test_clear_tokens
Test clearing tokens deletes the token file.
lib/cli/tests/test_token_manager.py:135
Method
test_clear_tokens
Test clearing tokens deletes the token file.
lib/crewai/tests/cli/test_token_manager.py:131
Method
test_clear_user_settings
(self)
lib/cli/tests/test_config.py:66
Method
test_clear_user_settings
(self)
lib/crewai/tests/cli/test_config.py:63
Function
test_clearing_backend_restores_default
()
lib/crewai/tests/utilities/test_lock_store.py:101
Function
test_cli_chat_leaves_env_alone_for_classic_crew
( tmp_path: Path, project_env: pytest.MonkeyPatch )
lib/crewai/tests/cli/test_crew_chat.py:287
Function
test_cli_chat_loads_project_env_for_json_crew
( tmp_path: Path, project_env: pytest.MonkeyPatch )
lib/crewai/tests/cli/test_crew_chat.py:274
Function
test_cli_chat_rejects_missing_json_definition
( tmp_path: Path, project_env: pytest.MonkeyPatch )
lib/crewai/tests/cli/test_crew_chat.py:300
Function
test_cli_chat_without_crewai_points_at_uv_tool_install
( project_env: pytest.MonkeyPatch, )
lib/crewai/tests/cli/test_crew_chat.py:312
Function
test_cli_conversational_python_flow_without_terminal_does_not_hang
End to end through the CLI: CliRunner's stdin is not a TTY, like an agent's.
lib/cli/tests/test_run_crew.py:1744
Function
test_cli_group_works_with_installed_click
Smoke-test: click.group, click.option, click.argument all work.
lib/cli/tests/test_click_compatibility.py:112
Function
test_cli_runner_works_with_installed_click
Smoke-test: CliRunner from the installed click can invoke a trivial command.
lib/cli/tests/test_click_compatibility.py:98
Function
test_cli_spans_carry_the_process_context
The regression: CLI spans must carry coding_agent and runtime_context.
lib/crewai-core/tests/test_runtime_env.py:99
Function
test_click_constraint_allows_8_1_7
The declared click constraint must still accept the original minimum (8.1.7).
lib/cli/tests/test_click_compatibility.py:64
Function
test_click_constraint_allows_8_3_3
The declared click constraint must accept click 8.3.3 (issue #6002).
lib/cli/tests/test_click_compatibility.py:47
Function
test_click_constraint_rejects_next_major
The declared click constraint must reject click 9.0.0.
lib/cli/tests/test_click_compatibility.py:80
Function
test_click_version_is_compatible
The installed click version must be within the 8.x range.
lib/cli/tests/test_click_compatibility.py:92
Method
test_client_default_batch_size_initialization
Test that client initializes with correct default batch size.
lib/crewai/tests/rag/chromadb/test_client.py:758
Function
test_client_receives_connection_settings
(openai_mock)
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:46
Function
test_client_works_from_another_thread_when_sqlite_checks_threads
( tmp_path, monkeypatch )
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:116
Function
test_clients_keep_targets_independent
(target, other_target)
lib/crewai/tests/cli/test_plus_api.py:494
Function
test_clients_on_different_paths_are_separate
(tmp_path)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:50
Function
test_clipper_client_discovers_selected_actions
(mock_get: Mock)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:32
Function
test_clipper_client_discovers_without_deployment_instance_uuid
( mock_get: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:305
Function
test_clipper_client_executes_action
( mock_post: Mock, arguments: dict[str, Any], connection_id: UUID | None, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:169
Function
test_clipper_client_executes_without_deployment_instance_uuid
( mock_post: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:329
Function
test_clipper_client_ignores_the_old_token_when_the_new_one_is_set
( mock_post: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:416
Function
test_clipper_client_keeps_another_servers_404_or_409
A 404 or 409 without Clipper's own code, from a proxy or a wrong base URL, is not reported as an app that is not connected.
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:877
Function
test_clipper_client_names_an_app_without_a_connection_or_unknown
Clipper answers 409 `conflict` for an app with no active connection, and 404 `clipper_not_found` for one it does not know.
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:838
Function
test_clipper_client_normalizes_execution_failure
( mock_post: Mock, status_code: int, code: str, detail: str, retryable: bool, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:232
Function
test_clipper_client_normalizes_non_json_service_failure
( mock_post: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:274
Function
test_clipper_client_preserves_discovery_ssl_behavior
( mock_get: Mock, factory_value: str | None, verify: bool, monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:124
Function
test_clipper_client_raises_a_refusal_that_names_no_app
(mock_get: Mock)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:855
Function
test_clipper_client_requires_platform_integration_token
( mock_post: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:359
Function
test_clipper_client_supports_legacy_platform_integration_token
( mock_post: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:384
Method
test_close_cancels_sync_streaming
Test that close() stops sync streaming and marks as cancelled.
lib/crewai/tests/test_streaming.py:835
Function
test_close_drains_and_shuts_down
close() should drain pending saves and shut down the pool.
lib/crewai/tests/memory/test_unified_memory.py:1320
Function
test_close_ends_the_session
close() must end the session so the browser process does not linger.
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:197
Method
test_close_idempotent
Test that calling close() multiple times is safe.
lib/crewai/tests/test_streaming.py:854
Function
test_close_lifecycle
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:227
Function
test_close_method
Test that the close method cleans up resources correctly.
lib/crewai-tools/tests/tools/stagehand_tool_test.py:253
Function
test_close_releases_both_clients
Verify closing the tool releases database and embedding connections.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:330
Function
test_close_releases_pending_receipts_before_foreground_lock_is_released
()
lib/crewai/tests/test_flow_jobs.py:269
Function
test_close_span_with_error_sets_error_status
(exporter)
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:55
Method
test_close_stream
Test closing the underlying stream.
lib/crewai/tests/utilities/test_files.py:174
Method
test_closes_redirect_hops
Streamed redirect hops hold connections until closed.
lib/crewai-tools/tests/url_read_tool_test.py:919
Function
test_closest_name_returns_none_when_nothing_close
()
lib/cli/tests/test_input_prompt.py:50
Function
test_closest_name_suggests_near_miss
()
lib/cli/tests/test_input_prompt.py:44
Function
test_closing_after_terminal_keeps_queued_event_deliverable
(failure)
lib/crewai/tests/test_flow_turns.py:336
Function
test_closing_an_inherited_client_in_a_child_leaves_the_parent_folder_locked
( tmp_path, )
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:339
Function
test_closing_stream_keeps_guard_until_worker_finishes
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:465
Function
test_closing_stream_signals_control_before_draining_provider
()
lib/crewai/tests/test_flow_turns.py:182
Method
test_closure_returns_none
(self)
lib/crewai/tests/test_callback.py:76
Method
test_closure_warns_it_is_dropped
(self)
lib/crewai/tests/test_callback.py:160
Function
test_code_action_interpolates_strings_and_lists
()
lib/crewai/tests/test_flow_from_definition.py:2325
Function
test_code_action_renders_keyword_inputs
()
lib/crewai/tests/test_flow_from_definition.py:2305
Function
test_code_action_supports_callable_instance_refs
()
lib/crewai/tests/test_flow_from_definition.py:2356
Function
test_code_docs_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:266
Function
test_code_execution_flag_adds_code_tool_upon_kickoff
()
lib/crewai/tests/test_crew.py:1696
Function
test_codex_answer_keeps_only_agent_messages
()
lib/devtools/tests/test_agents_md_eval.py:100
Function
test_codex_runs_in_its_own_existing_home_without_api_keys
(tmp_path, monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:313
Function
test_codex_takes_precedence_over_cursor
Codex running inside Cursor must report codex, matching get_env_context(). Cursor sets CURSOR_* in every integrated terminal, so checking Cursor
lib/crewai/tests/telemetry/test_coding_agent_detection.py:127
Function
test_coding_agent_lands_on_every_exported_span
End-to-end: the attribute must appear as a *span attribute* on any span. It cannot be a Resource attribute - the ingestion pipeline preserves onl
lib/crewai/tests/telemetry/test_coding_agent_detection.py:401
Function
test_coding_agent_span_emits_once
(isolated_telemetry, clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:451
Method
test_coerces_non_string_to_none
(self, value)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:63
Method
test_cohere_config
Test Cohere configuration mapping.
lib/crewai-tools/tests/rag/test_embedding_service.py:303
Method
test_cohere_provider_accepts_model_key
Test Cohere provider accepts 'model' as alias for 'model_name'.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:96
Method
test_collapse_failure_does_not_route_to_first_emit
A failed collapse must not fire the first emit listener.
lib/crewai/tests/test_human_feedback_decorator.py:551
Method
test_collapses_multiline_descriptions_and_prints_markup_literally
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:444
Function
test_collection_is_created_with_embedder_dimension
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:62
Function
test_collection_name_prefixing
Test that collection names are properly prefixed.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:52
← previous
next →
12,101–12,200 of 19,735, ranked by callers