MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Functiontest_planning_true_without_config_sets_bounded_max_attempts
planning=True alone must not leave max_attempts=None (infinite refine loop).
lib/crewai/tests/agents/test_agent_reasoning.py:89
Functiontest_platform_action_picker_is_searchable
(monkeypatch)
lib/cli/tests/test_create_crew.py:504
Functiontest_platform_app_categories_cover_the_catalog_once
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_constants.py:40
Functiontest_platform_app_default_tools_match_the_catalog
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_constants.py:31
Functiontest_platform_applications_expand_in_the_main_tool_picker
(monkeypatch)
lib/cli/tests/test_create_crew.py:722
Functiontest_platform_apps_contains_supported_application_catalog
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_constants.py:13
Functiontest_platform_auth_fetches_token_from_login_when_env_is_missing
(monkeypatch)
lib/cli/tests/test_create_crew.py:1106
Functiontest_platform_auth_ignores_transport_from_a_dotenv_loaded_on_import
( monkeypatch, )
lib/cli/tests/test_create_crew.py:1039
Functiontest_platform_auth_suppresses_warnings_only_while_importing_tools
( monkeypatch, capsys )
lib/cli/tests/test_create_crew.py:995
Methodtest_platform_context_manager_basic_usage
(self)
lib/crewai/tests/test_context.py:60
Methodtest_platform_context_manager_exception_handling
Test that platform_context properly resets token even when exception occurs.
lib/crewai/tests/test_context.py:101
Methodtest_platform_context_manager_nested_contexts
Test nested platform_context context managers.
lib/crewai/tests/test_context.py:71
Methodtest_platform_context_manager_preserves_existing_token
Test that platform_context preserves existing token when exiting.
lib/crewai/tests/test_context.py:88
Methodtest_platform_context_manager_with_none_initial_state
Test platform_context when initial state is None.
lib/crewai/tests/test_context.py:116
Methodtest_platform_context_with_env_fallback
Test platform_context interaction with environment variable fallback.
lib/crewai/tests/test_context.py:130
Functiontest_platform_revalidation_requires_confirmation
(monkeypatch)
lib/cli/tests/test_create_crew.py:797
Methodtest_platform_tool_discovery_errors_are_json_project_errors
( self, monkeypatch )
lib/crewai/tests/project/test_json_loader.py:467
Methodtest_platform_tool_refs_materialize_multiple_application_tools
( self, monkeypatch )
lib/crewai/tests/project/test_json_loader.py:436
Functiontest_platform_validation_announces_concurrent_apps_together
(capsys)
lib/cli/tests/test_create_crew.py:1160
Functiontest_platform_validation_checks_apps_concurrently
()
lib/cli/tests/test_create_crew.py:1136
Functiontest_platform_validation_deduplicates_actions_by_application
()
lib/cli/tests/test_create_crew.py:780
Functiontest_platform_validation_falls_back_to_sequential_checks
(monkeypatch, capsys)
lib/cli/tests/test_create_crew.py:1207
Functiontest_platform_validation_guidance_links_to_amp
(capsys)
lib/cli/tests/test_create_crew.py:810
Functiontest_platform_validation_passes_configured_amp_url_to_client_factory
()
lib/cli/tests/test_create_crew.py:1182
Functiontest_plot_flow_keeps_python_entrypoint_without_definition
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:84
Functiontest_plot_flow_runs_configured_declarative_definition
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
lib/cli/tests/test_flow_commands.py:56
Functiontest_poetry_lock_is_accepted
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:300
Methodtest_points_at_responses_api
(self, message: str)
lib/crewai/tests/llms/openai/test_responses_only_models.py:197
Methodtest_policy_resolves_through_original_tool_reference
Even a wrapper that never copied the field resolves via _original_tool.
lib/crewai/tests/tools/test_tool_failure.py:450
Methodtest_policy_survives_to_structured_tool
(self)
lib/crewai/tests/tools/test_tool_failure.py:442
Methodtest_poll_for_token_error
Test the method to poll for token (error path).
lib/cli/tests/authentication/test_auth_main.py:525
Methodtest_poll_for_token_falls_back_to_ten_minutes_without_expires_in
( self, mock_console_print, mock_post, fake_clock )
lib/cli/tests/authentication/test_auth_main.py:462
Methodtest_poll_for_token_signs_in_after_more_than_ten_pending_polls
A sign-in that takes about a minute used to be cut off at 10 polls.
lib/cli/tests/authentication/test_auth_main.py:501
Methodtest_poll_for_token_success
(self, mock_console_print, mock_post)
lib/cli/tests/authentication/test_auth_main.py:295
Methodtest_poll_for_token_treats_the_providers_expired_token_as_the_timeout
The provider can expire the code before our own deadline passes.
lib/cli/tests/authentication/test_auth_main.py:477
Methodtest_poll_for_token_waits_until_the_code_expires_then_exits
( self, mock_console_print, mock_post, fake_clock )
lib/cli/tests/authentication/test_auth_main.py:442
Methodtest_polling_completes_task
Test that polling handler completes a task successfully.
lib/crewai/tests/a2a/test_a2a_integration.py:64
Functiontest_polymorphic_field_serializes_concrete_subclass
()
lib/crewai/tests/utilities/test_serialization.py:121
Methodtest_pool_is_shut_down_with_cancel_futures
A pending sibling must never start once an abort is requested. In-flight threads cannot be interrupted in Python, so this covers the
lib/crewai/tests/tools/test_tool_failure.py:1609
Methodtest_pop
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:117
Methodtest_pop_empty_stack_returns_none
(self)
lib/crewai/tests/events/test_event_context.py:56
Methodtest_pop_last
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:126
Methodtest_pop_restores_parent
(self)
lib/crewai/tests/events/test_event_context.py:49
Functiontest_pop_task_state_falls_back_to_current_task
()
lib/cli/tests/test_crew_run_tui.py:2111
Methodtest_positional_argument_with_data_type
Test positional argument with data_type.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:340
Functiontest_positional_query_argument
tool.run('my query') works as a positional argument.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:441
Methodtest_post_step_can_rewrite_method_output
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:221
Methodtest_post_step_rewrite_is_persisted_to_output_file
( self, tmp_path, monkeypatch )
lib/crewai/tests/hooks/test_interception_conformance.py:410
Functiontest_post_tool_abort_reaches_caller_on_react_text_path
()
lib/crewai/tests/agents/test_react_tool_hook_contract.py:56
Functiontest_post_tool_abort_reaches_caller_without_another_model_call
( batch_size, async_entry )
lib/crewai/tests/agents/test_native_tool_hook_contract.py:75
Methodtest_pre_and_post_step_fire_per_method
(self)
lib/crewai/tests/hooks/test_interception_conformance.py:203
Methodtest_pre_review_failure_logs_and_returns_raw_output
Pre-review LLM failure falls back to raw output AND logs a warning.
lib/crewai/tests/test_human_feedback_decorator.py:762
Methodtest_pre_review_failure_strict_reraises
When learn_strict=True, pre-review failures propagate instead of falling back.
lib/crewai/tests/test_human_feedback_decorator.py:808
Functiontest_precedence_matches_get_env_context
The two signals must agree on which assistant is present.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:146
Methodtest_prefers_an_installed_client
A hosted runtime installs a client; the default must not be built, since looking up a user credential raises when there isn't one.
lib/crewai/tests/utilities/test_agent_utils.py:1167
Methodtest_prefers_project_local_skill_over_cached_skill
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:196
Functiontest_prefixed_models_with_invalid_constants_use_litellm
Test that models with native provider prefixes use LiteLLM when model is NOT in constants and does NOT match patterns.
lib/crewai/tests/test_llm.py:1065
Functiontest_prefixed_models_with_non_native_providers_use_litellm
Test that models with non-native provider prefixes always use LiteLLM.
lib/crewai/tests/test_llm.py:1101
Functiontest_prefixed_models_with_valid_constants_use_native_sdk
Test that models with native provider prefixes use native SDK when model is in constants.
lib/crewai/tests/test_llm.py:1044
Functiontest_prefixed_models_with_valid_patterns_use_native_sdk
Test that models matching provider patterns use native SDK even if not in constants.
lib/crewai/tests/test_llm.py:1086
Functiontest_preparation_retry_during_playback_preserves_lease_and_completion
()
lib/crewai/tests/test_flow_replies.py:273
Methodtest_prepare_clears_stale_last_intent
(self)
lib/crewai/tests/test_flow_conversation.py:113
Methodtest_prepare_completion_params_preserves_markers_in_input
(self)
lib/crewai/tests/llms/test_prompt_cache.py:211
Methodtest_prepare_completion_params_strips_marker
(self)
lib/crewai/tests/llms/test_prompt_cache.py:200
Methodtest_prepare_completion_params_uses_snowflake_model_name
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:133
Methodtest_prepare_documents_generate_ids
Test preparing documents without doc_ids (should generate hashes).
lib/crewai/tests/rag/chromadb/test_utils.py:130
Methodtest_prepare_documents_hash_consistency
Test that identical content produces identical hashes.
lib/crewai/tests/rag/chromadb/test_utils.py:166
Methodtest_prepare_documents_no_metadata
Test preparing documents without metadata.
lib/crewai/tests/rag/chromadb/test_utils.py:155
Methodtest_prepare_documents_with_doc_ids
Test preparing documents that already have doc_ids.
lib/crewai/tests/rag/chromadb/test_utils.py:109
Methodtest_prepare_documents_with_list_metadata
Test preparing documents with list metadata (should take first item).
lib/crewai/tests/rag/chromadb/test_utils.py:144
Methodtest_prepare_git_repository_returns_repo_when_init_commit_fails
( self, mock_repository )
lib/cli/tests/deploy/test_deploy_main.py:1465
Functiontest_prepare_kickoff_binds_task_only_agent_to_crew
Agents referenced only via task.agent must get .crew set during prepare_kickoff. Regression for crewAIInc/crewAI#5534: when Crew is built without
lib/crewai/tests/test_crew.py:5435
Functiontest_prepare_kickoff_binds_the_executor_to_the_re_resolved_llm
The real kickoff ordering: interpolate, then set up the agents' executors.
lib/crewai/tests/test_llm_overlay.py:512
Functiontest_prepare_kickoff_extracts_files_from_messages
Test that _prepare_kickoff extracts files from messages.
lib/crewai/tests/agents/test_lite_agent.py:936
Functiontest_prepare_kickoff_merges_files_from_messages_and_parameter
Test that _prepare_kickoff merges files from messages and parameter.
lib/crewai/tests/agents/test_lite_agent.py:977
Functiontest_prepare_kickoff_param_files_override_message_files
Test that files parameter overrides files from messages with same name.
lib/crewai/tests/agents/test_lite_agent.py:1024
Functiontest_prepare_output_makes_dir
(mock_exists, mock_makedirs)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:127
Functiontest_prepare_project_for_deploy_blocks_install_when_validation_fails
( monkeypatch, tmp_path: Path )
lib/cli/tests/deploy/test_deploy_main.py:104
Functiontest_prepare_project_for_deploy_creates_missing_lock_after_validation
( monkeypatch, tmp_path: Path )
lib/cli/tests/deploy/test_deploy_main.py:142
Methodtest_preserve_aspect_ratio
Test that aspect ratio is preserved during resize.
lib/crewai-files/tests/processing/test_transformers.py:72
Methodtest_preserves_arbitrary_extras
(self)
lib/devtools/tests/test_toml_updates.py:357
Methodtest_preserves_comment_markers_inside_strings
(self)
lib/crewai/tests/project/test_json_loader.py:43
Methodtest_preserves_comments_and_formatting
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:269
Methodtest_preserves_default_values
Test that default values are preserved in the schema.
lib/crewai/tests/utilities/test_agent_utils.py:631
Methodtest_preserves_existing_cortex_base_url
(self)
lib/crewai/tests/llms/snowflake/test_snowflake.py:35
Methodtest_preserves_existing_headers
Test that interceptor preserves existing headers.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:217
Methodtest_preserves_existing_v1
Test that existing /v1 is preserved.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:116
Methodtest_preserves_field_descriptions
Test that field descriptions are preserved in the schema.
lib/crewai/tests/utilities/test_agent_utils.py:619
Methodtest_preserves_ids_and_sequence
(self)
lib/crewai/tests/events/test_event_replay.py:32
Methodtest_preserves_listen_method_definition
Test that @human_feedback preserves the @listen method definition.
lib/crewai/tests/test_human_feedback_decorator.py:237
Methodtest_preserves_non_matching_braces
Test that non-matching braces patterns are preserved.
lib/crewai/tests/utilities/test_string_utils.py:133
Methodtest_preserves_order
(self)
lib/crewai/tests/tools/test_tool_failure.py:1041
Methodtest_preserves_start_method_attributes
Test that @human_feedback preserves @start decorator attributes.
lib/crewai/tests/test_human_feedback_decorator.py:221
Methodtest_preserves_surrounding_text
(self)
lib/devtools/tests/test_toml_updates.py:415
Methodtest_preserves_urls_with_double_slash
(self)
lib/crewai/tests/project/test_json_loader.py:37
Functiontest_presigned_octet_stream_docx_is_read_from_its_bytes
A DOCX behind the same extensionless presigned link is extracted.
lib/crewai-tools/tests/url_read_tool_test.py:414
Functiontest_presigned_octet_stream_pdf_is_read_from_its_bytes
The reported failure: octet-stream, no extension, real PDF bytes. Presigned object-store links from the SharePoint connector use a content ha
lib/crewai-tools/tests/url_read_tool_test.py:394
Functiontest_presigned_octet_stream_xlsx_is_read_from_its_bytes
The reported file: an XLSX behind an extensionless presigned link.
lib/crewai-tools/tests/url_read_tool_test.py:617
Functiontest_pressing_evaluate_again_opens_the_report_it_already_made
One evaluation per run: the second press is somebody looking for the report, not asking to pay for another.
lib/cli/tests/test_crew_run_tui.py:320
Functiontest_pressing_evaluate_on_an_untraced_run_counts_the_press_and_nothing_else
It is not a stop: the run happens again, and `crewai eval` counts why it ran the crew (`eval_ran_crew:run_again`) and how that ended.
lib/cli/tests/test_crew_run_tui.py:2941
← previousnext →16,901–17,000 of 19,735, ranked by callers