MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Methodtest_extracts_choices_shape
( self, response: Any, expected: tuple[str | None, str | None] )
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:505
Methodtest_extracts_context_from_kwargs
Context can be passed as keyword argument.
lib/crewai/tests/a2a/utils/test_task.py:135
Functiontest_factory_backend_used_for_string_spec
()
lib/crewai/tests/memory/test_storage_factory.py:36
Functiontest_factory_overrides_builtin_provider
()
lib/crewai/tests/rag/test_client_factory_registry.py:44
Functiontest_factory_pattern_registry_extensibility
Test that the factory pattern registry works with different providers.
lib/crewai/tests/utilities/test_converter.py:716
Functiontest_factory_receives_embedder_and_collection_name
()
lib/crewai/tests/knowledge/test_storage_factory.py:80
Functiontest_factory_receives_the_config
()
lib/crewai/tests/rag/test_client_factory_registry.py:34
Functiontest_factory_receives_the_raw_spec
()
lib/crewai/tests/memory/test_storage_factory.py:45
Functiontest_factory_used_when_no_explicit_storage
()
lib/crewai/tests/knowledge/test_storage_factory.py:71
Methodtest_factory_with_google_alias
Test factory resolves 'google' to google-generativeai provider.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:213
Methodtest_factory_with_model_key_openai
Test factory passes 'model' config to OpenAI provider.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:237
Functiontest_failed_batch_rolls_back_to_its_savepoint
(monkeypatch, pooled)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:733
Functiontest_failed_chat_cli_exits_nonzero_without_traceback
(monkeypatch)
lib/cli/tests/test_kickoff_flow.py:12
Functiontest_failed_conversation_turn_closes_without_poisoning_next_turn
( in_memory_grant_collectors, monkeypatch, streamed )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:604
Functiontest_failed_conversation_turn_is_reported
Only completed turns were tracked, so failure rate was unknowable.
lib/crewai/tests/telemetry/test_flow_telemetry.py:333
Methodtest_failed_dep_unblocks_downstream
(self)
lib/crewai/tests/agents/test_agent_executor.py:3335
Methodtest_failed_distillation_still_completes_the_resume
(self)
lib/crewai/tests/test_async_human_feedback.py:1638
Methodtest_failed_evaluation
(self, mock_crew)
lib/crewai/tests/experimental/evaluation/test_agent_evaluator.py:210
Functiontest_failed_fetch_is_negatively_cached
(monkeypatch)
lib/cli/tests/test_model_catalog.py:511
Functiontest_failed_flow_reports_its_duration_and_outcome
( durations: list[tuple[str, float, str, str | None]], )
lib/crewai/tests/telemetry/test_flow_telemetry.py:431
Functiontest_failed_flow_reports_the_failure_and_the_method
( durations: list[tuple[str, float, str, str | None]], method_failures: list[tuple[str, str, str | None]]
lib/crewai/tests/telemetry/test_flow_telemetry.py:205
Functiontest_failed_generation_is_terminal_and_next_turn_is_available
()
lib/crewai/tests/test_flow_turns.py:170
Functiontest_failed_guardrails_are_excluded_from_false_rate_denominators
()
lib/crewai/tests/test_jev_evaluation_runner.py:195
Functiontest_failed_operations_do_not_count_as_success
(tmp_path, features)
lib/crewai/tests/telemetry/test_checkpoint_telemetry.py:72
Functiontest_failed_plan_step_lifecycle_event_marks_exact_step_failed
()
lib/cli/tests/test_crew_run_tui.py:933
Functiontest_failed_recovery_summary_propagates_without_retrying
()
lib/crewai/tests/test_flow_context_compaction.py:191
Methodtest_failed_remove_by_name_shows_the_api_error
(self)
lib/cli/tests/deploy/test_deploy_main.py:1904
Methodtest_failed_remove_by_uuid_shows_the_api_error
(self)
lib/cli/tests/deploy/test_deploy_main.py:1890
Methodtest_failed_replan_restores_task_description
(self)
lib/crewai/tests/agents/test_agent_executor.py:3230
Functiontest_failed_session_keeps_existing_listeners_and_closes_orphans
(flow_source)
lib/crewai/tests/telemetry/test_enterprise_session_compatibility.py:147
Functiontest_failed_sharing_discards_without_logging_payloads
( collector, monkeypatch, caplog, phase )
lib/crewai/tests/telemetry/test_session_trace_export.py:791
Methodtest_failed_step_appears_in_get_failed_todos
(self)
lib/crewai/tests/agents/test_agent_executor.py:3268
Functiontest_failed_streamed_step_observation_marks_named_step_failed
()
lib/cli/tests/test_crew_run_tui.py:1865
Methodtest_failed_todo_transition_emits_failed_plan_step_event
Failed todo transitions should publish failed plan step events.
lib/crewai/tests/agents/test_agent_executor.py:1068
Functiontest_failed_turn_releases_guard_without_allowing_session_switch
( monkeypatch, streaming )
lib/crewai/tests/agents/test_conversation.py:437
Functiontest_failed_update_subscriber_does_not_leave_a_worker_waiting_forever
()
lib/crewai/tests/test_flow_jobs.py:298
Functiontest_failed_write_rolls_back_and_closes_connection
A failure between BEGIN and COMMIT rolls back and still closes the connection. ``with closing(...) as conn, conn:`` must roll back on the inner c
lib/crewai/tests/storage/test_kickoff_task_outputs_storage.py:91
Methodtest_failure_does_not_short_circuit_under_warn
(self)
lib/crewai/tests/tools/test_tool_failure.py:1182
Methodtest_failure_from_exception
(self)
lib/crewai/tests/tools/test_tool_failure.py:156
Methodtest_failure_on_a_later_page_exits_1_with_amp_message
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:619
Functiontest_failure_or_close_never_changes_success_or_leaks_to_another_session
()
lib/crewai/tests/test_flow_replies.py:206
Methodtest_failure_panel_renders_without_raising
The real formatter must handle the payload it is given.
lib/crewai/tests/tools/test_tool_failure.py:528
Functiontest_failure_terminal_remains_acceptable_after_cross_thread_interruption
()
lib/crewai/tests/test_flow_turns.py:354
Methodtest_failures_reset_between_executions
(self)
lib/crewai/tests/tools/test_tool_failure.py:1752
Methodtest_fallback_still_appends_when_handler_does_not_reply
(self)
lib/crewai/tests/test_flow_conversation.py:1579
Methodtest_fallback_to_field_by_field
(self, parent_to_pydantic_mock)
lib/crewai/tests/utilities/test_training_converter.py:28
Functiontest_falls_back_to_interactive_with_tty
(clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:340
Functiontest_falls_back_to_non_interactive_without_tty
(clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:334
Methodtest_falls_back_to_openai_with_api_key
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:292
Functiontest_falls_back_when_everything_fails
(monkeypatch)
lib/cli/tests/test_model_catalog.py:412
Methodtest_falls_back_when_the_client_cannot_fetch_skills
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, get_skill: object )
lib/crewai/tests/skills/test_registry.py:392
Methodtest_falls_back_when_the_client_cannot_forward_a_pin
Repository agents pin automatically, so a client whose get_skill predates pinning must not turn a working lookup into a TypeError.
lib/crewai/tests/skills/test_registry.py:411
Methodtest_false_returns_sentinel
(self)
lib/crewai/tests/test_checkpoint.py:43
Functiontest_falsy_explicit_storage_is_honored
()
lib/crewai/tests/knowledge/test_storage_factory.py:110
Methodtest_falsy_route_turn_does_not_replay_previous_turns_intent
(self)
lib/crewai/tests/test_flow_conversation.py:1723
Methodtest_feature_count_is_the_same_from_either_origin
The whole point: one number for deployments, whatever started them.
lib/crewai-core/tests/test_telemetry_deploy.py:68
Methodtest_feedback_available_in_listener
Test that feedback is accessible in downstream listeners.
lib/crewai/tests/test_human_feedback_integration.py:509
Methodtest_feedback_collapsing
Test that feedback is collapsed to an outcome for routing, but flow returns method output.
lib/crewai/tests/test_human_feedback_decorator.py:350
Methodtest_feedback_iteration_skips_plan_generation
Feedback reruns should reason over feedback without regenerating a plan.
lib/crewai/tests/agents/test_agent_executor.py:308
Methodtest_feedback_result_without_routing
Test that HumanFeedbackResult is returned when not routing.
lib/crewai/tests/test_human_feedback_integration.py:758
Functiontest_fence_language_picks_the_kind
(store)
lib/crewai/tests/test_artifacts.py:897
Methodtest_fetch_agent_card
Test fetching an agent card from the server.
lib/crewai/tests/a2a/test_a2a_integration.py:48
Functiontest_fetch_and_json_env_file_reads_a_utf8_env_file
(tmp_path, ascii_default_encoding)
lib/cli/tests/test_utils.py:255
Functiontest_fetch_arxiv_data
(mock_urlopen, tool)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:30
Functiontest_fetch_arxiv_data_network_error
(mock_urlopen, tool)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:42
Methodtest_fetch_error
(self, error: requests.RequestException)
lib/crewai-tools/tests/rag/test_text_loaders.py:145
Functiontest_fetch_failure_raises_value_error
(fp)
lib/cli/tests/test_git.py:36
Functiontest_fetch_inputs
()
lib/crewai/tests/test_crew.py:4400
Methodtest_fetch_templates_api_error
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:119
Methodtest_fetch_templates_excludes_private
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:100
Methodtest_fetch_templates_filters_by_prefix
(self, mock_get, cmd)
lib/crewai/tests/cli/remote_template/test_main.py:85
Methodtest_fetches_configs_successfully
(self, mock_get_token, mock_plus_api_class, resolver)
lib/crewai/tests/mcp/test_amp_mcp.py:107
Methodtest_field_wise_difference
(self)
lib/crewai/tests/agents/test_lite_agent.py:1324
Methodtest_field_with_explicit_non_null_default_stays_non_nullable
A field omitted from ``required`` but carrying an explicit default is already usable when omitted, so it must not be made nullable. T
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:106
Methodtest_field_with_explicit_null_default_remains_nullable
An explicit ``default: null`` must keep accepting ``None``.
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:140
Methodtest_file_alias_with_existing_file
Test that data_type='file' works with existing files.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:51
Methodtest_file_alias_with_file_path_keyword
Test that file_path keyword argument works with data_type='file'.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:82
Methodtest_file_alias_with_nonexistent_file_raises_error
Test that data_type='file' raises FileNotFoundError for missing files.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:63
Methodtest_file_alias_with_path_keyword
Test that path keyword argument works with data_type='file'.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:70
Methodtest_file_chunk_mode
Test File with chunk mode mode.
lib/crewai/tests/utilities/test_files.py:522
Methodtest_file_custom_mode
Test setting custom mode on file.
lib/crewai-files/tests/processing/test_processor.py:294
Methodtest_file_custom_mode
Test File with custom mode mode.
lib/crewai/tests/utilities/test_files.py:516
Methodtest_file_default_mode
Test File has default mode of 'auto'.
lib/crewai/tests/utilities/test_files.py:510
Methodtest_file_default_mode_is_auto
Test that files default to auto mode.
lib/crewai-files/tests/processing/test_processor.py:289
Methodtest_file_dict_unpacking
Test File supports ** unpacking syntax.
lib/crewai/tests/utilities/test_files.py:455
Methodtest_file_dict_unpacking_no_filename
Test File dict unpacking with bytes (no filename).
lib/crewai/tests/utilities/test_files.py:466
Functiontest_file_exists_error_handling
(tool, temp_env, overwrite)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:157
Methodtest_file_extension
( self, tmp_path: Path, extension: str, expected: DataType, as_path: bool )
lib/crewai-tools/tests/rag/test_data_types.py:111
Methodtest_file_from_path
Test File creation from path string.
lib/crewai/tests/utilities/test_files.py:428
Methodtest_file_from_path_object
Test File creation from Path object.
lib/crewai/tests/utilities/test_files.py:439
Methodtest_file_from_pdf_bytes
Test File creation from PDF bytes auto-detects PDF type.
lib/crewai/tests/utilities/test_files.py:422
Methodtest_file_from_png_bytes
Test File creation from PNG bytes auto-detects image type.
lib/crewai/tests/utilities/test_files.py:409
Methodtest_file_from_text_bytes
Test File creation from text bytes auto-detects content type.
lib/crewai/tests/utilities/test_files.py:402
Methodtest_file_getitem
Test File __getitem__ with valid key.
lib/crewai/tests/utilities/test_files.py:482
Methodtest_file_getitem_invalid_key
Test File __getitem__ with invalid key raises KeyError.
lib/crewai/tests/utilities/test_files.py:491
Methodtest_file_keys_method
Test File keys() method.
lib/crewai/tests/utilities/test_files.py:473
Functiontest_file_kind_without_file_path_is_rejected
()
lib/crewai/tests/test_artifacts.py:536
Functiontest_file_mode_is_preserved
The atomic replace must not widen permissions on pyproject.toml.
lib/crewai/tests/telemetry/test_project_id.py:313
Methodtest_file_not_found
(self, tmp_path: Path)
lib/crewai/tests/skills/test_parser.py:88
Functiontest_file_not_found_during_zip
(mock_zip, _, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:108
← previousnext →13,801–13,900 of 19,735, ranked by callers