MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

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:681
Functiontest_save_task_output
()
lib/crewai/tests/test_task.py:657
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:772
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
Methodtest_schema_step_properties
Test that step items have all required properties.
lib/crewai/tests/utilities/test_structured_planning.py:60
Methodtest_schema_step_required_fields
Test that step required fields are correct.
lib/crewai/tests/utilities/test_structured_planning.py:77
Methodtest_schema_steps_items_structure
Test that steps items have correct structure.
lib/crewai/tests/utilities/test_structured_planning.py:51
Methodtest_schema_structure_matches_openai_format
Test that the schema structure matches OpenAI's expected format.
lib/crewai/tests/utilities/test_agent_utils.py:585
Methodtest_schema_top_level_additional_properties
Test that additionalProperties is False at top level.
lib/crewai/tests/utilities/test_structured_planning.py:98
Methodtest_schema_top_level_required
Test that top-level required fields are correct.
lib/crewai/tests/utilities/test_structured_planning.py:91
Methodtest_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
Methodtest_scope_and_category_views_survive_reopen
( self, backend: str, tmp_path: Path )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:258
Functiontest_scope_info
()
lib/crewai/tests/memory/test_unified_memory.py:128
Functiontest_scope_listing_failure_still_analyzes
(tmp_path: Path)
lib/crewai/tests/memory/test_encoding_flow_analyze_fallback.py:35
Functiontest_scope_prefix_filter
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:105
Methodtest_scope_prefix_limits_listing
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:227
Methodtest_scope_restores_on_exception
(self)
lib/crewai/tests/events/test_event_context.py:175
Methodtest_scope_restores_previous_value
(self)
lib/crewai/tests/events/test_event_context.py:160
Methodtest_scope_sets_triggering_id
(self)
lib/crewai/tests/events/test_event_context.py:155
Methodtest_scoped_after_hook_modifies_direct_response
(self)
lib/crewai/tests/hooks/test_llm_hooks.py:671
Methodtest_scoped_before_hook_can_block_direct_call
(self)
lib/crewai/tests/hooks/test_llm_hooks.py:638
Methodtest_scoped_before_hook_runs_on_direct_call
(self)
lib/crewai/tests/hooks/test_llm_hooks.py:619
Functiontest_scoped_counts_match_scan_semantics
(tmp_path: Path)
lib/crewai/tests/memory/test_lancedb_scoped_count.py:50
Functiontest_scoped_counts_stay_exact_above_scan_limit
(tmp_path: Path)
lib/crewai/tests/memory/test_lancedb_scoped_count.py:38
Functiontest_scoped_handlers_cleanup
()
lib/crewai/tests/utilities/events/test_shutdown.py:158
Functiontest_scoped_handlers_with_async
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:198
Methodtest_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
Methodtest_scoped_runs_after_global_then_cleared
(self)
lib/crewai/tests/hooks/test_dispatch.py:193
Functiontest_scrape_with_css_selector
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:77
Functiontest_scrape_with_driver_error
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:122
Functiontest_scrape_with_return_html_false
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:107
Functiontest_scrape_with_return_html_true
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:92
Functiontest_scrape_without_css_selector
(_mocked_chrome_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:62
Functiontest_script_action_requires_explicit_opt_in
()
lib/crewai/tests/test_flow_from_definition.py:2375
Functiontest_script_action_runs_python_imports_mutates_state_and_returns_value
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2396
Functiontest_script_each_action_reads_item_and_step_outputs
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2451
Functiontest_script_listener_reads_trigger_input_and_outputs
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2422
Methodtest_search
Test that search returns matching documents.
lib/crewai/tests/rag/qdrant/test_client.py:415
Methodtest_search
Test that search queries the collection correctly.
lib/crewai/tests/rag/chromadb/test_client.py:453
Functiontest_search_applies_flat_metadata_filter
(tmp_path: Path)
lib/crewai/tests/rag/chromadb/test_metadata_filter.py:27
Methodtest_search_collection_not_exists
Test that search raises error if collection doesn't exist.
lib/crewai/tests/rag/qdrant/test_client.py:497
Functiontest_search_error_handling
Test error handling during search operations.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:111
Methodtest_search_passes_the_optional_query
( self, runner, no_experimental_env, args, query )
lib/cli/tests/skills/test_cli_commands.py:70
Functiontest_search_query_backward_compat
The legacy 'search_query' param is mapped to 'query'.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:451
Functiontest_search_redraw_shows_only_matching_rows
(monkeypatch)
lib/cli/tests/test_tui_picker.py:72
Methodtest_search_rejects_a_wrong_dimension_query
( self, storage: StorageBackend )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:405
Functiontest_search_results_output_is_unchanged
()
lib/crewai-tools/tests/tools/test_linkup_search_tool.py:21
Methodtest_search_results_survive_reopen
(self, backend: str, tmp_path: Path)
lib/crewai/tests/memory/test_storage_backend_async_parity.py:298
Functiontest_search_reveals_collapsed_labels
()
lib/cli/tests/test_tui_picker.py:212
Functiontest_search_substring_not_treated_as_non_chat
()
lib/cli/tests/test_model_catalog.py:72
Methodtest_search_with_filters
Test that search applies metadata filters correctly.
lib/crewai/tests/rag/qdrant/test_client.py:448
Methodtest_search_with_optional_params
Test search with optional parameters.
lib/crewai/tests/rag/chromadb/test_client.py:485
Methodtest_search_with_options
Test that search applies limit and score_threshold correctly.
lib/crewai/tests/rag/qdrant/test_client.py:475
Methodtest_search_wrong_client_type
Test that search raises TypeError for async client.
lib/crewai/tests/rag/qdrant/test_client.py:506
← previousnext →17,701–17,800 of 19,482, ranked by callers