Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,484 in github.com/crewAIInc/crewAI
⨍
Functions
19,484
◇
Types & classes
3,433
↳
Endpoints
991
Function
test_raise_connection_failure_falls_back_to_connection_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:136
Function
test_raise_connection_failure_prefers_teardown_http_status
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:126
Function
test_raise_connection_failure_reraises_typed_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:110
Method
test_raise_policy_counts_before_it_aborts
(self, features: list[str])
lib/crewai/tests/tools/test_tool_failure.py:2475
Method
test_raise_policy_still_aborts_at_the_limit
(self)
lib/crewai/tests/tools/test_tool_failure.py:1990
Method
test_raise_policy_still_aborts_the_step
(self)
lib/crewai/tests/tools/test_tool_failure.py:2291
Method
test_raise_policy_still_stops_the_crew
(self)
lib/crewai/tests/tools/test_tool_failure.py:2175
Function
test_raise_policy_tool_still_aborts_the_flow
()
lib/crewai/tests/test_flow_tool_action_failure_policy.py:74
Method
test_raised_tool_produces_a_failure_record
(self)
lib/crewai/tests/tools/test_tool_failure.py:624
Method
test_raises_for_directory
Test that FilePath raises for directories.
lib/crewai/tests/utilities/test_files.py:100
Method
test_raises_for_missing_file
Test that FilePath raises for non-existent files.
lib/crewai/tests/utilities/test_files.py:95
Method
test_raises_for_unknown_type
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:219
Method
test_raises_when_no_openai_key_and_no_custom_fn
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:321
Method
test_raises_without_pillow
Test that ProcessingDependencyError is raised without Pillow.
lib/crewai-files/tests/processing/test_transformers.py:105
Method
test_raising_after_hook_does_not_skip_later_result_rewrites
( self, mock_tool, mock_agent )
lib/crewai/tests/hooks/test_tool_hooks.py:616
Method
test_raising_before_hook_does_not_skip_later_hooks
Fail-open is per-hook: a crashing hook must not disable its neighbors. Regression guard for the dispatcher migration: previously the
lib/crewai/tests/hooks/test_llm_hooks.py:340
Method
test_raising_before_hook_does_not_skip_later_hooks_or_block
( self, mock_tool, mock_agent )
lib/crewai/tests/hooks/test_tool_hooks.py:587
Function
test_random_number_tool_invalid_range
()
lib/crewai/tests/tools/test_tool_usage.py:87
Function
test_random_number_tool_range
()
lib/crewai/tests/tools/test_tool_usage.py:81
Function
test_random_number_tool_schema
()
lib/crewai/tests/tools/test_tool_usage.py:93
Function
test_rate_limit_disabled_when_zero
requests_per_second=0 disables rate limiting entirely.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:659
Function
test_rate_limit_per_instance_independent
Each instance has its own rate-limit clock; a request on one does not delay the other.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:673
Function
test_rate_limit_skips_sleep_when_enough_time_passed
No sleep when the elapsed time already exceeds the interval.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:644
Function
test_rate_limit_sleeps_when_too_fast
Back-to-back calls within the interval trigger a sleep.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:626
Function
test_rate_limits_are_not_treated_as_context_window_errors
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/test_llm.py:505
Function
test_raw_false_calls_refine_response
With raw=False (the default), _refine_response transforms the API response.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:414
Method
test_raw_legacy_outputs_property_remains_readable
(self)
lib/crewai/tests/test_checkpoint.py:698
Method
test_raw_responses_item_uses_call_id_not_item_id
A raw function_call item carries both; only call_id can be correlated. function_call_output must reference call_id, so picking up the item's
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:78
Method
test_re_emits_on_each_execution
Usage is per-execution, unlike activation which is idempotent.
lib/crewai/tests/events/test_skill_usage_events.py:132
Function
test_re_validation_keeps_the_llm_a_kickoff_time_swap_set
()
lib/crewai/tests/test_llm_overlay.py:568
Function
test_re_validation_of_an_existing_agent_does_not_read_the_overlay_again
The event bus registers an agent in its RuntimeState the first time it emits, which re-runs `post_init_setup` on the same object. Inside a block
lib/crewai/tests/test_llm_overlay.py:543
Method
test_reaches_the_limit_and_records_a_repeated_call_failure
(self)
lib/crewai/tests/tools/test_tool_failure.py:1963
Method
test_reaches_the_wire_through_the_llm_factory
gpt-oss looks like an OpenAI name to the factory, so it never flags it.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:503
Method
test_reaches_the_wire_through_the_llm_factory
End to end: LLM(...) -> native provider -> request params.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:706
Function
test_react_follow_up_after_tool_result_is_retried
(use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:427
Method
test_react_path_reports_a_malformed_call
(self)
lib/crewai/tests/tools/test_tool_failure.py:1490
Function
test_react_tool_hooks_receive_agent_text_and_raw_cached_typed_output
()
lib/crewai/tests/tools/test_tool_usage.py:206
Function
test_react_tools_keep_classic_task_slice_in_prompt_slot
()
lib/crewai/tests/utilities/test_prompts_custom_templates.py:51
Method
test_read_caches_content
Test that read() caches content.
lib/crewai-files/tests/test_file_url.py:102
Method
test_read_fetches_content
Test that read() fetches content from URL.
lib/crewai-files/tests/test_file_url.py:87
Function
test_read_last_run_reads_the_record_crewai_writes
(tmp_path)
lib/cli/tests/experimental/test_eval_crew.py:1590
Function
test_read_only_contributor_still_requires_issue
()
lib/crewai/tests/ci/test_ftc_require_issue.py:150
Method
test_read_only_cte_allowed
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:70
Function
test_read_only_file_is_not_an_error
A read-only checkout must not break the command that called this.
lib/crewai/tests/telemetry/test_project_id.py:148
Method
test_read_secure_file_exists
Test reading existing file.
lib/cli/tests/test_token_manager.py:239
Method
test_read_secure_file_exists
Test reading existing file.
lib/crewai/tests/cli/test_token_manager.py:235
Method
test_read_secure_file_not_exists
Test reading non-existent file returns None.
lib/cli/tests/test_token_manager.py:254
Method
test_read_secure_file_not_exists
Test reading non-existent file returns None.
lib/crewai/tests/cli/test_token_manager.py:250
Method
test_read_updates_content_type_from_response
Test that read() updates content type from response headers.
lib/crewai-files/tests/test_file_url.py:116
Function
test_readers_block_writers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:95
Function
test_reading_an_evaluation_says_this_cli_can_export_it
`can_export=1` lets the brief name `crewai eval export`: an AMP that does not know the parameter drops it, and the brief stays silent about it.
lib/cli/tests/test_plus_api.py:628
Function
test_reading_llm_property_does_not_override_complexity_level
Reading the default LLM must not override later complexity selection.
lib/crewai-tools/tests/tools/test_vision_tool.py:82
Function
test_reads_a_real_pdf_end_to_end
Real PDF bytes are extracted page by page.
lib/crewai-tools/tests/url_read_tool_test.py:365
Method
test_reads_from_valid_cache
Test reading yanked status from a valid cache.
lib/cli/tests/test_version.py:303
Method
test_reads_from_valid_cache
Test reading yanked status from a valid cache.
lib/crewai/tests/cli/test_version.py:267
Function
test_reads_only_an_allowed_artifact
(tmp_path)
lib/crewai/tests/tools/agent_tools/test_deferred_tool_result_reader.py:8
Function
test_reads_plain_text
A text response is returned as-is, with the configured limits applied.
lib/crewai-tools/tests/url_read_tool_test.py:144
Method
test_reads_sampling_params_off_self
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:192
Function
test_reads_utf8_by_default
(tmp_path, monkeypatch)
lib/crewai-tools/tests/file_read_tool_test.py:416
Method
test_reads_wait_for_a_free_slot_and_say_so_when_none_frees
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:380
Function
test_real_documentdb_ingestion_index_and_ranked_search
Verify ingestion, IVF indexing, ranking, and optional result fields.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_e2e.py:92
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
← previous
next →
17,001–17,100 of 19,484, ranked by callers