MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Methodtest_recursive
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:920
Methodtest_recursive_defs_keep_shadowing_names
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:581
Methodtest_recursive_nested_objects
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:819
Methodtest_redacts_absolute_prefix_outside_base
(self, tmp_path)
lib/crewai-tools/tests/utilities/test_safe_path.py:97
Functiontest_redis_available_with_url_and_package
(monkeypatch)
lib/crewai/tests/utilities/test_lock_store.py:46
Functiontest_redis_not_available_when_package_missing
(monkeypatch)
lib/crewai/tests/utilities/test_lock_store.py:40
Functiontest_redis_not_available_without_url
()
lib/crewai/tests/utilities/test_lock_store.py:36
Methodtest_redownloads_when_the_cached_version_is_not_the_pinned_one
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:312
Methodtest_reentrant_flow_kickoff_pairs_ends_per_invocation
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:517
Methodtest_reentrant_kickoff_emits_started_once_per_invocation
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:775
Methodtest_ref_in_property
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:470
Functiontest_reference_scaffold_tools_and_skills_work_outside_project_root
( format, tmp_path, monkeypatch )
lib/cli/tests/test_create_agent.py:275
Functiontest_refine_request_payload_passes_multiple_goggles_as_multiple_params
(web_tool)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:330
Functiontest_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
Methodtest_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
Functiontest_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
Methodtest_register_after_hook
Test that after hooks are registered correctly.
lib/crewai/tests/hooks/test_llm_hooks.py:149
Methodtest_register_after_hook
Test that after hooks are registered correctly.
lib/crewai/tests/hooks/test_tool_hooks.py:224
Methodtest_register_before_hook
Test that before hooks are registered correctly.
lib/crewai/tests/hooks/test_llm_hooks.py:91
Methodtest_register_before_hook
Test that before hooks are registered correctly.
lib/crewai/tests/hooks/test_tool_hooks.py:131
Functiontest_register_handler_adds_new_handler
(base_agent, base_task)
lib/crewai/tests/utilities/test_events.py:986
Functiontest_registered_factory_is_used_for_its_provider
()
lib/crewai/tests/rag/test_client_factory_registry.py:27
Methodtest_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
Functiontest_regular_flow_lifecycle_is_unchanged
(monkeypatch, quiet, fail)
lib/crewai/tests/telemetry/test_conversation_spans.py:149
Methodtest_regular_openai_with_nested_config
Test regular OpenAI configuration with nested config.
lib/crewai/tests/rag/embeddings/test_factory_azure.py:53
Methodtest_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
Functiontest_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:1300
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_rejected_review_rerun_reads_outputs_of_steps_before_the_pause
(tmp_path)
lib/crewai/tests/test_flow_from_definition.py:4296
Methodtest_rejection_message_redacts_absolute_prefixes
(self, tmp_path)
lib/crewai-tools/tests/utilities/test_safe_path.py:73
Methodtest_rejects_a_blank_pin_rather_than_floating_to_latest
( self, monkeypatch: pytest.MonkeyPatch, version: str )
lib/crewai/tests/skills/test_registry.py:454
Methodtest_rejects_absolute_path_outside_base
Reject absolute path outside base_dir.
lib/crewai-tools/tests/utilities/test_safe_path.py:41
Methodtest_rejects_an_awaitable_bound_to_a_loop
(self)
lib/crewai/tests/utilities/test_agent_utils.py:1203
Methodtest_rejects_body_over_the_limit
Crossing max_bytes raises rather than truncating silently.
lib/crewai-tools/tests/url_read_tool_test.py:833
Methodtest_rejects_dotdot_traversal
Reject ../ traversal that escapes base_dir.
lib/crewai-tools/tests/utilities/test_safe_path.py:36
Methodtest_rejects_endpoint_path_in_base_url
(self)
lib/crewai/tests/llms/snowflake/test_snowflake.py:39
Methodtest_rejects_file_as_directory
(self, tmp_path)
lib/crewai-tools/tests/utilities/test_safe_path.py:113
Functiontest_rejects_invalid_explicit_agent_definition
( tmp_path: Path, definition: str )
lib/crewai-core/tests/test_agent_project_entrypoint.py:34
Functiontest_rejects_invalid_supplied_package_name
(tmp_path: Path, name: object)
lib/crewai-core/tests/test_agent_project_entrypoint.py:66
Methodtest_rejects_invalid_version_string
(self, tmp_path: Path)
lib/devtools/tests/test_docs_versioning.py:233
Methodtest_rejects_missing_edge_directory
(self, tmp_path: Path)
lib/devtools/tests/test_docs_versioning.py:243
Methodtest_rejects_more_than_one_version_pin
(self)
lib/crewai/tests/skills/test_registry.py:172
Functiontest_rejects_non_package_name
(project)
lib/crewai/tests/project/test_agent_project.py:94
Functiontest_rejects_non_tool_target_even_with_opt_in
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/tools/test_deserialization_guard.py:50
Methodtest_rejects_symlink_escape
Reject symlinks that point outside base_dir.
lib/crewai-tools/tests/utilities/test_safe_path.py:52
Methodtest_rejects_traversal
(self, tmp_path)
lib/crewai-tools/tests/utilities/test_safe_path.py:118
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_release_bump_moves_every_sibling_pin_in_crewai
( self, tmp_path: Path )
lib/devtools/tests/test_toml_updates.py:497
Functiontest_release_updates_crew_and_flow_canary_repositories
(monkeypatch)
lib/devtools/tests/test_toml_updates.py:21
Functiontest_remaining_block_types
Audio and resource links get placeholders; embedded text is kept.
lib/crewai/tests/mcp/test_tool_result_content.py:94
Methodtest_remember_many_per_call_root_scope_override
remember_many accepts per-call root_scope override.
lib/crewai/tests/memory/test_memory_root_scope.py:274
Functiontest_remember_many_returns_immediately
remember_many() should return an empty list immediately (non-blocking).
lib/crewai/tests/memory/test_unified_memory.py:1182
Methodtest_remember_many_with_root_scope
remember_many respects root_scope for all items.
lib/crewai/tests/memory/test_memory_root_scope.py:233
Functiontest_remember_survives_llm_failure
When the LLM raises during parallel_analyze, remember() still saves with defaults.
lib/crewai/tests/memory/test_unified_memory.py:877
Methodtest_remove
Test removing cached entry.
lib/crewai-files/tests/test_upload_cache.py:126
Methodtest_remove
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:103
Methodtest_remove_by_file_id
Test removing by file ID.
lib/crewai-files/tests/test_upload_cache.py:146
Methodtest_remove_by_uuid_names_the_removed_deployment_not_the_local_project
(self)
lib/cli/tests/deploy/test_deploy_main.py:1880
Methodtest_remove_crew
(self)
lib/cli/tests/deploy/test_deploy_main.py:1869
Methodtest_remove_missing
Test removing non-existent entry returns False.
lib/crewai-files/tests/test_upload_cache.py:137
Methodtest_remove_nonexistent_tool
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:111
Functiontest_removed_crew_agent_executor_import_names_the_replacement
()
lib/crewai/tests/test_imports.py:68
Methodtest_removes_email_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:840
Methodtest_removes_empty_branch_dirs
(self)
lib/crewai/tests/test_checkpoint_cli.py:365
Methodtest_removes_redundant_schema_fields
Test that redundant title and description are removed from parameters.
lib/crewai/tests/utilities/test_agent_utils.py:610
Methodtest_removes_the_key
(self)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:244
Methodtest_removes_trailing_commas
(self)
lib/crewai/tests/project/test_json_loader.py:55
Methodtest_removes_trailing_commas_in_arrays
(self)
lib/crewai/tests/project/test_json_loader.py:61
Methodtest_removes_uri_format
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:855
Functiontest_render_report_prints_bracketed_text_verbatim
(severity, capsys)
lib/cli/tests/deploy/test_validate.py:767
Functiontest_render_template_does_not_replace_tokens_inside_replacement_values
(tmp_path)
lib/cli/tests/test_create_crew.py:1517
Functiontest_renewal_failure_stops_requests_without_anonymous_fallback
( destination, monkeypatch, caplog, expire_between_batches )
lib/crewai/tests/telemetry/test_grant_export_bounds.py:231
Methodtest_reopen_without_vector_dim_infers_it_from_the_store
( self, backend: str, tmp_path: Path )
lib/crewai/tests/memory/test_storage_backend_async_parity.py:361
Functiontest_repeated_exporter_shutdown_is_quiet
(caplog: pytest.LogCaptureFixture)
lib/crewai-core/tests/test_telemetry_shutdown.py:95
Methodtest_repeated_failures_are_recorded_once_each
Two failing calls give two records, not a replayed cache hit.
lib/crewai/tests/tools/test_tool_failure.py:931
Methodtest_repeated_format_preserves_markers
(self)
lib/crewai/tests/llms/test_prompt_cache.py:37
Methodtest_repeated_kickoffs_on_same_agent_report_per_call_usage
(self)
lib/crewai/tests/agents/test_lite_agent.py:1268
Functiontest_repeated_plain_exporter_shutdown_warns
Control for the test above: the base class does warn on the repeat call.
lib/crewai-core/tests/test_telemetry_shutdown.py:105
Methodtest_repeated_tool_call_limit_routes_to_force_final_answer
(self)
lib/crewai/tests/agents/test_agent_executor.py:2484
Methodtest_repins_a2a_extra
(self)
lib/devtools/tests/test_toml_updates.py:398
Methodtest_repins_tools_extra
(self)
lib/devtools/tests/test_toml_updates.py:402
Methodtest_replace_existing_pending_feedback
Test that saving pending feedback replaces existing entry.
lib/crewai/tests/test_async_human_feedback.py:345
Methodtest_replacement_output_keeps_earlier_failures
A guardrail may return a whole new TaskOutput; failures must survive.
lib/crewai/tests/tools/test_tool_failure.py:989
Methodtest_replaces_bypass_advice_with_remedy
(self, tmp_path)
lib/crewai-tools/tests/utilities/test_safe_path.py:357
Methodtest_replaces_only_the_target_record
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:134
Functiontest_replan_event_keeps_old_plan_until_next_streamed_plan_replaces_it
()
lib/cli/tests/test_crew_run_tui.py:1960
Functiontest_replay_emits_paired_kickoff_events
replay() must emit its own CrewKickoffStartedEvent before completing. The execution tail of replay() emits CrewKickoffCompletedEvent(started_even
lib/crewai/tests/test_crew.py:3146
Functiontest_replay_failure_does_not_leak_kickoff_scope_into_next_kickoff
The leaked replay start scope must not parent the next kickoff's events.
lib/crewai/tests/test_crew.py:3289
Functiontest_replay_failure_emits_kickoff_failed_event
A failed replay must terminate its own start event like kickoff() does. replay() emits CrewKickoffStartedEvent (scoping the completion), but its
lib/crewai/tests/test_crew.py:3212
Functiontest_replay_feature
(researcher, writer)
lib/crewai/tests/test_crew.py:3087
Functiontest_replay_help_hides_legacy_flag_aliases
(runner)
lib/cli/tests/test_cli.py:189
Functiontest_replay_interpolates_inputs_properly
(mock_interpolate_inputs)
lib/crewai/tests/test_crew.py:3904
Functiontest_replay_passes_filename
(replay_task_command_mock: mock.Mock, runner: CliRunner)
lib/crewai/tests/cli/test_replay_from_task.py:19
Functiontest_replay_preserves_messages
Test that replay preserves messages from stored task outputs.
lib/crewai/tests/test_crew.py:3691
Functiontest_replay_rejects_ambiguous_task_identities
Replay must fail loud when persisted task details cannot identify a task.
lib/crewai/tests/test_crew.py:3436
Functiontest_replay_rejects_changed_task_order
Replay must not restore a saved output onto a different current task.
lib/crewai/tests/test_crew.py:3359
← previousnext →17,101–17,200 of 19,482, ranked by callers