Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,484 in github.com/crewAIInc/crewAI
⨍
Functions
19,484
◇
Types & classes
3,433
↳
Endpoints
991
Function
test_passed_initial_state_instance_keeps_its_id
A state passed to one Flow keeps its id, e.g. to continue a run (#9498).
lib/crewai/tests/test_flow_persistence.py:280
Method
test_passes_through_a_sync_response
(self)
lib/crewai/tests/utilities/test_agent_utils.py:1162
Method
test_passes_through_to_event
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:379
Method
test_passthrough_tuple_includes_the_error
(self)
lib/crewai/tests/tools/test_tool_failure.py:764
Method
test_past_the_last_row
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:264
Method
test_path_is_not_a_directory
(self)
lib/crewai-tools/tests/rag/test_directory_loader.py:101
Method
test_path_keyword_with_data_type
Test path keyword argument with data_type.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:352
Method
test_path_like_string
(self)
lib/crewai/tests/skills/test_registry.py:111
Function
test_path_with_nothing_readable_says_artifacts_end_with_their_run
(tmp_path)
lib/crewai/tests/tools/agent_tools/test_deferred_tool_result_reader.py:48
Function
test_paths_creates_storage_dir
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai-core/tests/test_smoke.py:27
Method
test_pattern
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:724
Method
test_pause_detaches_listener_and_does_not_leak
When ``kickoff_async`` pauses for human feedback, the listener must be detached from the singleton bus to avoid leaking handlers acros
lib/crewai/tests/test_flow_usage_metrics.py:369
Method
test_pause_is_safe_when_no_session
Test pausing when no streaming session exists doesn't error.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:35
Method
test_pause_on_file_flushes_panel_once
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:223
Method
test_pause_resume_cycle_with_streaming
Test full pause/resume cycle during streaming.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:102
Method
test_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
Function
test_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
Method
test_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
Method
test_pause_stops_active_streaming_session
Test pausing stops an active streaming Live session.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:23
Function
test_paused_and_method_failed_record_flow_and_origin
()
lib/crewai/tests/telemetry/test_telemetry.py:515
Function
test_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
Method
test_pdf_anthropic
Test PDF file with Anthropic.
lib/crewai/tests/test_agent_multimodal.py:363
Method
test_pdf_anthropic
Test PDF file with Anthropic.
lib/crewai/tests/test_crew_multimodal.py:337
Method
test_pdf_constraints_creation
Test creating PDF constraints.
lib/crewai-files/tests/processing/test_constraints.py:57
Method
test_pdf_constraints_defaults
Test PDF constraints with default values.
lib/crewai-files/tests/processing/test_constraints.py:67
Method
test_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
Method
test_pdf_file
Test agent can process a PDF file with Responses API.
lib/crewai/tests/test_agent_multimodal.py:190
Method
test_pdf_file
Test agent can process a PDF file.
lib/crewai/tests/test_agent_multimodal.py:226
Method
test_pdf_file
Test crew can process a PDF file with Responses API.
lib/crewai/tests/test_crew_multimodal.py:171
Method
test_pdf_file
Test crew can process a PDF file.
lib/crewai/tests/test_crew_multimodal.py:199
Method
test_pdf_file
Test crew can process a PDF file.
lib/crewai/tests/test_crew_multimodal.py:314
Method
test_pdf_file_creation
Test PDFFile creation.
lib/crewai/tests/utilities/test_files.py:214
Method
test_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
Method
test_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
Function
test_pdf_knowledge_source
(mock_vector_db)
lib/crewai/tests/knowledge/test_knowledge.py:396
Method
test_pdf_openai_responses
Test PDF file with OpenAI Responses API.
lib/crewai/tests/test_agent_multimodal.py:374
Method
test_pdf_openai_responses
Test PDF file with OpenAI Responses API.
lib/crewai/tests/test_crew_multimodal.py:345
Function
test_pdf_search_tool
(mock_adapter)
lib/crewai-tools/tests/tools/test_search_tools.py:52
Function
test_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
Function
test_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
Function
test_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
Method
test_pdf_upload_anthropic
Test PDF upload to Anthropic Files API.
lib/crewai/tests/test_crew_multimodal.py:452
Method
test_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
Function
test_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
Method
test_pending_context_with_complex_output
Test context with complex nested output.
lib/crewai/tests/test_async_human_feedback.py:1321
Method
test_pending_count
Test pending_count returns correct count.
lib/crewai/tests/utilities/test_planning_types.py:232
Function
test_pending_feedback_context_roundtrips_execution_uuid
()
lib/crewai/tests/test_execution_uuid.py:215
Method
test_pending_todo_ready_when_dep_failed
(self)
lib/crewai/tests/agents/test_agent_executor.py:3361
Function
test_per_call_score_threshold_filters_by_max_distance
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:402
Function
test_per_call_values_still_override_the_configured_defaults
()
lib/crewai-tools/tests/tools/test_tavily_research_tool.py:39
Method
test_per_column_statistics
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:463
Function
test_per_guardrail_independent_retry_tracking
Test that each guardrail has independent retry tracking.
lib/crewai/tests/test_task_guardrails.py:734
Function
test_percent_underscore_and_backslash_in_scope_names_match_literally
( tmp_path: Path, )
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:179
Method
test_period_without_allow_period_raises
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:240
Method
test_permission_denied
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:75
Function
test_permission_error
(mock_zip, _, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:99
Function
test_persist_complex_types_dict_state
Test persisting dictionary state containing datetime, UUID, Decimal, and Path.
lib/crewai/tests/test_flow_persistence.py:600
Function
test_persist_complex_types_structured_state
Test persisting state with datetime, UUID, and set fields.
lib/crewai/tests/test_flow_persistence.py:535
Function
test_persist_decorator_honors_falsy_persistence
()
lib/crewai/tests/test_flow_persistence_factory.py:41
Function
test_persist_decorator_saves_state
Test that @persist decorator saves state in SQLite.
lib/crewai/tests/test_flow_persistence.py:22
Function
test_persist_decorator_verbose_logging
Test that @persist decorator's verbose parameter controls logging.
lib/crewai/tests/test_flow_persistence.py:162
Function
test_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
Function
test_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
Function
test_persist_is_in_flow_flow_star_exports
()
lib/crewai/tests/test_imports.py:41
Method
test_persist_preserves_human_feedback_config
Test @persist preserves the config stamped by @human_feedback.
lib/crewai/tests/test_human_feedback_decorator.py:119
Function
test_persist_restore_by_id_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3797
Method
test_persist_resume_executes_only_pending_methods
(self, tmp_path)
lib/crewai/tests/events/test_event_replay.py:185
Function
test_persisted_tracked_turn_keeps_live_records_and_jobs
(tmp_path)
lib/crewai/tests/test_flow_turns.py:374
Function
test_persistence_with_base_model
(tmp_path)
lib/crewai/tests/test_flow_persistence.py:199
Function
test_personal_access_token_from_environment
(tool)
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:40
Function
test_pick_uses_custom_labels
(monkeypatch)
lib/cli/tests/test_tui_picker.py:7
Method
test_pins_exact_version
(self)
lib/devtools/tests/test_toml_updates.py:288
Method
test_pins_minimum_version
(self)
lib/devtools/tests/test_toml_updates.py:298
Method
test_pins_with_tools_extra
(self)
lib/devtools/tests/test_toml_updates.py:309
Function
test_pipeline_is_silent_when_collector_rejects
(live_telemetry, caplog)
lib/crewai/tests/telemetry/test_export_logs.py:34
Function
test_placeholder_key_in_env_counts_as_missing
( provider: Provider, via_llm: bool )
lib/crewai/tests/llms/test_missing_api_key.py:158
Function
test_placeholder_key_passed_explicitly_counts_as_missing
( provider: Provider, )
lib/crewai/tests/llms/test_missing_api_key.py:170
Function
test_plain_agent_chat_prints_chunks_before_model_finishes
(monkeypatch)
lib/crewai/tests/test_flow_chat_tui.py:125
Function
test_plain_chat_does_not_print_router_chunks
(monkeypatch, capsys)
lib/crewai/tests/test_flow_chat_tui.py:175
Method
test_plain_copy_still_carries_configuration
(self)
lib/crewai/tests/test_crew_copy_resume_state.py:67
Function
test_plain_embedding_function_keeps_default_dimension
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:92
Function
test_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
Function
test_plain_http_to_this_machine_is_fine_for_local_development
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:500
Method
test_plain_json_unchanged
(self)
lib/crewai/tests/project/test_json_loader.py:67
Method
test_plain_read_only_cte_still_allowed
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:319
Method
test_plain_string
(self)
lib/crewai/tests/skills/test_registry.py:108
Method
test_plain_string_response_is_matched
Test that plain string response is correctly matched.
lib/crewai/tests/test_async_human_feedback.py:1067
Method
test_plain_text_answer_not_misclassified
(self)
lib/crewai/tests/utilities/test_agent_utils.py:790
Method
test_plain_tools_default_to_inheriting
(self)
lib/crewai/tests/tools/test_tool_failure.py:492
Method
test_plan_per_task_requires_task_number
Test that PlanPerTask model requires task_number field.
lib/crewai/tests/utilities/test_planning_handler.py:183
Method
test_plan_per_task_with_task_number
Test PlanPerTask model with task_number field.
lib/crewai/tests/utilities/test_planning_handler.py:188
Function
test_plan_refinement_updates_descriptions_without_new_statuses
()
lib/cli/tests/test_crew_run_tui.py:2000
Method
test_plan_step
(self, features: list[str], llm_cls: type[LLM])
lib/crewai/tests/tools/test_tool_failure.py:2469
Method
test_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
Function
test_plan_step_lifecycle_events_update_the_explicit_step
()
lib/cli/tests/test_crew_run_tui.py:896
Method
test_plan_step_requires_description
Test that description is required.
lib/crewai/tests/utilities/test_planning_types.py:58
Method
test_plan_step_requires_step_number
Test that step_number is required.
lib/crewai/tests/utilities/test_planning_types.py:53
Method
test_plan_step_serialization
Test PlanStep can be serialized to dict.
lib/crewai/tests/utilities/test_planning_types.py:63
Function
test_plan_step_status_updates_only_the_explicit_step
()
lib/cli/tests/test_crew_run_tui.py:842
Method
test_plan_step_with_all_fields
Test PlanStep creation with all fields.
lib/crewai/tests/utilities/test_planning_types.py:29
← previous
next →
16,601–16,700 of 19,484, ranked by callers