MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Functiontest_s3_reader_preserves_result_when_close_fails
Keep a successful read result when best-effort cleanup fails.
lib/crewai-tools/tests/tools/test_s3_reader_tool.py:78
Functiontest_safe_extractall_blocks_hardlink_escaping_cache_destination
A hardlink whose target escapes dest is rejected.
lib/crewai/tests/skills/test_cache.py:230
Functiontest_safe_extractall_blocks_member_written_through_cache_symlink_chain
Self-referential symlinks followed by a regular member must not escape.
lib/crewai/tests/skills/test_cache.py:287
Functiontest_safe_extractall_blocks_special_cache_tar_member
Special tar members such as FIFOs are rejected.
lib/crewai/tests/skills/test_cache.py:248
Functiontest_safe_extractall_blocks_symlink_escaping_cache_destination
A symlink whose target escapes dest is rejected before extraction.
lib/crewai/tests/skills/test_cache.py:204
Functiontest_safe_extractall_refuses_cache_links_with_upgrade_hint
Even a link that stays inside dest is refused; filter="data" handles it.
lib/crewai/tests/skills/test_cache.py:263
Functiontest_safe_get_allows_configured_private_hostname
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:67
Functiontest_safe_get_blocks_direct_internal_url
()
lib/crewai-tools/tests/utilities/test_safe_requests.py:62
Functiontest_safe_get_blocks_redirect_to_internal_url
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:144
Functiontest_safe_get_closes_earlier_hops_after_too_many_redirects
Hops accumulated before the failure must not be left open. Under stream=True each hop holds its connection until its body is read or closed,
lib/crewai-tools/tests/utilities/test_safe_requests.py:208
Functiontest_safe_get_closes_earlier_hops_when_a_redirect_is_rejected
A hop rejected mid-chain still releases the connections already open.
lib/crewai-tools/tests/utilities/test_safe_requests.py:231
Functiontest_safe_get_fails_closed_after_too_many_redirects
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:187
Functiontest_safe_get_follows_redirect_from_private_host_to_public_host
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:87
Functiontest_safe_get_follows_safe_relative_redirect
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:162
Functiontest_safe_get_leaves_hops_open_on_success
On success the hops belong to the caller, via response.history.
lib/crewai-tools/tests/utilities/test_safe_requests.py:254
Functiontest_safe_get_preserves_credentials_on_same_origin_redirect
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:314
Functiontest_safe_get_rechecks_private_host_allowlist_on_redirect
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:113
Functiontest_safe_get_rejects_proxies
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:338
Functiontest_safe_get_strips_credentials_on_cross_origin_redirect
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:273
Functiontest_safe_repair_json
()
lib/crewai/tests/agents/test_crew_agent_parser.py:232
Functiontest_safe_repair_json_extra_commas
()
lib/crewai/tests/agents/test_crew_agent_parser.py:261
Functiontest_safe_repair_json_missing_colon
()
lib/crewai/tests/agents/test_crew_agent_parser.py:296
Functiontest_safe_repair_json_missing_comma
()
lib/crewai/tests/agents/test_crew_agent_parser.py:303
Functiontest_safe_repair_json_missing_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:245
Functiontest_safe_repair_json_mixed_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:282
Functiontest_safe_repair_json_single_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:275
Functiontest_safe_repair_json_special_characters_key
()
lib/crewai/tests/agents/test_crew_agent_parser.py:317
Functiontest_safe_repair_json_trailing_commas
()
lib/crewai/tests/agents/test_crew_agent_parser.py:268
Functiontest_safe_repair_json_unclosed_brackets
()
lib/crewai/tests/agents/test_crew_agent_parser.py:254
Functiontest_safe_repair_json_unescaped_characters
()
lib/crewai/tests/agents/test_crew_agent_parser.py:289
Functiontest_safe_repair_json_unexpected_trailing_characters
()
lib/crewai/tests/agents/test_crew_agent_parser.py:310
Functiontest_safe_repair_json_unrepairable
()
lib/crewai/tests/agents/test_crew_agent_parser.py:239
Functiontest_safe_session_does_not_follow_redirects_by_default
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:359
Functiontest_safe_session_follows_redirects_when_caller_opts_in
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:385
Methodtest_same_action_from_different_apps_has_unique_tool_names
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:327
Functiontest_same_document_gets_the_same_point_id
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:140
Functiontest_same_identifier_creates_new_versions_and_emits_events
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:42
Functiontest_same_instance_resolves_model_per_call
One instance across two calls resolves each call's model independently.
lib/crewai-tools/tests/tools/test_vision_tool.py:99
Methodtest_same_interceptor_different_providers
Test that same interceptor instance can be used with multiple providers.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:289
Functiontest_same_named_skills_from_different_orgs_stay_individually_loadable
Skills sharing a frontmatter name must each be addressable.
lib/crewai/tests/skills/test_progressive_disclosure.py:273
Functiontest_same_role_reaches_the_same_collection_every_time
(client)
lib/crewai/tests/rag/qdrant/test_collection_names.py:76
Methodtest_sampling_kwargs_bind_to_typed_fields
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:232
Methodtest_sanitize_collection_name_bad_ends
Test sanitizing a name with non-alphanumeric start/end.
lib/crewai/tests/rag/chromadb/test_utils.py:47
Methodtest_sanitize_collection_name_empty_string
Test sanitizing an empty string.
lib/crewai/tests/rag/chromadb/test_utils.py:90
Methodtest_sanitize_collection_name_ipv4_pattern
Test sanitizing an IPv4 address.
lib/crewai/tests/rag/chromadb/test_utils.py:59
Methodtest_sanitize_collection_name_long_name
Test sanitizing a very long collection name.
lib/crewai/tests/rag/chromadb/test_utils.py:22
Methodtest_sanitize_collection_name_none
Test sanitizing a None value.
lib/crewai/tests/rag/chromadb/test_utils.py:54
Methodtest_sanitize_collection_name_properties
Test that sanitized collection names always meet ChromaDB requirements.
lib/crewai/tests/rag/chromadb/test_utils.py:73
Methodtest_sanitize_collection_name_short_name
Test sanitizing a very short name.
lib/crewai/tests/rag/chromadb/test_utils.py:39
Methodtest_sanitize_collection_name_special_chars
Test sanitizing a name with special characters.
lib/crewai/tests/rag/chromadb/test_utils.py:31
Methodtest_sanitize_collection_name_whitespace_only
Test sanitizing a string with only whitespace.
lib/crewai/tests/rag/chromadb/test_utils.py:95
Functiontest_sanitize_metadata_drops_none_values
()
lib/crewai-tools/tests/rag/test_misc.py:6
Functiontest_sanitize_tool_name_empty
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:82
Functiontest_sanitize_tool_name_with_spaces
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:72
Functiontest_sanitize_tool_name_without_spaces
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:77
Functiontest_sanitized_metadata_is_accepted_by_chromadb
()
lib/crewai-tools/tests/rag/test_misc.py:14
Functiontest_sanitized_names_hold_no_rejected_characters_and_fit
(name)
lib/crewai/tests/rag/qdrant/test_collection_names.py:49
Functiontest_sanitizing_twice_changes_nothing
()
lib/crewai/tests/rag/qdrant/test_collection_names.py:57
Methodtest_save_and_load
(self)
lib/crewai/tests/utilities/test_file_handler.py:32
Methodtest_save_and_load_pending_feedback
Test saving and loading pending feedback context.
lib/crewai/tests/test_async_human_feedback.py:277
Functiontest_save_and_search_roundtrip_on_default_qdrant
(topic_embedder)
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:72
Functiontest_save_documents_integration
Test document saving through RAG client.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:74
Functiontest_save_file_called_when_enabled
(mock_save, mock_get)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:462
Functiontest_save_pending_feedback_complex_types
Test saving and loading pending feedback with complex types in state.
lib/crewai/tests/test_flow_persistence.py:645
Methodtest_save_rejects_a_wrong_dimension_vector
( self, storage: StorageBackend )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:384
Functiontest_save_search
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:57
Functiontest_save_task_json_output
()
lib/crewai/tests/test_task.py:682
Functiontest_save_task_output
()
lib/crewai/tests/test_task.py:658
Functiontest_save_task_pydantic_output
Test saving pydantic output to a file. Uses tmp_path fixture and monkeypatch to change directory to avoid file system race conditions on ente
lib/crewai/tests/test_task.py:773
Functiontest_save_to_json
(extractor, tmp_path)
lib/crewai-tools/tests/test_generate_tool_specs.py:292
Methodtest_save_tokens
Test saving tokens encrypts and writes atomically.
lib/cli/tests/test_token_manager.py:75
Methodtest_save_tokens
Test saving tokens encrypts and writes atomically.
lib/crewai/tests/cli/test_token_manager.py:71
Methodtest_save_trained_data
(self)
lib/crewai/tests/utilities/test_training_handler.py:20
Functiontest_scaffolded_agents_md_commands_parse_against_the_cli
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2730
Functiontest_scaffolded_agents_md_deploy_prerequisites_allow_zip_deploys
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2752
Functiontest_scaffolded_agents_md_evaluates_logged_out_without_skipping_the_login
Logged out, agents evaluate right away and still start the login; measured 10-19, "don't wait on a login" alone made agents stop offering to log i
lib/cli/tests/test_create_crew.py:2668
Functiontest_scaffolded_agents_md_platform_tools_guidance
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2769
Functiontest_scaffolded_agents_md_tells_assistants_to_evaluate_with_crewai_eval
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2654
Functiontest_scaffolded_agents_md_tells_assistants_to_keep_observability_on
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2590
Functiontest_scaffolded_flow_agents_md_tells_assistants_to_evaluate_with_crewai_eval
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:631
Functiontest_scaffolded_flow_docs_tell_how_to_pass_inputs
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:802
Functiontest_scaffolded_flow_entry_points_return_none_so_uv_scripts_exit_zero
( scaffolded_flow_main: ModuleType, tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:696
Functiontest_scaffolded_flow_kickoff_without_inputs_uses_default_topic
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:763
Functiontest_scaffolded_flow_returns_the_post_from_its_last_step
( scaffolded_flow_main: ModuleType, tmp_path: Path )
lib/cli/tests/test_create_flow.py:687
Functiontest_scaffolded_flow_run_with_trigger_rejects_a_missing_payload
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:710
Functiontest_scaffolded_flow_run_with_trigger_uses_payload_topic
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:782
Functiontest_scaffolded_flow_run_with_trigger_without_topic_keeps_default
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:792
Functiontest_scaffolded_flow_start_step_keeps_inputs_passed_to_flow_kickoff
( scaffolded_flow_main: ModuleType, )
lib/cli/tests/test_create_flow.py:773
Methodtest_schema_has_plan_property
Test that schema includes plan property.
lib/crewai/tests/utilities/test_structured_planning.py:39
Methodtest_schema_has_ready_property
Test that schema includes ready property.
lib/crewai/tests/utilities/test_structured_planning.py:85
Methodtest_schema_has_required_fields
Test that the schema includes required fields information.
lib/crewai/tests/utilities/test_agent_utils.py:556
Methodtest_schema_has_required_structure
Test that FUNCTION_SCHEMA has the correct structure.
lib/crewai/tests/utilities/test_structured_planning.py:26
Methodtest_schema_has_steps_property
Test that schema includes steps array property.
lib/crewai/tests/utilities/test_structured_planning.py:45
Functiontest_schema_inheritance
Test tool creation with inherited schema
lib/crewai/tests/tools/test_structured_tool.py:282
Methodtest_schema_parameters_structure
Test that parameters have correct structure.
lib/crewai/tests/utilities/test_structured_planning.py:32
Functiontest_schema_request_after_tool_calls_declares_the_used_tools_async
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2291
Functiontest_schema_request_after_tool_calls_declares_the_used_tools_async_streaming
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2329
Functiontest_schema_request_after_tool_calls_declares_the_used_tools_sync
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2274
Functiontest_schema_request_after_tool_calls_declares_the_used_tools_sync_streaming
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2309
Functiontest_schema_request_waits_for_the_agent_rpm_limit
(mode: str, native: bool)
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:214
← previousnext →17,801–17,900 of 19,663, ranked by callers