MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

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:2489
Functiontest_script_action_runs_python_imports_mutates_state_and_returns_value
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2510
Functiontest_script_each_action_reads_item_and_step_outputs
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2565
Functiontest_script_listener_reads_trigger_input_and_outputs
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_flow_from_definition.py:2536
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
Functiontest_searchable_draw_accepts_a_contextual_search_title
(monkeypatch)
lib/cli/tests/test_tui_picker.py:135
Functiontest_searchable_draw_shows_a_prominent_empty_search_prompt
(monkeypatch)
lib/cli/tests/test_tui_picker.py:116
Functiontest_searchable_draw_shows_the_query_and_an_empty_match
(monkeypatch)
lib/cli/tests/test_tui_picker.py:94
Functiontest_searchable_picker_clears_the_query_on_escape
(monkeypatch)
lib/cli/tests/test_tui_picker.py:187
Functiontest_searchable_picker_keeps_preselected_rows_while_filtering
(monkeypatch)
lib/cli/tests/test_tui_picker.py:172
Functiontest_searchable_picker_selects_a_collapsed_match
(monkeypatch)
lib/cli/tests/test_tui_picker.py:223
Methodtest_second_crew_after_first
Second crew should have higher sequence than first.
lib/crewai/tests/events/test_event_ordering.py:411
Methodtest_second_task_runs_with_checkpointing_enabled
(self)
lib/crewai/tests/test_checkpoint.py:813
Functiontest_security_config_creation_with_defaults
Test creating a SecurityConfig with default values.
lib/crewai/tests/security/test_security_config.py:9
Functiontest_security_config_fingerprint_generation
Test that SecurityConfig automatically generates fingerprints.
lib/crewai/tests/security/test_security_config.py:18
Functiontest_security_config_from_dict
Test creating SecurityConfig from dictionary.
lib/crewai/tests/security/test_security_config.py:52
Functiontest_security_config_init_params
Test that SecurityConfig can be initialized and modified.
lib/crewai/tests/security/test_security_config.py:28
Functiontest_security_config_json_serialization
Test that SecurityConfig can be JSON serialized and deserialized.
lib/crewai/tests/security/test_security_config.py:73
Functiontest_security_config_to_dict
Test converting SecurityConfig to dictionary.
lib/crewai/tests/security/test_security_config.py:40
Functiontest_security_config_with_seed_string
Test creating SecurityConfig with a seed string directly.
lib/crewai/tests/security/test_deterministic_fingerprints.py:165
Functiontest_security_preservation_during_copy
Test that security configurations are preserved when copying Crew and Agent objects.
lib/crewai/tests/security/test_examples.py:153
Methodtest_select_allowed_by_default
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:37
Methodtest_select_does_not_commit
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:167
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Functiontest_self_listening_method_is_rejected
()
lib/crewai/tests/test_flow.py:2215
Methodtest_semicolon_files_read_european_numbers
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:527
Methodtest_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
Methodtest_send_message_and_get_response
Test sending a message and getting a response.
lib/crewai/tests/a2a/test_a2a_integration.py:120
Methodtest_sentence_transformer_provider_accepts_model_key
Test SentenceTransformer provider accepts 'model' as alias.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:156
Functiontest_separate_llm_calls_have_different_call_ids
Different LLM calls should have different call_ids.
lib/crewai/tests/utilities/test_events.py:1820
Functiontest_separate_sessions_do_not_share_reply_identity_or_control
()
lib/crewai/tests/test_flow_turns.py:217
Functiontest_sequential_async_task_execution_completion
(researcher, writer)
lib/crewai/tests/test_crew.py:1022
Functiontest_sequential_crew_creation_tasks_without_agents
(researcher)
lib/crewai/tests/test_crew.py:1770
Functiontest_serialize_guardrail_drops_callable_with_warning
()
lib/crewai/tests/test_guardrail_serialization.py:29
Functiontest_serialize_guardrail_preserves_string
()
lib/crewai/tests/test_guardrail_serialization.py:21
Functiontest_serialize_guardrail_returns_none_for_none
()
lib/crewai/tests/test_guardrail_serialization.py:25
Functiontest_serialize_guardrails_all_callables_returns_empty_list
()
lib/crewai/tests/test_guardrail_serialization.py:40
Functiontest_serialize_guardrails_drops_callables_from_list
()
lib/crewai/tests/test_guardrail_serialization.py:34
Functiontest_serialize_guardrails_handles_single_callable
()
lib/crewai/tests/test_guardrail_serialization.py:50
Functiontest_serialize_guardrails_handles_single_string
()
lib/crewai/tests/test_guardrail_serialization.py:46
Methodtest_serialize_includes_lineage
(self)
lib/crewai/tests/test_checkpoint.py:269
Methodtest_serialize_includes_version
(self)
lib/crewai/tests/test_checkpoint.py:236
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_serialized_tool_dict_with_unknown_module_fails_at_load
(self)
lib/crewai/tests/project/test_json_loader.py:574
Methodtest_serialized_tool_dicts_pass_through
(self)
lib/crewai/tests/project/test_json_loader.py:568
Functiontest_serper_tool_custom_initialization
()
lib/crewai-tools/tests/tools/serper_dev_tool_test.py:29
Functiontest_serper_tool_initialization
()
lib/crewai-tools/tests/tools/serper_dev_tool_test.py:19
Functiontest_serper_tool_news_search
(mock_post)
lib/crewai-tools/tests/tools/serper_dev_tool_test.py:86
← previousnext →17,901–18,000 of 19,663, ranked by callers