MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Methodtest_pause_resume_exception_handling
Test that resume is called even if exception occurs during human input.
lib/crewai/tests/test_flow_human_input_integration.py:93
Functiontest_pause_resume_exports_traces_and_preserves_deferred_root
( in_memory_grant_collectors, monkeypatch, authenticated, deferred, async_run )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:83
Methodtest_pause_resume_with_no_live_session
Test pause/resume methods handle case when no Live session exists.
lib/crewai/tests/test_flow_human_input_integration.py:77
Methodtest_pause_stops_active_streaming_session
Test pausing stops an active streaming Live session.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:23
Functiontest_paused_and_method_failed_record_flow_and_origin
()
lib/crewai/tests/telemetry/test_telemetry.py:515
Functiontest_paused_flow_reports_the_pause
An async feedback provider pauses the flow; both signals must land.
lib/crewai/tests/telemetry/test_flow_telemetry.py:303
Methodtest_pdf_anthropic
Test PDF file with Anthropic.
lib/crewai/tests/test_agent_multimodal.py:363
Methodtest_pdf_anthropic
Test PDF file with Anthropic.
lib/crewai/tests/test_crew_multimodal.py:337
Functiontest_pdf_bytes_from_code_are_saved
(store)
lib/crewai/tests/test_artifacts.py:632
Methodtest_pdf_constraints_creation
Test creating PDF constraints.
lib/crewai-files/tests/processing/test_constraints.py:57
Methodtest_pdf_constraints_defaults
Test PDF constraints with default values.
lib/crewai-files/tests/processing/test_constraints.py:67
Methodtest_pdf_doc_id_is_stable
The same source yields the same doc_id across loads.
lib/crewai-tools/tests/rag/test_pdf_loader.py:148
Methodtest_pdf_file
Test agent can process a PDF file with Responses API.
lib/crewai/tests/test_agent_multimodal.py:190
Methodtest_pdf_file
Test agent can process a PDF file.
lib/crewai/tests/test_agent_multimodal.py:226
Methodtest_pdf_file
Test crew can process a PDF file with Responses API.
lib/crewai/tests/test_crew_multimodal.py:171
Methodtest_pdf_file
Test crew can process a PDF file.
lib/crewai/tests/test_crew_multimodal.py:199
Methodtest_pdf_file
Test crew can process a PDF file.
lib/crewai/tests/test_crew_multimodal.py:314
Methodtest_pdf_file_creation
Test PDFFile creation.
lib/crewai/tests/utilities/test_files.py:216
Methodtest_pdf_file_not_found_raises_error
Test that non-existent PDF file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:296
Methodtest_pdf_file_string
Test data_type='pdf_file' with existing PDF file.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:98
Functiontest_pdf_knowledge_source
(mock_vector_db)
lib/crewai/tests/knowledge/test_knowledge.py:396
Methodtest_pdf_openai_responses
Test PDF file with OpenAI Responses API.
lib/crewai/tests/test_agent_multimodal.py:374
Methodtest_pdf_openai_responses
Test PDF file with OpenAI Responses API.
lib/crewai/tests/test_crew_multimodal.py:345
Functiontest_pdf_render_fetches_only_inline_data
(store, weasyprint)
lib/crewai/tests/test_artifacts.py:1088
Functiontest_pdf_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:52
Functiontest_pdf_search_tool_with_azure_config_without_env_vars
Test PDFSearchTool accepts Azure config without requiring env vars. This verifies the fix for the reported issue where PDFSearchTool would th
lib/crewai-tools/tests/tools/test_pdf_search_tool_config.py:10
Functiontest_pdf_search_tool_with_openai_config_without_env_vars
Test PDFSearchTool accepts OpenAI config without requiring env vars.
lib/crewai-tools/tests/tools/test_pdf_search_tool_config.py:57
Functiontest_pdf_search_tool_with_vectordb_and_embedding_config
Test PDFSearchTool with both vector DB and embedding config.
lib/crewai-tools/tests/tools/test_pdf_search_tool_config.py:89
Methodtest_pdf_upload_anthropic
Test PDF upload to Anthropic Files API.
lib/crewai/tests/test_crew_multimodal.py:452
Methodtest_pdf_with_no_extractable_text
A PDF whose pages hold no text says so instead of returning empty.
lib/crewai-tools/tests/rag/test_pdf_loader.py:133
Functiontest_pdf_without_the_engine_names_the_fix
(store, monkeypatch)
lib/crewai/tests/test_artifacts.py:1117
Functiontest_pending_async_outputs_preserved_through_conditional_task
A conditional task encountered after a pending async batch must not silently drop the async output.
lib/crewai/tests/test_crew.py:1296
Methodtest_pending_context_with_complex_output
Test context with complex nested output.
lib/crewai/tests/test_async_human_feedback.py:1321
Methodtest_pending_count
Test pending_count returns correct count.
lib/crewai/tests/utilities/test_planning_types.py:232
Functiontest_pending_feedback_context_roundtrips_execution_uuid
()
lib/crewai/tests/test_execution_uuid.py:215
Methodtest_pending_todo_ready_when_dep_failed
(self)
lib/crewai/tests/agents/test_agent_executor.py:3361
Functiontest_per_call_score_threshold_filters_by_max_distance
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:402
Functiontest_per_call_values_still_override_the_configured_defaults
()
lib/crewai-tools/tests/tools/test_tavily_research_tool.py:39
Methodtest_per_column_statistics
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:463
Functiontest_per_guardrail_independent_retry_tracking
Test that each guardrail has independent retry tracking.
lib/crewai/tests/test_task_guardrails.py:736
Functiontest_percent_underscore_and_backslash_in_scope_names_match_literally
( tmp_path: Path, )
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:179
Methodtest_period_without_allow_period_raises
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:240
Methodtest_permission_denied
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:75
Functiontest_permission_error
(mock_zip, _, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:99
Functiontest_persist_complex_types_dict_state
Test persisting dictionary state containing datetime, UUID, Decimal, and Path.
lib/crewai/tests/test_flow_persistence.py:600
Functiontest_persist_complex_types_structured_state
Test persisting state with datetime, UUID, and set fields.
lib/crewai/tests/test_flow_persistence.py:535
Functiontest_persist_decorator_honors_falsy_persistence
()
lib/crewai/tests/test_flow_persistence_factory.py:41
Functiontest_persist_decorator_saves_state
Test that @persist decorator saves state in SQLite.
lib/crewai/tests/test_flow_persistence.py:22
Functiontest_persist_decorator_verbose_logging
Test that @persist decorator's verbose parameter controls logging.
lib/crewai/tests/test_flow_persistence.py:162
Functiontest_persist_from_flow_flow_path_saves_state
The import path AGENTS.md taught for 1.10.0-1.15.28 persists state.
lib/crewai/tests/test_flow_persistence.py:681
Functiontest_persist_is_importable_from_every_flow_path
AGENTS.md scaffolded by 1.10.0-1.15.28 taught `crewai.flow.flow`.
lib/crewai/tests/test_imports.py:32
Functiontest_persist_is_in_flow_flow_star_exports
()
lib/crewai/tests/test_imports.py:41
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:811
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
← previousnext →16,801–16,900 of 19,735, ranked by callers