MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Methodtest_persist_preserves_human_feedback_config
Test @persist preserves the config stamped by @human_feedback.
lib/crewai/tests/test_human_feedback_decorator.py:119
Functiontest_persist_restore_by_id_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3911
Methodtest_persist_resume_executes_only_pending_methods
(self, tmp_path)
lib/crewai/tests/events/test_event_replay.py:185
Functiontest_persisted_tracked_turn_keeps_live_records_and_jobs
(tmp_path)
lib/crewai/tests/test_flow_turns.py:374
Functiontest_persistence_with_base_model
(tmp_path)
lib/crewai/tests/test_flow_persistence.py:199
Functiontest_personal_access_token_from_environment
(tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:40
Functiontest_pick_uses_custom_labels
(monkeypatch)
lib/cli/tests/test_tui_picker.py:7
Methodtest_pins_exact_version
(self)
lib/devtools/tests/test_toml_updates.py:288
Methodtest_pins_minimum_version
(self)
lib/devtools/tests/test_toml_updates.py:298
Methodtest_pins_with_tools_extra
(self)
lib/devtools/tests/test_toml_updates.py:309
Functiontest_pipeline_is_silent_when_collector_rejects
(live_telemetry, caplog)
lib/crewai/tests/telemetry/test_export_logs.py:34
Functiontest_placeholder_key_in_env_counts_as_missing
( provider: Provider, via_llm: bool )
lib/crewai/tests/llms/test_missing_api_key.py:158
Functiontest_placeholder_key_passed_explicitly_counts_as_missing
( provider: Provider, )
lib/crewai/tests/llms/test_missing_api_key.py:170
Functiontest_plain_absolute_path_outside_cwd_is_allowed
( project: Path, tmp_path: Path )
lib/crewai-files/tests/test_file_path_containment.py:63
Functiontest_plain_agent_chat_prints_chunks_before_model_finishes
(monkeypatch)
lib/crewai/tests/test_flow_chat_tui.py:125
Functiontest_plain_chat_does_not_print_router_chunks
(monkeypatch, capsys)
lib/crewai/tests/test_flow_chat_tui.py:175
Methodtest_plain_copy_still_carries_configuration
(self)
lib/crewai/tests/test_crew_copy_resume_state.py:67
Functiontest_plain_embedding_function_keeps_default_dimension
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:92
Functiontest_plain_error_still_becomes_recovery_observation
Only deliberate aborts re-raise; plain errors stay recoverable.
lib/crewai/tests/agents/test_react_tool_hook_contract.py:73
Functiontest_plain_http_to_this_machine_is_fine_for_local_development
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:500
Methodtest_plain_json_unchanged
(self)
lib/crewai/tests/project/test_json_loader.py:67
Methodtest_plain_read_only_cte_still_allowed
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:319
Methodtest_plain_string
(self)
lib/crewai/tests/skills/test_registry.py:108
Methodtest_plain_string_response_is_matched
Test that plain string response is correctly matched.
lib/crewai/tests/test_async_human_feedback.py:1067
Methodtest_plain_text_answer_not_misclassified
(self)
lib/crewai/tests/utilities/test_agent_utils.py:790
Methodtest_plain_tools_default_to_inheriting
(self)
lib/crewai/tests/tools/test_tool_failure.py:492
Methodtest_plan_per_task_requires_task_number
Test that PlanPerTask model requires task_number field.
lib/crewai/tests/utilities/test_planning_handler.py:183
Methodtest_plan_per_task_with_task_number
Test PlanPerTask model with task_number field.
lib/crewai/tests/utilities/test_planning_handler.py:188
Functiontest_plan_refinement_updates_descriptions_without_new_statuses
()
lib/cli/tests/test_crew_run_tui.py:2000
Methodtest_plan_step
(self, features: list[str], llm_cls: type[LLM])
lib/crewai/tests/tools/test_tool_failure.py:2469
Methodtest_plan_step_lifecycle_events_are_emitted_from_todo_transitions
Todo transitions should publish authoritative plan step events.
lib/crewai/tests/agents/test_agent_executor.py:1027
Functiontest_plan_step_lifecycle_events_update_the_explicit_step
()
lib/cli/tests/test_crew_run_tui.py:896
Methodtest_plan_step_requires_description
Test that description is required.
lib/crewai/tests/utilities/test_planning_types.py:58
Methodtest_plan_step_requires_step_number
Test that step_number is required.
lib/crewai/tests/utilities/test_planning_types.py:53
Methodtest_plan_step_serialization
Test PlanStep can be serialized to dict.
lib/crewai/tests/utilities/test_planning_types.py:63
Functiontest_plan_step_status_updates_only_the_explicit_step
()
lib/cli/tests/test_crew_run_tui.py:842
Methodtest_plan_step_with_all_fields
Test PlanStep creation with all fields.
lib/crewai/tests/utilities/test_planning_types.py:29
Methodtest_plan_step_with_multiple_dependencies
Test PlanStep with multiple dependencies.
lib/crewai/tests/utilities/test_planning_types.py:43
Methodtest_plan_step_with_required_fields
Test PlanStep creation with only required fields.
lib/crewai/tests/utilities/test_planning_types.py:17
Functiontest_planning_config_custom_values
Test PlanningConfig with custom values.
lib/crewai/tests/agents/test_agent_reasoning.py:27
Methodtest_planning_config_default_is_medium
(self)
lib/crewai/tests/agents/test_agent_executor.py:3379
Functiontest_planning_config_default_values
Test PlanningConfig default values.
lib/crewai/tests/agents/test_agent_reasoning.py:13
Methodtest_planning_config_reasoning_effort_default_is_medium
Verify PlanningConfig defaults reasoning_effort to 'medium' (aligned with runtime default in _get_reasoning_effort).
lib/crewai/tests/agents/test_agent_executor.py:2268
Methodtest_planning_config_reasoning_effort_validation
Verify PlanningConfig rejects invalid reasoning_effort values.
lib/crewai/tests/agents/test_agent_executor.py:2276
Methodtest_planning_creates_minimal_steps_for_multi_step_task
Test that planning creates steps and executes them for a multi-step task. This task requires multiple dependent steps: 1. Identify th
lib/crewai/tests/agents/test_agent_executor.py:1702
Methodtest_planning_disabled_skips_planning
Test that planning=False skips planning.
lib/crewai/tests/agents/test_agent_executor.py:1623
Functiontest_planning_enabled_property
Test the planning_enabled property on Agent.
lib/crewai/tests/agents/test_agent_reasoning.py:111
Methodtest_planning_handles_sequential_dependency_task
Test planning for a task where step N depends on step N-1. Task: Convert 100 Celsius to Fahrenheit, then round to nearest 10. Step 1:
lib/crewai/tests/agents/test_agent_executor.py:1748
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
← previousnext →16,801–16,900 of 19,663, ranked by callers