Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
Function
test_reset_removes_the_collection_for_an_awkward_name
(client)
lib/crewai/tests/rag/qdrant/test_collection_names.py:87
Method
test_reset_runtime_state_clears_state_and_registry
(self)
lib/crewai/tests/test_event_record.py:414
Function
test_reset_scoped
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:195
Method
test_reset_settings
(self, mock_token_manager)
lib/cli/tests/test_config.py:76
Method
test_reset_settings
(self, mock_token_manager)
lib/crewai/tests/cli/test_config.py:73
Function
test_reset_short_flag_deprecated_maps_to_memory
(mock_get_crews, runner)
lib/crewai/tests/cli/test_cli.py:69
Function
test_reset_usage_count
Test that reset_usage_count method works correctly.
lib/crewai/tests/tools/test_tool_usage_limit.py:85
Method
test_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
Method
test_reset_wrong_client_type
Test that reset raises TypeError for async client.
lib/crewai/tests/rag/qdrant/test_client.py:725
Method
test_resets_between_kickoffs
(self)
lib/crewai/tests/test_flow_usage_metrics.py:250
Method
test_resize_image
(self)
lib/crewai-files/tests/processing/test_images.py:112
Method
test_resize_larger_image
Test resizing an image larger than max dimensions.
lib/crewai-files/tests/processing/test_transformers.py:50
Method
test_resize_narrow_image
( self, width: int, height: int, expected: tuple[int, int] )
lib/crewai-files/tests/processing/test_transformers.py:104
Method
test_resize_rejects_nonpositive_bounds
( self, max_width: int, max_height: int )
lib/crewai-files/tests/processing/test_transformers.py:117
Method
test_resize_returns_image_file
Test that resize returns an ImageFile instance.
lib/crewai-files/tests/processing/test_transformers.py:126
Method
test_resize_without_aspect_ratio
Test resizing without preserving aspect ratio.
lib/crewai-files/tests/processing/test_transformers.py:85
Function
test_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
Method
test_resolve_bytes_source_still_works
Test that bytes source still resolves normally.
lib/crewai-files/tests/test_file_url.py:269
Function
test_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
Function
test_resolve_crew_inputs_errors_when_missing_non_interactive
(capsys)
lib/cli/tests/test_run_crew.py:1073
Function
test_resolve_crew_inputs_merges_inputs_over_defaults
()
lib/cli/tests/test_run_crew.py:1015
Function
test_resolve_crew_inputs_merges_runtime_values
(monkeypatch)
lib/crewai/tests/cli/test_run_crew.py:152
Function
test_resolve_crew_inputs_prompts_when_interactive
(monkeypatch)
lib/cli/tests/test_run_crew.py:1055
Function
test_resolve_crew_inputs_warns_and_keeps_unknown_input
(capsys)
lib/cli/tests/test_run_crew.py:1025
Method
test_resolve_files_multiple
Test resolving multiple files.
lib/crewai-files/tests/test_resolver.py:77
Method
test_resolve_inline_base64
Test resolving file as inline base64.
lib/crewai-files/tests/test_resolver.py:54
Method
test_resolve_inline_bytes_for_bedrock
Test resolving file as inline bytes for Bedrock.
lib/crewai-files/tests/test_resolver.py:65
Function
test_resolve_reflects_registered_factory
()
lib/crewai/tests/memory/test_storage_factory.py:25
Function
test_resolve_reflects_registered_factory
()
lib/crewai/tests/knowledge/test_storage_factory.py:63
Method
test_resolve_repo_name_not_found
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:167
Method
test_resolve_repo_name_with_prefix
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:141
Method
test_resolve_repo_name_without_prefix
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:154
Function
test_resolve_route_decides_what_new_constructs
`LLM._resolve_route` is `__new__`'s routing, callable without building anything.
lib/crewai/tests/test_llm.py:1242
Method
test_resolve_url_source_azure
Test URL source resolves to UrlReference for Azure.
lib/crewai-files/tests/test_file_url.py:244
Method
test_resolve_url_source_bedrock_fetches_content
Test URL source fetches content for Bedrock (unsupported URLs).
lib/crewai-files/tests/test_file_url.py:254
Method
test_resolve_url_source_for_supported_provider
Test URL source resolves to UrlReference for supported providers.
lib/crewai-files/tests/test_file_url.py:213
Method
test_resolve_url_source_gemini
Test URL source resolves to UrlReference for Gemini.
lib/crewai-files/tests/test_file_url.py:234
Method
test_resolve_url_source_openai
Test URL source resolves to UrlReference for OpenAI.
lib/crewai-files/tests/test_file_url.py:224
Method
test_resolve_with_cache
Test resolver uses cache.
lib/crewai-files/tests/test_resolver.py:96
Function
test_resolved_catalog_window_is_not_written_back_into_the_field
()
lib/crewai/tests/llms/test_context_window.py:693
Function
test_resolver_does_not_match_a_different_model_family
()
lib/crewai/tests/llms/test_context_window.py:57
Function
test_resolver_prefers_a_configured_window_over_the_catalog
()
lib/crewai/tests/llms/test_context_window.py:468
Function
test_resolver_uses_a_published_limit_as_given
()
lib/crewai/tests/llms/test_context_window.py:75
Function
test_resolver_uses_default_for_an_unknown_model
()
lib/crewai/tests/llms/test_context_window.py:67
Function
test_resolver_uses_the_exact_model_id
()
lib/crewai/tests/llms/test_context_window.py:27
Method
test_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
Method
test_resolves_cached_skill_when_project_local_skill_is_missing
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:243
Method
test_resolves_relative_to_project_root_not_cwd
(self, tmp_path, monkeypatch)
lib/crewai/tests/project/test_json_loader.py:749
Method
test_resolves_response_format_from_project_module
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:412
Function
test_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
Method
test_resource_dirs
(self, tmp_path: Path)
lib/crewai/tests/skills/test_models.py:73
Method
test_resources_level
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:289
Method
test_resources_level_empty_files
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:306
Method
test_responses_api_creates_delegate
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:95
Method
test_responses_api_dict_does_not_return_empty_args
(self)
lib/crewai/tests/utilities/test_agent_utils.py:842
Method
test_responses_api_dict_extracts_real_arguments
(self)
lib/crewai/tests/utilities/test_agent_utils.py:829
Method
test_responses_api_dict_is_recognized_as_tool_call
(self)
lib/crewai/tests/utilities/test_agent_utils.py:801
Method
test_responses_api_is_rejected
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/llms/snowflake/test_snowflake.py:95
Function
test_responses_api_result_dataclass
Test ResponsesAPIResult dataclass functionality.
lib/crewai/tests/llms/openai/test_openai.py:1424
Function
test_responses_api_result_has_reasoning
Test ResponsesAPIResult.has_reasoning() method.
lib/crewai/tests/llms/openai/test_openai.py:1458
Function
test_responses_api_result_has_tool_outputs
Test ResponsesAPIResult.has_tool_outputs() method.
lib/crewai/tests/llms/openai/test_openai.py:1443
Method
test_responses_base_url_from_base_endpoint
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:113
Method
test_responses_base_url_preserves_port
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:134
Method
test_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
Method
test_restore_does_not_instantiate_abstract_base_llm
(self)
lib/crewai/tests/test_checkpoint.py:840
Method
test_restore_from_default_none
(self)
lib/crewai/tests/test_checkpoint.py:209
Method
test_restore_from_field
(self)
lib/crewai/tests/test_checkpoint.py:205
Function
test_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
Function
test_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
Method
test_restore_keeps_original_expected_output
(self)
lib/crewai/tests/test_checkpoint.py:863
Method
test_restore_legacy_outputs_evaluates_expressions
(self)
lib/crewai/tests/test_checkpoint.py:683
Method
test_restore_wraps_legacy_plain_value_outputs
(self)
lib/crewai/tests/test_checkpoint.py:671
Function
test_restoring_the_machine_transport_undoes_what_a_project_env_set
( machine: dict[str, str], )
lib/crewai-core/tests/test_plus_api_proxy.py:286
Method
test_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:1074
Method
test_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:1113
Function
test_result_as_answer_in_tool_decorator
()
lib/crewai/tests/tools/test_base_tool.py:121
Function
test_result_as_answer_tool_output_is_not_requested_again
()
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:359
Method
test_result_before_iteration_raises_error
Test that accessing result before iteration raises error.
lib/crewai/tests/test_streaming.py:110
Method
test_result_before_iteration_raises_error
Test that accessing result before iteration raises error.
lib/crewai/tests/test_streaming.py:160
Method
test_result_creation
Test HumanFeedbackResult can be created with all fields.
lib/crewai/tests/test_human_feedback_decorator.py:191
Function
test_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
Function
test_result_is_cached
(monkeypatch)
lib/cli/tests/test_model_catalog.py:422
Method
test_result_schema_behavior_carries_over_to_structured_tool
(self)
lib/crewai/tests/tools/test_base_tool.py:588
Method
test_result_stays_inline_when_better_compaction_is_disabled
(self)
lib/crewai/tests/agents/test_agent_executor.py:2555
Method
test_result_stays_inline_when_deferral_is_unavailable
(self, overflow_result)
lib/crewai/tests/agents/test_agent_executor.py:2532
Method
test_result_with_metadata
Test HumanFeedbackResult with custom metadata.
lib/crewai/tests/test_human_feedback_decorator.py:207
Function
test_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
Method
test_results_stop_at_twelve_thousand_characters
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:274
Method
test_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
Method
test_resume_async_direct
Test resume_async() can be called directly in async context.
lib/crewai/tests/test_async_human_feedback.py:616
Method
test_resume_async_stores_lessons
(self)
lib/crewai/tests/test_async_human_feedback.py:1527
Method
test_resume_basic
Test basic resume functionality.
lib/crewai/tests/test_async_human_feedback.py:654
Method
test_resume_builds_llm_from_serialized_context
( self, mock_emit: MagicMock )
lib/crewai/tests/test_async_human_feedback.py:1420
Function
test_resume_emits_failed_event_paired_with_resume_started_event
(tmp_path)
lib/crewai/tests/utilities/test_events.py:783
Function
test_resume_failing_before_method_finishes_keeps_flow_pairing
(tmp_path)
lib/crewai/tests/utilities/test_events.py:889
Function
test_resume_freezes_fresh_cel_now
()
lib/crewai/tests/test_flow_from_definition.py:4041
Method
test_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
Method
test_resume_is_safe
Test resume method exists and doesn't error.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:57
Function
test_resume_pairs_resumed_method_events_with_their_own_scope
(tmp_path)
lib/crewai/tests/utilities/test_events.py:832
Method
test_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
← previous
next →
17,501–17,600 of 19,735, ranked by callers