MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

Functiontest_reset_flow_unified_memory_uses_full_reset
(runner, tmp_path)
lib/crewai/tests/cli/test_cli.py:189
Functiontest_reset_full
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:188
Functiontest_reset_integration
Test collection reset through RAG client.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:97
Functiontest_reset_invalid_json_crew_blocks_reset
( mock_crew, runner, monkeypatch, tmp_path )
lib/crewai/tests/cli/test_cli.py:262
Functiontest_reset_json_crew_memory
(mock_crew, runner, monkeypatch, tmp_path)
lib/crewai/tests/cli/test_cli.py:240
Functiontest_reset_json_crew_skipped_for_declared_flow_project
( mock_crew, runner, monkeypatch, tmp_path )
lib/crewai/tests/cli/test_cli.py:287
Functiontest_reset_kickoff_outputs
(mock_get_crews, runner)
lib/crewai/tests/cli/test_cli.py:93
Functiontest_reset_knowledge
(mock_get_crews, runner)
lib/crewai/tests/cli/test_cli.py:119
Functiontest_reset_knowledge_with_crew_and_agent_knowledge
(researcher, writer)
lib/crewai/tests/test_crew.py:5208
Functiontest_reset_knowledge_with_no_crew_knowledge
(researcher, writer)
lib/crewai/tests/test_crew.py:5059
Functiontest_reset_knowledge_with_only_agent_knowledge
(researcher, writer)
lib/crewai/tests/test_crew.py:5233
Functiontest_reset_knowledge_with_only_crew_knowledge
(researcher, writer)
lib/crewai/tests/test_crew.py:5190
Functiontest_reset_long_flag_deprecated_maps_to_memory
(mock_get_crews, runner)
lib/crewai/tests/cli/test_cli.py:85
Functiontest_reset_memory
(mock_get_crews, runner)
lib/crewai/tests/cli/test_cli.py:56
Functiontest_reset_memory_from_many_crews
(mock_get_crews, runner)
lib/crewai/tests/cli/test_cli.py:141
Functiontest_reset_memory_uses_full_unified_memory_reset
(researcher)
lib/crewai/tests/test_crew.py:5078
Functiontest_reset_multiple_legacy_flags_collapsed_to_single_memory_reset
(mock_get_crews, runner)
lib/crewai/tests/cli/test_cli.py:107
Methodtest_reset_no_collections
Test that reset handles no collections gracefully.
lib/crewai/tests/rag/qdrant/test_client.py:710
Functiontest_reset_no_crew_or_flow_found
(runner)
lib/crewai/tests/cli/test_cli.py:228
Functiontest_reset_no_memory_flags
(runner)
lib/cli/tests/test_cli.py:87
Functiontest_reset_no_memory_flags
(runner)
lib/crewai/tests/cli/test_cli.py:339
Methodtest_reset_reasoning_chain
(self, mock_openai_completion)
lib/crewai/tests/llms/azure/test_azure_responses.py:287
Methodtest_reset_runtime_state_clears_state_and_registry
(self)
lib/crewai/tests/test_event_record.py:414
Functiontest_reset_scoped
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:195
Methodtest_reset_settings
(self, mock_token_manager)
lib/cli/tests/test_config.py:76
Methodtest_reset_settings
(self, mock_token_manager)
lib/crewai/tests/cli/test_config.py:73
Functiontest_reset_short_flag_deprecated_maps_to_memory
(mock_get_crews, runner)
lib/crewai/tests/cli/test_cli.py:69
Functiontest_reset_usage_count
Test that reset_usage_count method works correctly.
lib/crewai/tests/tools/test_tool_usage_limit.py:85
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:721
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:739
Methodtest_resolves_response_format_from_project_module
(self, tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:402
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:336
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:315
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
← previousnext →17,101–17,200 of 19,264, ranked by callers