MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Methodtest_clear
Test clearing all entries.
lib/crewai-files/tests/test_upload_cache.py:177
Methodtest_clear
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:135
Methodtest_clear_all_llm_call_hooks
Test that all llm call hooks can be cleared.
lib/crewai/tests/hooks/test_llm_hooks.py:329
Methodtest_clear_all_tool_call_hooks
Test that all tool call hooks can be cleared.
lib/crewai/tests/hooks/test_tool_hooks.py:485
Methodtest_clear_cache
Test clearing resolver cache.
lib/crewai-files/tests/test_resolver.py:105
Methodtest_clear_expired
Test clearing expired entries.
lib/crewai-files/tests/test_upload_cache.py:157
Methodtest_clear_files
Test clearing crew files.
lib/crewai/tests/utilities/test_file_store.py:50
Methodtest_clear_pending_feedback
Test clearing pending feedback after resume.
lib/crewai/tests/test_async_human_feedback.py:319
Methodtest_clear_task_files
Test clearing task files.
lib/crewai/tests/utilities/test_file_store.py:70
Methodtest_clear_tokens
Test clearing tokens deletes the token file.
lib/cli/tests/test_token_manager.py:135
Methodtest_clear_tokens
Test clearing tokens deletes the token file.
lib/crewai/tests/cli/test_token_manager.py:131
Methodtest_clear_user_settings
(self)
lib/cli/tests/test_config.py:66
Methodtest_clear_user_settings
(self)
lib/crewai/tests/cli/test_config.py:63
Functiontest_clearing_backend_restores_default
()
lib/crewai/tests/utilities/test_lock_store.py:101
Functiontest_cli_chat_leaves_env_alone_for_classic_crew
( tmp_path: Path, project_env: pytest.MonkeyPatch )
lib/crewai/tests/cli/test_crew_chat.py:287
Functiontest_cli_chat_loads_project_env_for_json_crew
( tmp_path: Path, project_env: pytest.MonkeyPatch )
lib/crewai/tests/cli/test_crew_chat.py:274
Functiontest_cli_chat_rejects_missing_json_definition
( tmp_path: Path, project_env: pytest.MonkeyPatch )
lib/crewai/tests/cli/test_crew_chat.py:300
Functiontest_cli_chat_without_crewai_points_at_uv_tool_install
( project_env: pytest.MonkeyPatch, )
lib/crewai/tests/cli/test_crew_chat.py:312
Functiontest_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
Functiontest_cli_group_works_with_installed_click
Smoke-test: click.group, click.option, click.argument all work.
lib/cli/tests/test_click_compatibility.py:112
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_click_constraint_rejects_next_major
The declared click constraint must reject click 9.0.0.
lib/cli/tests/test_click_compatibility.py:80
Functiontest_click_version_is_compatible
The installed click version must be within the 8.x range.
lib/cli/tests/test_click_compatibility.py:92
Methodtest_client_default_batch_size_initialization
Test that client initializes with correct default batch size.
lib/crewai/tests/rag/chromadb/test_client.py:758
Functiontest_client_receives_connection_settings
(openai_mock)
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:46
Functiontest_client_works_from_another_thread_when_sqlite_checks_threads
( tmp_path, monkeypatch )
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:116
Functiontest_clients_keep_targets_independent
(target, other_target)
lib/crewai/tests/cli/test_plus_api.py:494
Functiontest_clients_on_different_paths_are_separate
(tmp_path)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:50
Functiontest_clipper_client_discovers_selected_actions
(mock_get: Mock)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:32
Functiontest_clipper_client_discovers_without_deployment_instance_uuid
( mock_get: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:305
Functiontest_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
Functiontest_clipper_client_executes_without_deployment_instance_uuid
( mock_post: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:329
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_clipper_client_normalizes_non_json_service_failure
( mock_post: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:274
Functiontest_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
Functiontest_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
Functiontest_clipper_client_requires_platform_integration_token
( mock_post: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:359
Functiontest_clipper_client_supports_legacy_platform_integration_token
( mock_post: Mock, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:384
Methodtest_close_cancels_sync_streaming
Test that close() stops sync streaming and marks as cancelled.
lib/crewai/tests/test_streaming.py:835
Functiontest_close_drains_and_shuts_down
close() should drain pending saves and shut down the pool.
lib/crewai/tests/memory/test_unified_memory.py:1320
Functiontest_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
Methodtest_close_idempotent
Test that calling close() multiple times is safe.
lib/crewai/tests/test_streaming.py:854
Functiontest_close_lifecycle
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:227
Functiontest_close_method
Test that the close method cleans up resources correctly.
lib/crewai-tools/tests/tools/stagehand_tool_test.py:253
Functiontest_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
Functiontest_close_releases_pending_receipts_before_foreground_lock_is_released
()
lib/crewai/tests/test_flow_jobs.py:269
Functiontest_close_span_with_error_sets_error_status
(exporter)
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:55
Methodtest_close_stream
Test closing the underlying stream.
lib/crewai/tests/utilities/test_files.py:172
Methodtest_closes_redirect_hops
Streamed redirect hops hold connections until closed.
lib/crewai-tools/tests/url_read_tool_test.py:919
Functiontest_closest_name_returns_none_when_nothing_close
()
lib/cli/tests/test_input_prompt.py:50
Functiontest_closest_name_suggests_near_miss
()
lib/cli/tests/test_input_prompt.py:44
Functiontest_closing_after_terminal_keeps_queued_event_deliverable
(failure)
lib/crewai/tests/test_flow_turns.py:336
Functiontest_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
Functiontest_closing_stream_keeps_guard_until_worker_finishes
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:465
Functiontest_closing_stream_signals_control_before_draining_provider
()
lib/crewai/tests/test_flow_turns.py:182
Methodtest_closure_returns_none
(self)
lib/crewai/tests/test_callback.py:76
Methodtest_closure_warns_it_is_dropped
(self)
lib/crewai/tests/test_callback.py:160
Functiontest_code_action_interpolates_strings_and_lists
()
lib/crewai/tests/test_flow_from_definition.py:2211
Functiontest_code_action_renders_keyword_inputs
()
lib/crewai/tests/test_flow_from_definition.py:2191
Functiontest_code_action_supports_callable_instance_refs
()
lib/crewai/tests/test_flow_from_definition.py:2242
Functiontest_code_docs_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:266
Functiontest_code_execution_flag_adds_code_tool_upon_kickoff
()
lib/crewai/tests/test_crew.py:1696
Functiontest_codex_answer_keeps_only_agent_messages
()
lib/devtools/tests/test_agents_md_eval.py:100
Functiontest_codex_runs_in_its_own_existing_home_without_api_keys
(tmp_path, monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:313
Functiontest_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
Functiontest_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
Functiontest_coding_agent_span_emits_once
(isolated_telemetry, clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:451
Methodtest_coerces_non_string_to_none
(self, value)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:63
Methodtest_cohere_config
Test Cohere configuration mapping.
lib/crewai-tools/tests/rag/test_embedding_service.py:303
Methodtest_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
Methodtest_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
Methodtest_collapses_multiline_descriptions_and_prints_markup_literally
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:444
Functiontest_collection_is_created_with_embedder_dimension
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:62
Functiontest_collection_name_prefixing
Test that collection names are properly prefixed.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:52
Functiontest_collections_are_isolated_by_name
(topic_embedder)
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:81
Methodtest_collector_is_execution_scoped
(self)
lib/crewai/tests/tools/test_tool_failure.py:1411
Methodtest_columns_past_the_cap_are_cut_and_counted
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:565
Functiontest_combined_class_and_method_persist_saves_once_per_method
()
lib/crewai/tests/test_flow_from_definition.py:3809
Methodtest_combined_constraints
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:745
Methodtest_comma_files_read_thousands_separators
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:534
Functiontest_command_backfills_project_id
(runner, name, argv)
lib/crewai/tests/cli/test_project_id_backfill.py:62
Functiontest_command_fails_when_sessions_give_no_answer
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:208
Functiontest_command_fails_when_the_branch_teaches_less
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:176
Functiontest_command_passes_when_the_branch_holds_or_improves
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:189
Functiontest_command_prints_brackets_in_items_and_reasons_as_text
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:217
Functiontest_command_reads_the_head_file_at_the_ref_it_is_given
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:241
Functiontest_command_rejects_a_malformed_model
(spec)
lib/devtools/tests/test_agents_md_eval.py:270
Functiontest_command_respects_a_custom_max_drop
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:197
Functiontest_command_without_codex_needs_no_openai_key
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:261
Functiontest_commands_that_need_a_login_exit_1_when_logged_out
(runner, args)
lib/cli/tests/test_cli.py:1052
Methodtest_comment_markers_inside_string_literals_are_also_blocked
Literal-aware scanning disagreed with identifier quoting; refuse instead.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:646
Methodtest_commented_read_query_is_also_blocked
(self, query)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:641
Methodtest_commented_statement_is_blocked
(self, query)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:632
Methodtest_commented_write_is_committed_when_dml_is_allowed
DELETE/**/FROM is a DELETE, so allow_dml=True must commit it.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:667
← previousnext →12,001–12,100 of 19,482, ranked by callers