MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Methodtest_state_recoverable_after_checkpoint
State set before ask() is checkpointed and recoverable. The auto-checkpoint happens *before* the provider is called, so state values
lib/crewai/tests/test_flow_ask.py:534
Methodtest_state_with_plan
Test AgentExecutorState initialization with planning fields.
lib/crewai/tests/agents/test_agent_executor.py:108
Methodtest_state_with_values
Test AgentExecutorState initialization with values.
lib/crewai/tests/agents/test_agent_executor.py:117
Functiontest_stateless_flow_event_emission
Test that the correct events are emitted stateless during flow execution with all fields validated.
lib/crewai/tests/test_flow.py:987
Functiontest_static_string_listener_is_allowed_by_contract
()
lib/crewai/tests/test_flow_definition.py:1283
Functiontest_status
(fp, repository)
lib/cli/tests/test_git.py:48
Methodtest_status_code_and_content_type
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:150
Methodtest_status_code_and_content_type
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:150
Functiontest_status_helper_matches_runtime_gate
( monkeypatch: pytest.MonkeyPatch, env_value: str | None, recorded: str )
lib/crewai/tests/tracing/test_tracing_gate_parity.py:32
Methodtest_status_of_a_failed_deployment_shows_amp_error_and_fix
(self)
lib/cli/tests/deploy/test_deploy_main.py:1917
Methodtest_status_of_a_healthy_deployment_prints_no_error_lines
(self)
lib/cli/tests/deploy/test_deploy_main.py:1945
Functiontest_stdio_server_info_uses_command
()
lib/crewai/tests/mcp/test_client_server_info.py:36
Methodtest_step_executor_fails_when_expected_tool_is_not_called
Step should fail if a configured expected tool is not actually invoked.
lib/crewai/tests/agents/test_agent_executor.py:874
Methodtest_step_executor_falls_back_when_native_tools_are_rejected
Plan steps should retry through text tool calls when native tools fail.
lib/crewai/tests/agents/test_agent_executor.py:991
Methodtest_step_executor_text_tool_emits_usage_events
Text-parsed tool execution should emit started and finished events.
lib/crewai/tests/agents/test_agent_executor.py:895
Methodtest_step_executor_uses_standard_image_url_format
(self)
lib/crewai/tests/agents/test_agent_executor.py:3403
Functiontest_step_observation_events_update_the_explicit_step
()
lib/cli/tests/test_crew_run_tui.py:854
Functiontest_step_observation_json_is_hidden_from_streaming_text
()
lib/cli/tests/test_crew_run_tui.py:2029
Functiontest_still_not_logged_in_after_the_prompt_counts_why_and_says_so
( monkeypatch, capsys, deploy_usage )
lib/cli/tests/test_crew_run_tui.py:2611
Methodtest_still_resizes_a_supported_image
(self)
lib/crewai-files/tests/processing/test_images.py:138
Methodtest_stops_reading_once_the_limit_is_crossed
The cap must abandon the stream, not buffer the whole body first.
lib/crewai-tools/tests/url_read_tool_test.py:888
Methodtest_storage_path_is_owner_only
The credential directory must be mode 0o700 even under a permissive umask.
lib/cli/tests/test_token_manager.py:295
Methodtest_store_and_get_files
Test storing and retrieving crew files.
lib/crewai/tests/utilities/test_file_store.py:33
Methodtest_store_and_get_task_files
Test storing and retrieving task files.
lib/crewai/tests/utilities/test_file_store.py:60
Methodtest_store_and_retrieve
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:54
Functiontest_store_caps_a_single_long_preview_line
(tmp_path: Path)
lib/crewai/tests/utilities/test_tool_result_artifacts.py:57
Functiontest_store_defaults_to_tmp
()
lib/crewai/tests/utilities/test_tool_result_artifacts.py:6
Functiontest_store_keeps_a_bounded_preview_of_the_first_ten_lines
(tmp_path: Path)
lib/crewai/tests/utilities/test_tool_result_artifacts.py:45
Methodtest_store_overwrites_previous_version
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:139
Functiontest_store_returns_opaque_identifier_and_preserves_content
(tmp_path: Path)
lib/crewai/tests/utilities/test_tool_result_artifacts.py:16
Methodtest_store_version_none
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:196
Methodtest_store_writes_metadata
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:126
Functiontest_stored_collection_names_hold_no_rejected_characters
(client)
lib/crewai/tests/rag/qdrant/test_collection_names.py:97
Methodtest_streak_does_not_carry_into_the_next_task
(self)
lib/crewai/tests/tools/test_tool_failure.py:2197
Functiontest_stream_carries_the_text_answer_then_the_structured_one
()
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:394
Functiontest_stream_channel_projection_can_be_followed_by_cached_projection
()
lib/crewai/tests/test_stream_frames.py:143
Methodtest_stream_chunk_creation
Test creating a basic stream chunk.
lib/crewai/tests/test_streaming.py:72
Methodtest_stream_chunk_with_tool_call
Test creating a stream chunk with tool call information.
lib/crewai/tests/test_streaming.py:89
Functiontest_stream_errors_surface_after_failed_frame
()
lib/crewai/tests/test_stream_frames.py:159
Functiontest_stream_frame_contract_and_ordering
()
lib/crewai/tests/test_stream_frames.py:98
Functiontest_stream_llm_emits_event_with_task_and_agent_info
()
lib/crewai/tests/utilities/test_events.py:1534
Functiontest_stream_projections_replay_cached_frames_after_exhaustion
()
lib/crewai/tests/test_stream_frames.py:131
Functiontest_stream_subscribe_filters_channels_without_losing_order
()
lib/crewai/tests/test_stream_frames.py:122
Methodtest_stream_turn_emits_ordered_conversation_frames
(self)
lib/crewai/tests/test_flow_conversation.py:140
Methodtest_stream_turn_enables_streaming_on_conversation_llm
(self)
lib/crewai/tests/test_flow_conversation.py:184
Methodtest_stream_turn_frames_match_the_class_based_path
A chat UI must see the same frame sequence either way.
lib/crewai/tests/test_flow_conversation.py:3518
Methodtest_stream_turn_returns_pending_feedback_without_failure_event
(self)
lib/crewai/tests/test_flow_conversation.py:221
Functiontest_streamed_goal_achieved_observation_collapses_remaining_steps_done
()
lib/cli/tests/test_crew_run_tui.py:1881
Functiontest_streamed_raw_get_keeps_session_open_until_response_close
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:701
Functiontest_streamed_step_observation_updates_named_step_only
()
lib/cli/tests/test_crew_run_tui.py:1849
Methodtest_streaming_after_pause_resume_creates_new_session
Test that streaming after pause/resume creates new Live session.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:73
Functiontest_streaming_chunks_share_call_id_with_call
Streaming chunks should share call_id with started/completed events.
lib/crewai/tests/utilities/test_events.py:1784
Methodtest_streaming_completes_task
Test that streaming handler completes a task successfully.
lib/crewai/tests/a2a/test_a2a_integration.py:93
Methodtest_streaming_distinguishes_text_and_tool_calls
Test that streaming correctly distinguishes between text chunks and tool calls.
lib/crewai/tests/llms/test_tool_call_streaming.py:181
Functiontest_streaming_empty_response_handling
Test that streaming handles empty responses correctly.
lib/crewai/tests/utilities/test_events.py:1495
Functiontest_streaming_fallback_to_non_streaming
Test that streaming falls back to non-streaming when there's an error.
lib/crewai/tests/utilities/test_events.py:1444
Methodtest_streaming_handles_exceptions
Test that streaming properly propagates exceptions.
lib/crewai/tests/test_streaming.py:661
Methodtest_streaming_kickoff_async_passes_checkpoint_config_to_astream
stream=True preserves checkpoint config when routing to astream.
lib/crewai/tests/test_streaming.py:635
Methodtest_streaming_kickoff_passes_checkpoint_config_to_stream_events
stream=True preserves checkpoint config when routing to stream_events.
lib/crewai/tests/test_streaming.py:513
Methodtest_streaming_litellm_chunk_shape
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:421
Functiontest_streaming_non_dict_tool_input_coerced_to_empty_dict
Valid-but-non-object JSON input must be coerced to ``{}``. ``json.loads('"oops"')`` returns a string; passing it on as ``fn(**function_args)`
lib/crewai/tests/llms/bedrock/test_bedrock_streaming_tool_args.py:152
Methodtest_streaming_params_include_usage
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/llms/snowflake/test_snowflake.py:392
Methodtest_streaming_properties_from_docs
Test streaming properties example from documentation.
lib/crewai/tests/test_streaming_integration.py:95
Functiontest_streaming_tool_call_preserves_arguments
Sync streaming: function_args must carry the streamed tool input.
lib/crewai/tests/llms/bedrock/test_bedrock_streaming_tool_args.py:79
Functiontest_streaming_tool_call_turn_emits_completed_event_with_usage
(mock_emit)
lib/crewai/tests/test_llm_litellm_usage_events.py:161
Methodtest_streaming_types_importable_from_types_module
Test that streaming types can be imported from crewai.types.streaming.
lib/crewai/tests/test_streaming.py:911
Methodtest_streaming_with_chunk_context_from_docs
Test streaming with chunk context example from documentation.
lib/crewai/tests/test_streaming_integration.py:63
Methodtest_streaming_with_empty_content_chunks
Test streaming when LLM chunks have empty content.
lib/crewai/tests/test_streaming.py:685
Methodtest_streaming_with_multiple_tasks
Test streaming with multiple tasks tracks task context.
lib/crewai/tests/test_streaming.py:706
Functiontest_stress_many_readers_few_writers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:209
Functiontest_stress_test_rapid_emit
()
lib/crewai/tests/utilities/events/test_thread_safety.py:124
Methodtest_strict_distillation_failure_can_be_retried_cleanly
(self)
lib/crewai/tests/test_async_human_feedback.py:1654
Methodtest_strict_mode_accepts_pdf_under_document_limit
Test a PDF under 4.5 MB is not rejected as too large.
lib/crewai-files/tests/processing/test_processor.py:332
Methodtest_strict_mode_still_raises_for_a_file_type_the_provider_rejects
( self, )
lib/crewai-files/tests/processing/test_images.py:160
Methodtest_string_content
(self)
lib/crewai/tests/utilities/test_agent_utils.py:721
Functiontest_string_content_is_sent_verbatim_as_one_text_block
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:180
Methodtest_string_enum
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:122
Methodtest_string_enum_rejects_invalid
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:134
Methodtest_string_field
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:35
Methodtest_string_llm_still_works
Test that passing llm as a string still works correctly.
lib/crewai/tests/test_async_human_feedback.py:1262
Methodtest_string_refused_without_env_var
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:200
Methodtest_string_reply_still_reaches_history
(self)
lib/crewai/tests/test_flow_conversation.py:3719
Methodtest_string_resolves_multi_level_path
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:210
Methodtest_string_resolves_with_env_var
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:205
Functiontest_string_status_code_is_understood
Some gateways stringify the upstream status.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:234
Methodtest_string_without_dot_raises
(self)
lib/crewai/tests/test_callback.py:196
Methodtest_strip_is_idempotent
(self)
lib/crewai/tests/llms/test_prompt_cache.py:23
Methodtest_strips_block_comments
(self)
lib/crewai/tests/project/test_json_loader.py:31
Methodtest_strips_litellm_pat_prefix_for_compatibility
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:66
Methodtest_strips_null_from_anyof
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:936
Methodtest_strips_null_from_type_array
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:944
Methodtest_strips_single_line_comments
(self)
lib/crewai/tests/project/test_json_loader.py:25
Methodtest_strips_surrounding_whitespace_from_the_version
(self)
lib/crewai/tests/skills/test_registry.py:176
Methodtest_strips_terminal_escapes_and_keeps_emoji_codes_literal
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:554
Methodtest_strips_trailing_slash
Test that trailing slash is handled.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:120
Methodtest_structured_fails_but_simple_succeeds
When structured output fails but simple prompting works, use that.
lib/crewai/tests/test_human_feedback_decorator.py:531
Functiontest_structured_flow_event_emission
Test that the correct events are emitted during structured flow execution with all fields validated.
lib/crewai/tests/test_flow.py:900
Functiontest_structured_output_emits_completed_event_with_usage
(mock_emit)
lib/crewai/tests/test_llm_litellm_usage_events.py:193
Functiontest_structured_state_persistence
Test persistence with Pydantic model state.
lib/crewai/tests/test_flow_persistence.py:44
Functiontest_structured_suffix_type_is_treated_as_text
A +json vendor type is text, not an unsupported binary type.
lib/crewai-tools/tests/url_read_tool_test.py:233
← previousnext →18,201–18,300 of 19,663, ranked by callers