Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
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:2489
Function
test_script_action_runs_python_imports_mutates_state_and_returns_value
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2510
Function
test_script_each_action_reads_item_and_step_outputs
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2565
Function
test_script_listener_reads_trigger_input_and_outputs
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2536
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
Method
test_search_wrong_client_type
Test that search raises TypeError for async client.
lib/crewai/tests/rag/qdrant/test_client.py:506
Function
test_searchable_draw_accepts_a_contextual_search_title
(monkeypatch)
lib/cli/tests/test_tui_picker.py:135
Function
test_searchable_draw_shows_a_prominent_empty_search_prompt
(monkeypatch)
lib/cli/tests/test_tui_picker.py:116
Function
test_searchable_draw_shows_the_query_and_an_empty_match
(monkeypatch)
lib/cli/tests/test_tui_picker.py:94
Function
test_searchable_picker_clears_the_query_on_escape
(monkeypatch)
lib/cli/tests/test_tui_picker.py:187
Function
test_searchable_picker_keeps_preselected_rows_while_filtering
(monkeypatch)
lib/cli/tests/test_tui_picker.py:172
Function
test_searchable_picker_selects_a_collapsed_match
(monkeypatch)
lib/cli/tests/test_tui_picker.py:223
Method
test_second_crew_after_first
Second crew should have higher sequence than first.
lib/crewai/tests/events/test_event_ordering.py:411
Method
test_second_task_runs_with_checkpointing_enabled
(self)
lib/crewai/tests/test_checkpoint.py:813
Function
test_security_config_creation_with_defaults
Test creating a SecurityConfig with default values.
lib/crewai/tests/security/test_security_config.py:9
Function
test_security_config_fingerprint_generation
Test that SecurityConfig automatically generates fingerprints.
lib/crewai/tests/security/test_security_config.py:18
Function
test_security_config_from_dict
Test creating SecurityConfig from dictionary.
lib/crewai/tests/security/test_security_config.py:52
Function
test_security_config_init_params
Test that SecurityConfig can be initialized and modified.
lib/crewai/tests/security/test_security_config.py:28
Function
test_security_config_json_serialization
Test that SecurityConfig can be JSON serialized and deserialized.
lib/crewai/tests/security/test_security_config.py:73
Function
test_security_config_to_dict
Test converting SecurityConfig to dictionary.
lib/crewai/tests/security/test_security_config.py:40
Function
test_security_config_with_seed_string
Test creating SecurityConfig with a seed string directly.
lib/crewai/tests/security/test_deterministic_fingerprints.py:165
Function
test_security_preservation_during_copy
Test that security configurations are preserved when copying Crew and Agent objects.
lib/crewai/tests/security/test_examples.py:153
Method
test_select_allowed_by_default
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:37
Method
test_select_does_not_commit
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:167
Method
test_select_only_multi_statement_does_not_commit
Two SELECTs must not trigger a commit even when allow_dml=True.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:443
Method
test_select_organization_displays_a_fallback_for_a_missing_name
( self, mock_plus_api, mock_get_auth_token, mock_settings, mock_consol
lib/cli/tests/authentication/test_auth_main.py:401
Method
test_select_organization_handles_no_available_organizations
( self, mock_plus_api, mock_get_auth_token, mock_console )
lib/cli/tests/authentication/test_auth_main.py:427
Method
test_select_organization_keeps_settings_when_picker_is_cancelled
( self, mock_plus_api, mock_get_auth_token, mock_pick, mock_settings )
lib/cli/tests/authentication/test_auth_main.py:385
Method
test_select_organization_saves_the_prompted_choice
( self, mock_plus_api, mock_get_auth_token, mock_settings, mock_consol
lib/cli/tests/authentication/test_auth_main.py:349
Method
test_select_then_insert_triggers_commit
SELECT 1; INSERT … — commit must happen because INSERT is a write.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:422
Function
test_self_listening_method_is_rejected
()
lib/crewai/tests/test_flow.py:2215
Method
test_semicolon_files_read_european_numbers
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:527
Method
test_send_events_skipped_when_trace_batch_id_none
_send_events_to_backend must return early when trace_batch_id is None.
lib/crewai/tests/tracing/test_tracing.py:939
Method
test_send_message_and_get_response
Test sending a message and getting a response.
lib/crewai/tests/a2a/test_a2a_integration.py:120
Method
test_sentence_transformer_provider_accepts_model_key
Test SentenceTransformer provider accepts 'model' as alias.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:156
Function
test_separate_llm_calls_have_different_call_ids
Different LLM calls should have different call_ids.
lib/crewai/tests/utilities/test_events.py:1820
Function
test_separate_sessions_do_not_share_reply_identity_or_control
()
lib/crewai/tests/test_flow_turns.py:217
Function
test_sequential_async_task_execution_completion
(researcher, writer)
lib/crewai/tests/test_crew.py:1022
Function
test_sequential_crew_creation_tasks_without_agents
(researcher)
lib/crewai/tests/test_crew.py:1770
Function
test_serialize_guardrail_drops_callable_with_warning
()
lib/crewai/tests/test_guardrail_serialization.py:29
Function
test_serialize_guardrail_preserves_string
()
lib/crewai/tests/test_guardrail_serialization.py:21
Function
test_serialize_guardrail_returns_none_for_none
()
lib/crewai/tests/test_guardrail_serialization.py:25
Function
test_serialize_guardrails_all_callables_returns_empty_list
()
lib/crewai/tests/test_guardrail_serialization.py:40
Function
test_serialize_guardrails_drops_callables_from_list
()
lib/crewai/tests/test_guardrail_serialization.py:34
Function
test_serialize_guardrails_handles_single_callable
()
lib/crewai/tests/test_guardrail_serialization.py:50
Function
test_serialize_guardrails_handles_single_string
()
lib/crewai/tests/test_guardrail_serialization.py:46
Method
test_serialize_includes_lineage
(self)
lib/crewai/tests/test_checkpoint.py:269
Method
test_serialize_includes_version
(self)
lib/crewai/tests/test_checkpoint.py:236
Method
test_serialize_llm_excludes_api_key
Test that api_key is NOT included in serialized output (security).
lib/crewai/tests/test_human_feedback_integration.py:804
Method
test_serialize_llm_preserves_config_fields
Test that _serialize_llm_for_context captures temperature, base_url, etc.
lib/crewai/tests/test_human_feedback_integration.py:786
Method
test_serialize_llm_preserves_provider_specific_fields
Test that provider-specific fields like base_url are serialized.
lib/crewai/tests/test_human_feedback_integration.py:852
Method
test_serialized_tool_dict_with_unknown_module_fails_at_load
(self)
lib/crewai/tests/project/test_json_loader.py:574
Method
test_serialized_tool_dicts_pass_through
(self)
lib/crewai/tests/project/test_json_loader.py:568
Function
test_serper_tool_custom_initialization
()
lib/crewai-tools/tests/tools/serper_dev_tool_test.py:29
Function
test_serper_tool_initialization
()
lib/crewai-tools/tests/tools/serper_dev_tool_test.py:19
Function
test_serper_tool_news_search
(mock_post)
lib/crewai-tools/tests/tools/serper_dev_tool_test.py:86
← previous
next →
17,901–18,000 of 19,663, ranked by callers