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
Function
test_real_documentdb_prefilter_and_duplicate_id_error
Verify native metadata filtering and duplicate-ID write failures.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_e2e.py:128
Function
test_real_exception_class_names_are_accepted
Every builtin exception name is a valid identifier, so none are dropped.
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:117
Function
test_real_http_error_status_still_raises_its_own_type
A genuine 429 was already handled; it must not route through the new guard.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:368
Function
test_real_setup_failure_closes_connection
(monkeypatch, failure_stage, case)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:495
Method
test_reason_enum_member_is_used
INVALID_INPUT was declared but unreferenced before this.
lib/crewai/tests/tools/test_tool_failure.py:1287
Function
test_reason_is_echoed_back
(mock_sleep, tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:45
Method
test_reasoning_effort_high_runs_full_observation_pipeline
High effort: full observation pipeline with decide/replan/refine. Verifies that with reasoning_effort='high': 1. The agent produces a
lib/crewai/tests/agents/test_agent_executor.py:2049
Method
test_reasoning_effort_low_marks_complete_without_deciding
Low effort: mark_completed is called, decide_next_action is not. Unit test verifying the low handler's behavior directly.
lib/crewai/tests/agents/test_agent_executor.py:2185
Method
test_reasoning_effort_low_marks_failed_steps_failed_without_replan
Low effort records failed heuristic observations without replanning.
lib/crewai/tests/agents/test_agent_executor.py:2221
Method
test_reasoning_effort_low_skips_decide_and_replan
Low effort: heuristic observe, no decide/replan/refine LLM pipeline. Verifies that with reasoning_effort='low': 1. The agent produces
lib/crewai/tests/agents/test_agent_executor.py:1986
Method
test_reasoning_effort_low_skips_planner_observer_llm
Low effort must not call PlannerObserver.observe (no per-step LLM).
lib/crewai/tests/agents/test_agent_executor.py:1942
Method
test_reasoning_effort_medium_replans_on_failure
Medium effort: replan triggered when observation reports failure. This test mocks the PlannerObserver to simulate a failed step, veri
lib/crewai/tests/agents/test_agent_executor.py:2106
Method
test_reasoning_models_still_support_tools
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:195
Method
test_reasoning_plan_with_empty_steps
Test ReasoningPlan can be created with empty steps.
lib/crewai/tests/utilities/test_structured_planning.py:107
Method
test_reasoning_plan_with_steps
Test ReasoningPlan with structured steps.
lib/crewai/tests/utilities/test_structured_planning.py:119
Function
test_rebuilt_module_keeps_its_own_identity
(module_name)
lib/crewai/tests/test_imports.py:110
Function
test_recall_does_not_refresh_access_time_when_read_only
Recall against a read-only Memory leaves last_accessed untouched.
lib/crewai/tests/memory/test_unified_memory.py:498
Function
test_recall_drains_pending_writes
recall() should automatically wait for pending background saves.
lib/crewai/tests/memory/test_unified_memory.py:1263
Method
test_recall_with_root_scope_and_explicit_scope_nests
recall() with root_scope + explicit scope combines them.
lib/crewai/tests/memory/test_memory_root_scope.py:887
Method
test_recall_with_root_scope_only_returns_scoped_records
recall() with root_scope returns only records within that scope.
lib/crewai/tests/memory/test_memory_root_scope.py:844
Method
test_recall_without_root_scope_works_globally
recall() without root_scope searches globally (backward compat).
lib/crewai/tests/memory/test_memory_root_scope.py:912
Function
test_recheck_after_claim_and_before_output_blocks_stale_completion
()
lib/crewai/tests/test_flow_replies.py:121
Method
test_recognising_an_archive_reads_only_the_start_of_its_mimetype
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:75
Method
test_recognizes_responses_shape
(self)
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:52
Method
test_reconciled_native_dict_is_not_double_counted
(self)
lib/crewai/tests/events/test_llm_usage_event.py:368
Function
test_record_ids_with_quotes_are_matched_literally
(tmp_path: Path)
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:120
Method
test_record_summary_mentions_tool_and_task
(self)
lib/crewai/tests/tools/test_tool_failure.py:162
Function
test_recorded_guardrail_error_fails_even_with_a_passing_decision
()
lib/crewai/tests/test_jev_evaluation_runner.py:317
Method
test_recorded_results_do_not_leak_across_turns
The per-turn list resets, so turn 2 is judged on its own.
lib/crewai/tests/test_flow_conversation.py:3667
Function
test_recording_mute_playback_and_foreground_gate_preserve_pending_reply
()
lib/crewai/tests/test_flow_replies.py:171
Function
test_recording_the_same_export_twice_counts_it_once
(collector, sent_features)
lib/crewai/tests/telemetry/test_session_trace_export.py:936
Method
test_records_survive_reopen
(self, backend: str, tmp_path: Path)
lib/crewai/tests/memory/test_storage_backend_async_parity.py:242
Method
test_records_the_reason_and_defaults_to_cli
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:176
Method
test_records_tui_when_started_from_the_run_ui
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:53
Method
test_records_tui_when_started_from_the_run_ui
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:147
Method
test_recover_from_context_length
Test recovery from context length error.
lib/crewai/tests/agents/test_agent_executor.py:1119
Method
test_recover_from_parser_error
Test recovery from OutputParserError.
lib/crewai/tests/agents/test_agent_executor.py:1100
Method
test_recovered_call_reports_no_failure
The retried attempt must not emit LLMCallFailedEvent.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:280
Function
test_recreating_components_with_same_seed
Test recreating components with the same seed across sessions.
lib/crewai/tests/security/test_deterministic_fingerprints.py:136
Method
test_recursive
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:860
Method
test_recursive
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:920
Method
test_recursive_defs_keep_shadowing_names
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:581
Method
test_recursive_nested_objects
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:819
Method
test_redacts_absolute_prefix_outside_base
(self, tmp_path)
lib/crewai-tools/tests/utilities/test_safe_path.py:97
Function
test_redis_available_with_url_and_package
(monkeypatch)
lib/crewai/tests/utilities/test_lock_store.py:46
Function
test_redis_not_available_when_package_missing
(monkeypatch)
lib/crewai/tests/utilities/test_lock_store.py:40
Function
test_redis_not_available_without_url
()
lib/crewai/tests/utilities/test_lock_store.py:36
Method
test_redownloads_when_the_cached_version_is_not_the_pinned_one
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:312
Method
test_reentrant_flow_kickoff_pairs_ends_per_invocation
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:517
Method
test_reentrant_kickoff_emits_started_once_per_invocation
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:775
Method
test_ref_in_property
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:470
Function
test_reference_scaffold_tools_and_skills_work_outside_project_root
( format, tmp_path, monkeypatch )
lib/cli/tests/test_create_agent.py:275
Function
test_refine_request_payload_passes_multiple_goggles_as_multiple_params
(web_tool)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:330
Function
test_refusals_taking_turns_cannot_keep_the_wait_going
iris on #8148: a 503 and a 429 taking turns broke each other's counts (the 429 a streak of 5xx, the 5xx the rate-limit count), so callers could
lib/cli/tests/experimental/test_eval_crew.py:720
Method
test_refuses_a_version_the_registry_served_instead_of_the_pin
A registry predating pinning ignores the parameter and serves its newest version; caching that under the pin would poison every later
lib/crewai/tests/skills/test_registry.py:296
Function
test_refuses_links_with_upgrade_hint
Even a link that stays inside dest is refused; filter="data" handles it.
lib/cli/tests/skills/test_safe_extract.py:100
Method
test_register_after_hook
Test that after hooks are registered correctly.
lib/crewai/tests/hooks/test_llm_hooks.py:149
Method
test_register_after_hook
Test that after hooks are registered correctly.
lib/crewai/tests/hooks/test_tool_hooks.py:224
Method
test_register_before_hook
Test that before hooks are registered correctly.
lib/crewai/tests/hooks/test_llm_hooks.py:91
Method
test_register_before_hook
Test that before hooks are registered correctly.
lib/crewai/tests/hooks/test_tool_hooks.py:131
Function
test_register_handler_adds_new_handler
(base_agent, base_task)
lib/crewai/tests/utilities/test_events.py:986
Function
test_registered_factory_is_used_for_its_provider
()
lib/crewai/tests/rag/test_client_factory_registry.py:27
Method
test_registered_hooks_tracked_on_instance
Test that registered hooks are tracked on the crew instance.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:412
Function
test_regular_file_inside_cwd_is_allowed
(project: Path)
lib/crewai-files/tests/test_file_path_containment.py:17
Function
test_regular_flow_lifecycle_is_unchanged
(monkeypatch, quiet, fail)
lib/crewai/tests/telemetry/test_conversation_spans.py:149
Method
test_regular_openai_with_nested_config
Test regular OpenAI configuration with nested config.
lib/crewai/tests/rag/embeddings/test_factory_azure.py:53
Method
test_rejected_batch_reports_nothing
A 500 means the batch never landed, so it must not be counted.
lib/crewai/tests/tracing/test_tracing.py:1633
Function
test_rejected_output_file_is_not_kept_for_later_runs
A rejected interpolation must leave output_file as it was, so a later run with no inputs (which skips interpolation) cannot write to the injected
lib/crewai/tests/test_task.py:1301
Function
test_rejected_request_includes_the_api_explanation
The API explains config it rejects; that explanation is what makes the failure actionable.
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:297
Function
test_rejected_request_names_the_http_cause
The agent cannot act on "go read a log", so the status the SDK logged has to reach the failure itself.
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:277
Function
test_rejected_request_reports_failure
The SDK logs HTTP errors and returns an empty response instead of raising, so a rejected request must be reported rather than indexed into.
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:208
Function
test_rejected_review_rerun_reads_outputs_of_steps_before_the_pause
(tmp_path)
lib/crewai/tests/test_flow_from_definition.py:4410
Method
test_rejection_message_redacts_absolute_prefixes
(self, tmp_path)
lib/crewai-tools/tests/utilities/test_safe_path.py:73
Method
test_rejects_a_blank_pin_rather_than_floating_to_latest
( self, monkeypatch: pytest.MonkeyPatch, version: str )
lib/crewai/tests/skills/test_registry.py:454
Method
test_rejects_absolute_path_outside_base
Reject absolute path outside base_dir.
lib/crewai-tools/tests/utilities/test_safe_path.py:41
Method
test_rejects_an_awaitable_bound_to_a_loop
(self)
lib/crewai/tests/utilities/test_agent_utils.py:1203
Function
test_rejects_bad_identifier
()
lib/crewai/tests/test_artifacts.py:92
Method
test_rejects_body_over_the_limit
Crossing max_bytes raises rather than truncating silently.
lib/crewai-tools/tests/url_read_tool_test.py:833
Method
test_rejects_bytes_that_are_not_an_image
(self)
lib/crewai-files/tests/processing/test_images.py:88
Method
test_rejects_dotdot_traversal
Reject ../ traversal that escapes base_dir.
lib/crewai-tools/tests/utilities/test_safe_path.py:36
Method
test_rejects_endpoint_path_in_base_url
(self)
lib/crewai/tests/llms/snowflake/test_snowflake.py:39
Method
test_rejects_file_as_directory
(self, tmp_path)
lib/crewai-tools/tests/utilities/test_safe_path.py:113
Function
test_rejects_invalid_explicit_agent_definition
( tmp_path: Path, definition: str )
lib/crewai-core/tests/test_agent_project_entrypoint.py:34
Function
test_rejects_invalid_supplied_package_name
(tmp_path: Path, name: object)
lib/crewai-core/tests/test_agent_project_entrypoint.py:66
Method
test_rejects_invalid_version_string
(self, tmp_path: Path)
lib/devtools/tests/test_docs_versioning.py:233
Method
test_rejects_jpeg_2000
(self)
lib/crewai-files/tests/processing/test_images.py:83
Method
test_rejects_missing_edge_directory
(self, tmp_path: Path)
lib/devtools/tests/test_docs_versioning.py:243
Method
test_rejects_more_than_one_version_pin
(self)
lib/crewai/tests/skills/test_registry.py:172
Function
test_rejects_non_package_name
(project)
lib/crewai/tests/project/test_agent_project.py:94
Function
test_rejects_non_tool_target_even_with_opt_in
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/tools/test_deserialization_guard.py:50
Method
test_rejects_psd_for_a_provider_with_dimension_limits
(self)
lib/crewai-files/tests/processing/test_images.py:122
Method
test_rejects_psd_that_would_be_optimized
(self)
lib/crewai-files/tests/processing/test_images.py:128
Method
test_rejects_psd_without_running_its_parser
(self)
lib/crewai-files/tests/processing/test_images.py:61
Method
test_rejects_symlink_escape
Reject symlinks that point outside base_dir.
lib/crewai-tools/tests/utilities/test_safe_path.py:52
Method
test_rejects_traversal
(self, tmp_path)
lib/crewai-tools/tests/utilities/test_safe_path.py:118
Function
test_relative_base_dir_is_anchored_at_construction
A relative base_dir must not follow a later chdir. Otherwise the sandbox root moves while the declared file stays pinned, and the tool applie
lib/crewai-tools/tests/file_read_tool_test.py:304
Function
test_relative_base_dir_is_anchored_at_construction
A relative base_dir must not follow a later chdir.
lib/crewai-tools/tests/tools/test_file_writer_tool.py:308
Function
test_relative_declared_path_anchors_to_base_dir
A relative declared path must resolve against base_dir, not the cwd. The advertised label is built against base_dir, so pinning against the cwd
lib/crewai-tools/tests/file_read_tool_test.py:281
Method
test_release_bump_moves_every_sibling_pin_in_crewai
( self, tmp_path: Path )
lib/devtools/tests/test_toml_updates.py:497
Function
test_release_updates_crew_and_flow_canary_repositories
(monkeypatch)
lib/devtools/tests/test_toml_updates.py:21
← previous
next →
17,201–17,300 of 19,663, ranked by callers