MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

Methodtest_result_schema_behavior_carries_over_to_structured_tool
(self)
lib/crewai/tests/tools/test_base_tool.py:588
Methodtest_result_stays_inline_when_better_compaction_is_disabled
(self)
lib/crewai/tests/agents/test_agent_executor.py:2555
Methodtest_result_stays_inline_when_deferral_is_unavailable
(self, overflow_result)
lib/crewai/tests/agents/test_agent_executor.py:2532
Methodtest_result_with_metadata
Test HumanFeedbackResult with custom metadata.
lib/crewai/tests/test_human_feedback_decorator.py:207
Functiontest_result_without_content_is_reported
A result object missing `content` entirely must not raise AttributeError.
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:365
Methodtest_results_stop_at_twelve_thousand_characters
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:274
Methodtest_resume_aggregates_under_foreign_flow_context
Resume must override an already-set ``current_flow_id`` so its own LLM events match the listener's filter even when invoked from insid
lib/crewai/tests/test_flow_usage_metrics.py:469
Methodtest_resume_async_direct
Test resume_async() can be called directly in async context.
lib/crewai/tests/test_async_human_feedback.py:616
Methodtest_resume_async_stores_lessons
(self)
lib/crewai/tests/test_async_human_feedback.py:1527
Methodtest_resume_basic
Test basic resume functionality.
lib/crewai/tests/test_async_human_feedback.py:654
Methodtest_resume_builds_llm_from_serialized_context
( self, mock_emit: MagicMock )
lib/crewai/tests/test_async_human_feedback.py:1420
Functiontest_resume_emits_failed_event_paired_with_resume_started_event
(tmp_path)
lib/crewai/tests/utilities/test_events.py:783
Functiontest_resume_failing_before_method_finishes_keeps_flow_pairing
(tmp_path)
lib/crewai/tests/utilities/test_events.py:889
Functiontest_resume_freezes_fresh_cel_now
()
lib/crewai/tests/test_flow_from_definition.py:3927
Methodtest_resume_from_async_context_raises_error
Test that resume() raises RuntimeError when called from async context.
lib/crewai/tests/test_async_human_feedback.py:580
Methodtest_resume_is_safe
Test resume method exists and doesn't error.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:57
Functiontest_resume_pairs_resumed_method_events_with_their_own_scope
(tmp_path)
lib/crewai/tests/utilities/test_events.py:832
Methodtest_resume_records_method_output_before_downstream_listeners
Downstream listeners can read outputs from the resumed method.
lib/crewai/tests/test_async_human_feedback.py:829
Methodtest_resume_replays_completed_and_executes_pending
(self, tmp_path)
lib/crewai/tests/events/test_event_replay.py:123
Methodtest_resume_routes_on_the_reply_and_stores_lessons
(self)
lib/crewai/tests/test_async_human_feedback.py:1548
Methodtest_resume_routing
Test resume with routing.
lib/crewai/tests/test_async_human_feedback.py:733
Methodtest_resume_stores_lessons_distilled_from_the_reply
(self)
lib/crewai/tests/test_async_human_feedback.py:1504
Methodtest_resume_stores_lessons_under_the_configured_source
(self)
lib/crewai/tests/test_async_human_feedback.py:1584
Functiontest_resume_synthetic_completion_persists
()
lib/crewai/tests/test_flow_from_definition.py:3895
Methodtest_resume_with_empty_reply_stores_nothing
(self)
lib/crewai/tests/test_async_human_feedback.py:1606
Methodtest_resume_without_feedback_uses_default
Test that resume() can be called without feedback argument.
lib/crewai/tests/test_async_human_feedback.py:1378
Methodtest_resume_without_learn_leaves_memory_untouched
(self)
lib/crewai/tests/test_async_human_feedback.py:1622
Methodtest_resume_without_pending_raises_error
Test that resume raises error without pending context.
lib/crewai/tests/test_async_human_feedback.py:567
Functiontest_resumed_flow_is_reported
A restored run is only visible here - there is no resume event. Without it, a paused flow that was abandoned cannot be told apart from one th
lib/crewai/tests/telemetry/test_flow_telemetry.py:540
Functiontest_resumed_is_recorded_as_a_string
A boolean is encoded as the presence of a key, not as a value. ``false`` arrives as the key simply being absent, which is invisible in the sc
lib/crewai/tests/telemetry/test_telemetry.py:479
Methodtest_resumed_pydantic_output_arrives_as_a_dict
(self, mock_emit: MagicMock)
lib/crewai/tests/test_async_human_feedback.py:1739
Methodtest_retries_on_5xx_then_succeeds
Retries on 500 server error, succeeds on second attempt.
lib/crewai/tests/tracing/test_tracing.py:1004
Methodtest_retries_on_none_response_then_succeeds
Retries when API returns None, succeeds on second attempt.
lib/crewai/tests/tracing/test_tracing.py:972
Methodtest_retries_on_responses_and_remembers_the_model
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_responses_only_models.py:82
Methodtest_retries_on_the_async_path
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:275
Methodtest_retries_on_the_async_streaming_path
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:308
Methodtest_retries_on_the_streaming_path
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:291
Methodtest_retries_with_none_and_succeeds
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:226
Methodtest_retries_without_the_key_and_succeeds
(self, monkeypatch)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:257
Functiontest_retrieve
()
lib/crewai/tests/utilities/test_i18n.py:23
Functiontest_retrieve_not_found
()
lib/crewai/tests/utilities/test_i18n.py:29
Methodtest_retry_after_a_failed_completion_offers_the_lessons_again
(self)
lib/crewai/tests/test_async_human_feedback.py:1694
Functiontest_retry_after_reads_seconds_or_a_date_and_anything_else_waits_a_minute
(header, wait)
lib/cli/tests/experimental/test_eval_crew.py:774
Functiontest_retry_after_waits_until_a_date_still_ahead
()
lib/cli/tests/experimental/test_eval_crew.py:779
Functiontest_retry_is_admitted_by_the_rpm_limiter
( replies: tuple[Any, ...], admitted: int, use_async: bool )
lib/crewai/tests/agents/test_empty_llm_response_retry.py:179
Methodtest_retry_limit_does_not_swallow_the_abort
A deliberate stop must not be retried as a transient error.
lib/crewai/tests/tools/test_tool_failure.py:689
Functiontest_retry_uses_exponential_backoff_when_no_retry_after
Without Retry-After, backoff is 2^attempt (1s, 2s, ...).
lib/crewai-tools/tests/tools/brave_search_tool_test.py:754
Methodtest_return_value_replaces_payload
(self)
lib/crewai/tests/hooks/test_dispatch.py:60
Methodtest_returns_agent_card
to_agent_card should return an AgentCard instance.
lib/crewai/tests/a2a/utils/test_agent_card.py:81
Methodtest_returns_all_records_newest_first
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:178
Methodtest_returns_all_tools_without_hash
(self, mock_schemas, resolver)
lib/crewai/tests/mcp/test_amp_mcp.py:523
Methodtest_returns_body_content_type_and_final_url
The helper reports the body alongside where it ended up.
lib/crewai-tools/tests/url_read_tool_test.py:818
Methodtest_returns_empty_for_nonexistent_tool
(self, mock_schemas, resolver)
lib/crewai/tests/mcp/test_amp_mcp.py:540
Methodtest_returns_empty_on_http_error
(self, mock_get_token, mock_plus_api_class, resolver)
lib/crewai/tests/mcp/test_amp_mcp.py:155
Methodtest_returns_empty_on_network_error
(self, mock_get_token, mock_plus_api_class, resolver)
lib/crewai/tests/mcp/test_amp_mcp.py:168
Methodtest_returns_empty_when_no_token
(self, mock_get_token, resolver)
lib/crewai/tests/mcp/test_amp_mcp.py:180
Methodtest_returns_false_for_missing_file
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:266
Methodtest_returns_false_on_fetch_failure
Test that fetch failure returns not yanked.
lib/cli/tests/test_version.py:390
Methodtest_returns_false_on_fetch_failure
Test that fetch failure returns not yanked.
lib/crewai/tests/cli/test_version.py:354
Methodtest_returns_false_when_already_current
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:235
Methodtest_returns_false_when_no_matching_event
(self)
lib/crewai/tests/events/test_event_context.py:223
Methodtest_returns_false_when_no_project_section
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:247
Methodtest_returns_false_when_no_runtime_state
(self)
lib/crewai/tests/events/test_event_context.py:212
Methodtest_returns_false_when_version_is_dynamic
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:253
Functiontest_returns_float32_vectors_in_input_order
(openai_mock)
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:34
Methodtest_returns_highest_non_yanked
Test that the highest non-yanked version is returned.
lib/cli/tests/test_version.py:192
Methodtest_returns_highest_non_yanked
Test that the highest non-yanked version is returned.
lib/crewai/tests/cli/test_version.py:156
Methodtest_returns_none_for_invalid_image
Test that None is returned for invalid image data.
lib/crewai-files/tests/processing/test_transformers.py:316
Methodtest_returns_none_for_invalid_pdf
Test that None is returned for invalid PDF data.
lib/crewai-files/tests/processing/test_transformers.py:356
Methodtest_returns_none_when_absent
Nothing left to drop -- the retry must not loop.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:251
Methodtest_returns_none_when_all_yanked
Test that None is returned when all versions are yanked.
lib/cli/tests/test_version.py:201
Methodtest_returns_none_when_all_yanked
Test that None is returned when all versions are yanked.
lib/crewai/tests/cli/test_version.py:165
Methodtest_returns_none_when_already_none
Nothing left to try -- the retry must not loop.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:218
Methodtest_returns_none_when_no_current_task
Cancel returns None when context has no current_task.
lib/crewai/tests/a2a/utils/test_task.py:298
Functiontest_returns_none_when_no_id_configured
(pyproject)
lib/crewai/tests/telemetry/test_project_id.py:36
Methodtest_returns_none_without_pillow
Test that None is returned when Pillow is not installed.
lib/crewai-files/tests/processing/test_transformers.py:324
Methodtest_returns_relative_path_inside_base
(self, tmp_path)
lib/crewai-tools/tests/utilities/test_safe_path.py:88
Methodtest_returns_results_as_json
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:397
Methodtest_returns_updated_task_when_current_task_exists
Cancel returns updated task when context has current_task.
lib/crewai/tests/a2a/utils/test_task.py:311
Methodtest_returns_zero_when_no_calls_happen
(self)
lib/crewai/tests/test_flow_usage_metrics.py:233
Methodtest_review_hook_keeps_original_on_enter
Test that pressing Enter keeps original result.
lib/crewai/tests/hooks/test_human_approval.py:308
Methodtest_review_hook_modifies_result
Test that review hook can modify tool results.
lib/crewai/tests/hooks/test_human_approval.py:280
Functiontest_revokes_an_artifact_alias
(tmp_path)
lib/crewai/tests/tools/agent_tools/test_deferred_tool_result_reader.py:22
Methodtest_rewrites_all_workspace_pins
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:449
Methodtest_rewrites_openapi_refs_to_snapshot_yaml
(self, tmp_path: Path)
lib/devtools/tests/test_docs_versioning.py:115
Methodtest_rewrites_stale_per_section_redirects_to_new_default
( self, tmp_path: Path )
lib/devtools/tests/test_docs_versioning.py:186
Functiontest_root_config_without_pyproject
(tmp_path, monkeypatch)
lib/crewai/tests/project/test_agent_project.py:231
Methodtest_root_empty_inner_value
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:118
Methodtest_root_only_inner_none
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:106
Methodtest_root_only_inner_slash
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:103
Methodtest_root_only_returns_root
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:84
Methodtest_root_path_with_query_does_not_double_slash
A root path alongside a query yields /v1, not //v1.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:148
Functiontest_root_python_agent_without_package_directory
(data_project)
lib/crewai/tests/project/test_agent_project.py:221
Methodtest_root_scope_with_root_inner_scope
When inner scope is '/', result is just the root_scope.
lib/crewai/tests/memory/test_memory_root_scope.py:357
Methodtest_root_with_trailing_slash
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:100
Methodtest_roots_multiple
(self)
lib/crewai/tests/test_event_record.py:249
Methodtest_roots_single_root
(self)
lib/crewai/tests/test_event_record.py:243
Methodtest_round_trips_all_fields
(self, storage: StorageBackend)
lib/crewai/tests/memory/test_storage_backend_contract.py:101
Methodtest_round_trips_through_str
(self)
lib/crewai/tests/skills/test_registry.py:179
Methodtest_roundtrip_preserves_edge_symmetry
(self)
lib/crewai/tests/test_event_record.py:301
← previousnext →17,201–17,300 of 19,264, ranked by callers