Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
Function
test_crew_memoization
()
lib/crewai/tests/test_project.py:132
Method
test_crew_memory_instance_preserves_no_root_scope
User-provided Memory instance is not modified — root_scope stays None.
lib/crewai/tests/memory/test_memory_root_scope.py:443
Function
test_crew_memory_is_recorded_as_a_string
The same defect `resumed` was fixed for, applied to the attribute left behind. A false boolean cannot survive this pipeline at all: measured acro
lib/crewai/tests/telemetry/test_telemetry.py:395
Method
test_crew_memory_true_prefers_chat_llm
Auto-created crew memory uses chat_llm when configured.
lib/crewai/tests/memory/test_memory_root_scope.py:414
Method
test_crew_memory_true_sets_root_scope
Creating Crew with memory=True auto-sets root_scope.
lib/crewai/tests/memory/test_memory_root_scope.py:384
Function
test_crew_memory_with_google_vertex_embedder
Test that Crew with google-vertex embedder runs and that memory storage works. The crew kickoff uses VCR-recorded LLM responses. The memory save
lib/crewai/tests/rag/embeddings/test_google_vertex_memory_integration.py:76
Function
test_crew_memory_with_google_vertex_project_id
Test Crew memory with Google Vertex using project_id authentication.
lib/crewai/tests/rag/embeddings/test_google_vertex_memory_integration.py:131
Function
test_crew_name
()
lib/crewai/tests/test_project.py:357
Method
test_crew_native_tool_hooks_before_and_after
Test that Crew with Agent executes before/after hooks with full context.
lib/crewai/tests/hooks/test_tool_hooks.py:714
Method
test_crew_none_agent_none
(self)
lib/crewai/tests/test_checkpoint.py:81
Method
test_crew_output_exposes_usage_metrics_dict
(self)
lib/crewai/tests/test_usage_shape_parity.py:72
Function
test_crew_output_file_end_to_end
Test output file functionality in a full crew context.
lib/crewai/tests/test_crew.py:2754
Function
test_crew_output_file_validation_failures
Test output file validation failures in a crew context.
lib/crewai/tests/test_crew.py:2782
Function
test_crew_output_import
Test that CrewOutput can be imported from crewai.
lib/crewai/tests/test_imports.py:17
Method
test_crew_parent_is_method
Crew inside flow method should have method as parent.
lib/crewai/tests/events/test_event_ordering.py:325
Method
test_crew_planning_preserves_original_description
Test that planning appends to the original task description.
lib/crewai/tests/utilities/test_planning_handler.py:296
Function
test_crew_planning_text_is_not_read_for_urls
(downloads, monkeypatch)
lib/crewai/tests/agents/test_agent_spreadsheets.py:695
Method
test_crew_planning_with_duplicate_task_numbers
Test that duplicate task numbers use the first plan and log a warning.
lib/crewai/tests/utilities/test_planning_handler.py:326
Method
test_crew_planning_with_missing_plan
Test that missing plans are handled gracefully with a warning.
lib/crewai/tests/utilities/test_planning_handler.py:254
Method
test_crew_planning_with_out_of_order_plans
Test that plans are correctly matched to tasks even when returned out of order. This test verifies the fix for issue #3953 where plans return
lib/crewai/tests/utilities/test_planning_handler.py:199
Method
test_crew_policy_aborts_end_to_end
Crew scope must actually reach the executor, not just the resolver.
lib/crewai/tests/tools/test_tool_failure.py:706
Method
test_crew_policy_used_when_agent_inherits
(self)
lib/crewai/tests/tools/test_tool_failure.py:213
Function
test_crew_prepare_tools_warns_on_empty_apps
(monkeypatch)
lib/crewai/tests/agents/test_agent.py:2988
Method
test_crew_preserves_preloaded_metadata_skill
(self, tmp_path: Path)
lib/crewai/tests/skills/test_integration.py:179
Method
test_crew_rejects_absolute_input_file_outside_project
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:715
Method
test_crew_rejects_callable_python_ref_for_object_field
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/project/test_crew_loader.py:627
Method
test_crew_rejects_file_uri_input_file_outside_project
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:739
Method
test_crew_rejects_relative_input_file_outside_project
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:692
Method
test_crew_rejects_stdlib_python_ref_for_agent_callback
( self, tmp_path: Path )
lib/crewai/tests/project/test_crew_loader.py:565
Method
test_crew_rejects_stdlib_python_ref_for_mcp_tool_filter
( self, tmp_path: Path )
lib/crewai/tests/project/test_crew_loader.py:593
Method
test_crew_rejects_windows_input_file_outside_project
( self, tmp_path: Path, outside_path: str )
lib/crewai/tests/project/test_crew_loader.py:772
Function
test_crew_replay_error
(researcher, writer)
lib/crewai/tests/test_crew.py:3508
Method
test_crew_resolves_inline_skill_string
(self)
lib/crewai/tests/skills/test_integration.py:150
Method
test_crew_respects_existing_root_scope
User-provided Memory with existing root_scope is not overwritten.
lib/crewai/tests/memory/test_memory_root_scope.py:483
Method
test_crew_restores_external_module_cache_after_project_ref
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/project/test_crew_loader.py:797
Method
test_crew_run_dispatches_only_the_crews_own_points
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:302
Method
test_crew_sanitizes_name_for_root_scope
Crew name with special chars is sanitized for root_scope.
lib/crewai/tests/memory/test_memory_root_scope.py:521
Method
test_crew_scoped_hook_has_access_to_self
Test that crew-scoped hooks can access self and instance variables.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:68
Method
test_crew_scoped_hook_is_registered_on_instance_creation
Test that crew-scoped hooks are registered when crew instance is created.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:42
Method
test_crew_scoped_hook_method_signature
Test that crew-scoped hooks have correct signature (self + context).
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:238
Method
test_crew_scoped_hook_no_double_registration
Test that crew-scoped hooks are not registered twice.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:209
Method
test_crew_scoped_hook_with_filters
Test that filtered crew-scoped hooks work correctly.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:169
Method
test_crew_scoped_with_agent_filter
Test crew-scoped hooks with agent filters.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:265
Method
test_crew_status_by_name
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:403
Method
test_crew_status_by_name
(self, mock_make_request)
lib/crewai/tests/cli/test_plus_api.py:289
Method
test_crew_status_by_uuid
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:410
Method
test_crew_status_by_uuid
(self, mock_make_request)
lib/crewai/tests/cli/test_plus_api.py:296
Function
test_crew_success
Test the crew function for successful execution.
lib/cli/tests/test_crew_test.py:18
Method
test_crew_success_fires_completed_once
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:446
Function
test_crew_task_db_init
()
lib/crewai/tests/test_crew.py:3526
Function
test_crew_task_raises_typed_error_after_two_empty_answers
()
lib/crewai/tests/agents/test_empty_llm_response_retry.py:477
Function
test_crew_task_recovers_from_one_empty_answer
(use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:463
Function
test_crew_test_setup_failure_pairs_events
A failure during test() setup must still pair Started with Failed. crew_test_failed is scope-ending: the start event used to be emitted only
lib/crewai/tests/test_crew.py:4304
Function
test_crew_testing_function
(researcher)
lib/crewai/tests/test_crew.py:4263
Function
test_crew_train_error
(researcher, writer)
lib/crewai/tests/test_crew.py:3020
Function
test_crew_train_success
(researcher, writer, monkeypatch)
lib/crewai/tests/test_crew.py:2974
Function
test_crew_trained_agents_file_is_preserved_on_copy
(researcher)
lib/crewai/tests/test_crew.py:3069
Method
test_crew_true
(self)
lib/crewai/tests/test_checkpoint.py:70
Method
test_crew_true_agent_false_opts_out
(self)
lib/crewai/tests/test_checkpoint.py:76
Method
test_crew_verbose_and_memory_flags
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:943
Function
test_crew_verbose_output
(researcher, writer, capsys)
lib/crewai/tests/test_crew.py:802
Method
test_crew_with_default_inputs
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:186
Function
test_crew_with_delegating_agents
(ceo, writer)
lib/crewai/tests/test_crew.py:551
Function
test_crew_with_delegating_agents_should_not_override_agent_tools
(ceo, writer)
lib/crewai/tests/test_crew.py:628
Function
test_crew_with_delegating_agents_should_not_override_task_tools
(ceo, writer)
lib/crewai/tests/test_crew.py:574
Function
test_crew_with_deterministic_fingerprint
Test using deterministic fingerprints with crews.
lib/crewai/tests/security/test_deterministic_fingerprints.py:96
Function
test_crew_with_failing_task_guardrails
Test that crew properly handles failing guardrails and retries with validation feedback.
lib/crewai/tests/test_crew.py:4685
Function
test_crew_with_knowledge_sources_works_with_copy
(researcher, writer)
lib/crewai/tests/test_crew.py:4894
Method
test_crew_with_multiple_agents
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:209
Function
test_crew_with_only_conditional_tasks_raises_error
Test that creating a crew with only conditional tasks raises an error.
lib/crewai/tests/test_crew.py:92
Method
test_crew_with_output_file
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:381
Function
test_crew_with_security_config
Test creating a Crew with a SecurityConfig.
lib/crewai/tests/security/test_integration.py:35
Function
test_crew_with_streaming_litellm_agent_fails_task_with_provider_error
()
lib/crewai/tests/test_llm_litellm_streaming_errors.py:271
Method
test_crew_without_name_uses_default
Crew without name uses 'crew' as default for root_scope.
lib/crewai/tests/memory/test_memory_root_scope.py:694
Function
test_crewai_create_flow_with_a_provider_with_no_listed_model_exits_two
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:515
Function
test_crewai_create_flow_without_a_terminal_exits_zero_with_next_steps
( tmp_path: Path, monkeypatch: MonkeyPatch, no_provider_keys: None )
lib/cli/tests/test_create_flow.py:332
Function
test_crewai_drops_a_paste_marker_it_inherited
Only a key pasted at this process's prompt may outlast a `.env` that holds no key; a launcher must not be able to claim one was.
lib/cli/tests/test_cli.py:1064
Function
test_crewai_extras_add_litellm_for_a_name_the_native_provider_does_not_take
( model: str, extras: set[str] )
lib/cli/tests/test_constants.py:249
Function
test_crewai_extras_add_litellm_for_a_prefix_crewai_has_no_native_provider_for
crewAI sends these to LiteLLM, so a project created without the extra fails on its first run.
lib/cli/tests/test_constants.py:275
Function
test_crewai_extras_for_a_bare_or_unknown_model
( model: str, extras: set[str] )
lib/cli/tests/test_constants.py:266
Function
test_crewai_extras_for_a_model_its_provider_runs_natively
( model: str, extras: set[str] )
lib/cli/tests/test_constants.py:230
Function
test_crewai_imports_when_chromadb_is_unavailable
()
lib/crewai/tests/rag/config/test_chromadb_optional.py:19
Function
test_crewai_pins_every_workspace_sibling_to_its_own_version
()
lib/devtools/tests/test_toml_updates.py:641
Method
test_crewai_platform_tools_api_error_handling
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:157
Method
test_crewai_platform_tools_basic
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:12
Method
test_crewai_platform_tools_empty_apps
(self)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:139
Method
test_crewai_platform_tools_multiple_apps
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:26
Method
test_crewai_platform_tools_no_token
(self)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:163
Function
test_crewai_run_inputs_kick_off_the_scaffolded_flow
( scaffolded_flow_main: ModuleType, tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:732
Function
test_crewai_run_inputs_reach_a_flow_whose_kickoff_ignores_them
A project whose `kickoff()` was written before `--inputs` reached Python flows: the flow class is kicked off directly, as AMP does, so the inputs
lib/cli/tests/test_create_flow.py:743
Function
test_crewais_own_agent_executor_is_tagged_internal
The agent executor is a Flow and runs once per agent execution. Without an origin tag it is indistinguishable from a user's flows in the dail
lib/crewai/tests/telemetry/test_flow_telemetry.py:507
Function
test_crewais_trace_provider_records_with_the_sdk_switched_off
Pins the SDK detail the provider relies on (its private `_disabled`).
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:342
Method
test_crlf_frontmatter_and_body
(self)
lib/crewai/tests/skills/test_parser.py:28
Function
test_crlf_line_endings_are_preserved
read_text/write_text would silently rewrite the whole file as LF.
lib/crewai/tests/telemetry/test_project_id.py:252
Method
test_csv_file_not_found_raises_error
Test that non-existent CSV file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:306
Function
test_csv_knowledge_source
Test CSVKnowledgeSource with a simple CSV file.
lib/crewai/tests/knowledge/test_knowledge.py:420
Method
test_csv_loader_handles_http_error
(self, mock_get)
lib/crewai-tools/tests/rag/test_csv_loader.py:124
Method
test_csv_loader_handles_network_errors
(self, mock_get)
lib/crewai-tools/tests/rag/test_csv_loader.py:116
Function
test_csv_preserves_quoted_newlines
( newline: str, source_kind: str, tmp_path: Path )
lib/crewai-tools/tests/rag/test_csv_loader_newlines.py:41
Function
test_csv_record_newlines
( newline: str, source_kind: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai-tools/tests/rag/test_csv_loader_newlines.py:11
← previous
next →
12,801–12,900 of 19,735, ranked by callers