MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Methodtest_reset_with_root_scope_only_deletes_scoped_records
reset() with root_scope only deletes within that scope.
lib/crewai/tests/memory/test_memory_root_scope.py:1022
Methodtest_reset_wrong_client_type
Test that reset raises TypeError for async client.
lib/crewai/tests/rag/qdrant/test_client.py:725
Methodtest_resets_between_kickoffs
(self)
lib/crewai/tests/test_flow_usage_metrics.py:250
Methodtest_resize_larger_image
Test resizing an image larger than max dimensions.
lib/crewai-files/tests/processing/test_transformers.py:46
Methodtest_resize_returns_image_file
Test that resize returns an ImageFile instance.
lib/crewai-files/tests/processing/test_transformers.py:96
Methodtest_resize_without_aspect_ratio
Test resizing without preserving aspect ratio.
lib/crewai-files/tests/processing/test_transformers.py:81
Functiontest_resolution_does_not_trigger_a_lazy_module_getattr
A PEP 562 ``__getattr__`` must never run: it is an import in disguise. Review finding on this PR. ``getattr(module, name)`` invokes a module-leve
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:659
Methodtest_resolve_bytes_source_still_works
Test that bytes source still resolves normally.
lib/crewai-files/tests/test_file_url.py:269
Functiontest_resolve_crew_inputs_does_not_flag_an_input_the_crew_declares
The retry after a pasted key passes back the crew's own defaults.
lib/cli/tests/test_run_crew.py:1040
Functiontest_resolve_crew_inputs_errors_when_missing_non_interactive
(capsys)
lib/cli/tests/test_run_crew.py:1073
Functiontest_resolve_crew_inputs_merges_inputs_over_defaults
()
lib/cli/tests/test_run_crew.py:1015
Functiontest_resolve_crew_inputs_merges_runtime_values
(monkeypatch)
lib/crewai/tests/cli/test_run_crew.py:152
Functiontest_resolve_crew_inputs_prompts_when_interactive
(monkeypatch)
lib/cli/tests/test_run_crew.py:1055
Functiontest_resolve_crew_inputs_warns_and_keeps_unknown_input
(capsys)
lib/cli/tests/test_run_crew.py:1025
Methodtest_resolve_files_multiple
Test resolving multiple files.
lib/crewai-files/tests/test_resolver.py:73
Methodtest_resolve_inline_base64
Test resolving file as inline base64.
lib/crewai-files/tests/test_resolver.py:50
Methodtest_resolve_inline_bytes_for_bedrock
Test resolving file as inline bytes for Bedrock.
lib/crewai-files/tests/test_resolver.py:61
Functiontest_resolve_reflects_registered_factory
()
lib/crewai/tests/memory/test_storage_factory.py:25
Functiontest_resolve_reflects_registered_factory
()
lib/crewai/tests/knowledge/test_storage_factory.py:63
Methodtest_resolve_repo_name_not_found
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:167
Methodtest_resolve_repo_name_with_prefix
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:141
Methodtest_resolve_repo_name_without_prefix
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:154
Functiontest_resolve_route_decides_what_new_constructs
`LLM._resolve_route` is `__new__`'s routing, callable without building anything.
lib/crewai/tests/test_llm.py:1242
Methodtest_resolve_url_source_azure
Test URL source resolves to UrlReference for Azure.
lib/crewai-files/tests/test_file_url.py:244
Methodtest_resolve_url_source_bedrock_fetches_content
Test URL source fetches content for Bedrock (unsupported URLs).
lib/crewai-files/tests/test_file_url.py:254
Methodtest_resolve_url_source_for_supported_provider
Test URL source resolves to UrlReference for supported providers.
lib/crewai-files/tests/test_file_url.py:213
Methodtest_resolve_url_source_gemini
Test URL source resolves to UrlReference for Gemini.
lib/crewai-files/tests/test_file_url.py:234
Methodtest_resolve_url_source_openai
Test URL source resolves to UrlReference for OpenAI.
lib/crewai-files/tests/test_file_url.py:224
Methodtest_resolve_with_cache
Test resolver uses cache.
lib/crewai-files/tests/test_resolver.py:92
Functiontest_resolved_catalog_window_is_not_written_back_into_the_field
()
lib/crewai/tests/llms/test_context_window.py:691
Functiontest_resolver_does_not_match_a_different_model_family
()
lib/crewai/tests/llms/test_context_window.py:57
Functiontest_resolver_prefers_a_configured_window_over_the_catalog
()
lib/crewai/tests/llms/test_context_window.py:466
Functiontest_resolver_uses_a_published_limit_as_given
()
lib/crewai/tests/llms/test_context_window.py:75
Functiontest_resolver_uses_default_for_an_unknown_model
()
lib/crewai/tests/llms/test_context_window.py:67
Functiontest_resolver_uses_the_exact_model_id
()
lib/crewai/tests/llms/test_context_window.py:27
Methodtest_resolves_a_pinned_skill_from_the_cache
Skills need not declare metadata.version; the cache records what it stored, so a second resolution must not download again.
lib/crewai/tests/skills/test_registry.py:284
Methodtest_resolves_cached_skill_when_project_local_skill_is_missing
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:243
Methodtest_resolves_relative_to_project_root_not_cwd
(self, tmp_path, monkeypatch)
lib/crewai/tests/project/test_json_loader.py:749
Methodtest_resolves_response_format_from_project_module
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:412
Functiontest_resolving_a_name_cannot_smuggle_in_a_message
Accepting the serialized name must not reopen the hole the class type closes. Resolution is against real exception classes only, so an identifier
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:532
Methodtest_resource_dirs
(self, tmp_path: Path)
lib/crewai/tests/skills/test_models.py:73
Methodtest_resources_level
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:289
Methodtest_resources_level_empty_files
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:306
Methodtest_responses_api_creates_delegate
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:95
Methodtest_responses_api_dict_does_not_return_empty_args
(self)
lib/crewai/tests/utilities/test_agent_utils.py:821
Methodtest_responses_api_dict_extracts_real_arguments
(self)
lib/crewai/tests/utilities/test_agent_utils.py:808
Methodtest_responses_api_dict_is_recognized_as_tool_call
(self)
lib/crewai/tests/utilities/test_agent_utils.py:780
Methodtest_responses_api_is_rejected
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/llms/snowflake/test_snowflake.py:95
Functiontest_responses_api_result_dataclass
Test ResponsesAPIResult dataclass functionality.
lib/crewai/tests/llms/openai/test_openai.py:1424
Functiontest_responses_api_result_has_reasoning
Test ResponsesAPIResult.has_reasoning() method.
lib/crewai/tests/llms/openai/test_openai.py:1458
Functiontest_responses_api_result_has_tool_outputs
Test ResponsesAPIResult.has_tool_outputs() method.
lib/crewai/tests/llms/openai/test_openai.py:1443
Methodtest_responses_base_url_from_base_endpoint
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:113
Methodtest_responses_base_url_preserves_port
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:134
Methodtest_responses_base_url_strips_deployment_path
Endpoint with /openai/deployments/... should still produce correct base_url.
lib/crewai/tests/llms/azure/test_azure_responses.py:123
Methodtest_restore_does_not_instantiate_abstract_base_llm
(self)
lib/crewai/tests/test_checkpoint.py:840
Methodtest_restore_from_default_none
(self)
lib/crewai/tests/test_checkpoint.py:209
Methodtest_restore_from_field
(self)
lib/crewai/tests/test_checkpoint.py:205
Functiontest_restore_from_state_id_none_is_no_op
restore_from_state_id=None (default) preserves baseline kickoff behavior.
lib/crewai/tests/test_flow_persistence.py:392
Functiontest_restore_from_state_id_not_found_silent_fallback
Lookup miss on restore_from_state_id silently falls through to default behavior.
lib/crewai/tests/test_flow_persistence.py:371
Methodtest_restore_keeps_original_expected_output
(self)
lib/crewai/tests/test_checkpoint.py:863
Methodtest_restore_legacy_outputs_evaluates_expressions
(self)
lib/crewai/tests/test_checkpoint.py:683
Methodtest_restore_wraps_legacy_plain_value_outputs
(self)
lib/crewai/tests/test_checkpoint.py:671
Functiontest_restoring_the_machine_transport_undoes_what_a_project_env_set
( machine: dict[str, str], )
lib/crewai-core/tests/test_plus_api_proxy.py:286
Methodtest_result_as_answer_false_on_tool_error
When a tool with result_as_answer=True raises, result_as_answer must be False. Regression test for https://github.com/crewAIInc/crewAI/issues
lib/crewai/tests/utilities/test_agent_utils.py:1053
Methodtest_result_as_answer_false_when_hook_blocks
When a before-hook blocks a tool with result_as_answer=True, result_as_answer must be False.
lib/crewai/tests/utilities/test_agent_utils.py:1092
Functiontest_result_as_answer_in_tool_decorator
()
lib/crewai/tests/tools/test_base_tool.py:121
Functiontest_result_as_answer_tool_output_is_not_requested_again
()
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:359
Methodtest_result_before_iteration_raises_error
Test that accessing result before iteration raises error.
lib/crewai/tests/test_streaming.py:110
Methodtest_result_before_iteration_raises_error
Test that accessing result before iteration raises error.
lib/crewai/tests/test_streaming.py:160
Methodtest_result_creation
Test HumanFeedbackResult can be created with all fields.
lib/crewai/tests/test_human_feedback_decorator.py:191
Functiontest_result_is_always_a_known_literal
PII guarantee: the return value can only ever be a known literal. Every marker is set to a value that would be catastrophic to emit, and the
lib/crewai/tests/telemetry/test_coding_agent_detection.py:375
Functiontest_result_is_cached
(monkeypatch)
lib/cli/tests/test_model_catalog.py:422
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
← previousnext →17,301–17,400 of 19,482, ranked by callers