Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,484 in github.com/crewAIInc/crewAI
⨍
Functions
19,484
◇
Types & classes
3,433
↳
Endpoints
991
Method
test_sanitize_collection_name_special_chars
Test sanitizing a name with special characters.
lib/crewai/tests/rag/chromadb/test_utils.py:31
Method
test_sanitize_collection_name_whitespace_only
Test sanitizing a string with only whitespace.
lib/crewai/tests/rag/chromadb/test_utils.py:95
Function
test_sanitize_metadata_drops_none_values
()
lib/crewai-tools/tests/rag/test_misc.py:6
Function
test_sanitize_tool_name_empty
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:82
Function
test_sanitize_tool_name_with_spaces
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:72
Function
test_sanitize_tool_name_without_spaces
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:77
Function
test_sanitized_metadata_is_accepted_by_chromadb
()
lib/crewai-tools/tests/rag/test_misc.py:14
Function
test_sanitized_names_hold_no_rejected_characters_and_fit
(name)
lib/crewai/tests/rag/qdrant/test_collection_names.py:49
Function
test_sanitizing_twice_changes_nothing
()
lib/crewai/tests/rag/qdrant/test_collection_names.py:57
Method
test_save_and_load
(self)
lib/crewai/tests/utilities/test_file_handler.py:32
Method
test_save_and_load_pending_feedback
Test saving and loading pending feedback context.
lib/crewai/tests/test_async_human_feedback.py:277
Function
test_save_and_search_roundtrip_on_default_qdrant
(topic_embedder)
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:72
Function
test_save_documents_integration
Test document saving through RAG client.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:74
Function
test_save_file_called_when_enabled
(mock_save, mock_get)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:462
Function
test_save_pending_feedback_complex_types
Test saving and loading pending feedback with complex types in state.
lib/crewai/tests/test_flow_persistence.py:645
Method
test_save_rejects_a_wrong_dimension_vector
( self, storage: StorageBackend )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:384
Function
test_save_search
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:57
Function
test_save_task_json_output
()
lib/crewai/tests/test_task.py:681
Function
test_save_task_output
()
lib/crewai/tests/test_task.py:657
Function
test_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:772
Function
test_save_to_json
(extractor, tmp_path)
lib/crewai-tools/tests/test_generate_tool_specs.py:292
Method
test_save_tokens
Test saving tokens encrypts and writes atomically.
lib/cli/tests/test_token_manager.py:75
Method
test_save_tokens
Test saving tokens encrypts and writes atomically.
lib/crewai/tests/cli/test_token_manager.py:71
Method
test_save_trained_data
(self)
lib/crewai/tests/utilities/test_training_handler.py:20
Function
test_scaffolded_agents_md_commands_parse_against_the_cli
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2730
Function
test_scaffolded_agents_md_deploy_prerequisites_allow_zip_deploys
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2752
Function
test_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
Function
test_scaffolded_agents_md_platform_tools_guidance
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2769
Function
test_scaffolded_agents_md_tells_assistants_to_evaluate_with_crewai_eval
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2654
Function
test_scaffolded_agents_md_tells_assistants_to_keep_observability_on
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2590
Function
test_scaffolded_flow_agents_md_tells_assistants_to_evaluate_with_crewai_eval
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:631
Function
test_scaffolded_flow_docs_tell_how_to_pass_inputs
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:802
Function
test_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
Function
test_scaffolded_flow_kickoff_without_inputs_uses_default_topic
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:763
Function
test_scaffolded_flow_returns_the_post_from_its_last_step
( scaffolded_flow_main: ModuleType, tmp_path: Path )
lib/cli/tests/test_create_flow.py:687
Function
test_scaffolded_flow_run_with_trigger_rejects_a_missing_payload
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:710
Function
test_scaffolded_flow_run_with_trigger_uses_payload_topic
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:782
Function
test_scaffolded_flow_run_with_trigger_without_topic_keeps_default
( scaffolded_flow_main: ModuleType, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:792
Function
test_scaffolded_flow_start_step_keeps_inputs_passed_to_flow_kickoff
( scaffolded_flow_main: ModuleType, )
lib/cli/tests/test_create_flow.py:773
Method
test_schema_has_plan_property
Test that schema includes plan property.
lib/crewai/tests/utilities/test_structured_planning.py:39
Method
test_schema_has_ready_property
Test that schema includes ready property.
lib/crewai/tests/utilities/test_structured_planning.py:85
Method
test_schema_has_required_fields
Test that the schema includes required fields information.
lib/crewai/tests/utilities/test_agent_utils.py:556
Method
test_schema_has_required_structure
Test that FUNCTION_SCHEMA has the correct structure.
lib/crewai/tests/utilities/test_structured_planning.py:26
Method
test_schema_has_steps_property
Test that schema includes steps array property.
lib/crewai/tests/utilities/test_structured_planning.py:45
Function
test_schema_inheritance
Test tool creation with inherited schema
lib/crewai/tests/tools/test_structured_tool.py:282
Method
test_schema_parameters_structure
Test that parameters have correct structure.
lib/crewai/tests/utilities/test_structured_planning.py:32
Function
test_schema_request_after_tool_calls_declares_the_used_tools_async
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2291
Function
test_schema_request_after_tool_calls_declares_the_used_tools_async_streaming
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2329
Function
test_schema_request_after_tool_calls_declares_the_used_tools_sync
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2274
Function
test_schema_request_after_tool_calls_declares_the_used_tools_sync_streaming
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2309
Function
test_schema_request_waits_for_the_agent_rpm_limit
(mode: str, native: bool)
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:214
Method
test_schema_step_properties
Test that step items have all required properties.
lib/crewai/tests/utilities/test_structured_planning.py:60
Method
test_schema_step_required_fields
Test that step required fields are correct.
lib/crewai/tests/utilities/test_structured_planning.py:77
Method
test_schema_steps_items_structure
Test that steps items have correct structure.
lib/crewai/tests/utilities/test_structured_planning.py:51
Method
test_schema_structure_matches_openai_format
Test that the schema structure matches OpenAI's expected format.
lib/crewai/tests/utilities/test_agent_utils.py:585
Method
test_schema_top_level_additional_properties
Test that additionalProperties is False at top level.
lib/crewai/tests/utilities/test_structured_planning.py:98
Method
test_schema_top_level_required
Test that top-level required fields are correct.
lib/crewai/tests/utilities/test_structured_planning.py:91
Method
test_schema_validation_catches_missing_args_on_native_path
The native function calling path should now enforce args_schema, catching missing required fields before _run is called.
lib/crewai/tests/agents/test_native_tool_calling.py:1319
Method
test_scope_and_category_views_survive_reopen
( self, backend: str, tmp_path: Path )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:258
Function
test_scope_info
()
lib/crewai/tests/memory/test_unified_memory.py:128
Function
test_scope_listing_failure_still_analyzes
(tmp_path: Path)
lib/crewai/tests/memory/test_encoding_flow_analyze_fallback.py:35
Function
test_scope_prefix_filter
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:105
Method
test_scope_prefix_limits_listing
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:227
Method
test_scope_restores_on_exception
(self)
lib/crewai/tests/events/test_event_context.py:175
Method
test_scope_restores_previous_value
(self)
lib/crewai/tests/events/test_event_context.py:160
Method
test_scope_sets_triggering_id
(self)
lib/crewai/tests/events/test_event_context.py:155
Method
test_scoped_after_hook_modifies_direct_response
(self)
lib/crewai/tests/hooks/test_llm_hooks.py:671
Method
test_scoped_before_hook_can_block_direct_call
(self)
lib/crewai/tests/hooks/test_llm_hooks.py:638
Method
test_scoped_before_hook_runs_on_direct_call
(self)
lib/crewai/tests/hooks/test_llm_hooks.py:619
Function
test_scoped_counts_match_scan_semantics
(tmp_path: Path)
lib/crewai/tests/memory/test_lancedb_scoped_count.py:50
Function
test_scoped_counts_stay_exact_above_scan_limit
(tmp_path: Path)
lib/crewai/tests/memory/test_lancedb_scoped_count.py:38
Function
test_scoped_handlers_cleanup
()
lib/crewai/tests/utilities/events/test_shutdown.py:158
Function
test_scoped_handlers_with_async
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:198
Method
test_scoped_hooks_fire_on_agent_executor_llm_seams
register_scoped hooks must run on the executor model seams. Regression: `_setup_before/after_llm_call_hooks` only ran the executor's
lib/crewai/tests/hooks/test_llm_hooks.py:370
Method
test_scoped_runs_after_global_then_cleared
(self)
lib/crewai/tests/hooks/test_dispatch.py:193
Function
test_scrape_with_css_selector
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:77
Function
test_scrape_with_driver_error
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:122
Function
test_scrape_with_return_html_false
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:107
Function
test_scrape_with_return_html_true
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:92
Function
test_scrape_without_css_selector
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:62
Function
test_script_action_requires_explicit_opt_in
()
lib/crewai/tests/test_flow_from_definition.py:2375
Function
test_script_action_runs_python_imports_mutates_state_and_returns_value
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2396
Function
test_script_each_action_reads_item_and_step_outputs
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2451
Function
test_script_listener_reads_trigger_input_and_outputs
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2422
Method
test_search
Test that search returns matching documents.
lib/crewai/tests/rag/qdrant/test_client.py:415
Method
test_search
Test that search queries the collection correctly.
lib/crewai/tests/rag/chromadb/test_client.py:453
Function
test_search_applies_flat_metadata_filter
(tmp_path: Path)
lib/crewai/tests/rag/chromadb/test_metadata_filter.py:27
Method
test_search_collection_not_exists
Test that search raises error if collection doesn't exist.
lib/crewai/tests/rag/qdrant/test_client.py:497
Function
test_search_error_handling
Test error handling during search operations.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:111
Method
test_search_passes_the_optional_query
( self, runner, no_experimental_env, args, query )
lib/cli/tests/skills/test_cli_commands.py:70
Function
test_search_query_backward_compat
The legacy 'search_query' param is mapped to 'query'.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:451
Function
test_search_redraw_shows_only_matching_rows
(monkeypatch)
lib/cli/tests/test_tui_picker.py:72
Method
test_search_rejects_a_wrong_dimension_query
( self, storage: StorageBackend )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:405
Function
test_search_results_output_is_unchanged
()
lib/crewai-tools/tests/tools/test_linkup_search_tool.py:21
Method
test_search_results_survive_reopen
(self, backend: str, tmp_path: Path)
lib/crewai/tests/memory/test_storage_backend_async_parity.py:298
Function
test_search_reveals_collapsed_labels
()
lib/cli/tests/test_tui_picker.py:212
Function
test_search_substring_not_treated_as_non_chat
()
lib/cli/tests/test_model_catalog.py:72
Method
test_search_with_filters
Test that search applies metadata filters correctly.
lib/crewai/tests/rag/qdrant/test_client.py:448
Method
test_search_with_optional_params
Test search with optional parameters.
lib/crewai/tests/rag/chromadb/test_client.py:485
Method
test_search_with_options
Test that search applies limit and score_threshold correctly.
lib/crewai/tests/rag/qdrant/test_client.py:475
← previous
next →
17,701–17,800 of 19,484, ranked by callers