MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

Methodtest_invalid_metric_returns_error_json
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:372
Methodtest_invalid_name_rejected
(self)
lib/crewai/tests/skills/test_models.py:58
Functiontest_invalid_notebook
Reject unsupported versions and malformed required notebook fields.
lib/crewai-tools/tests/rag/test_notebook_loader.py:222
Functiontest_invalid_overwrite_value
(tool, temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:93
Methodtest_invalid_parameter_schemas_do_not_abort_discovery
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:103
Functiontest_invalid_params_raises_value_error
count=999 exceeds WebSearchParams.count le=20.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:489
Methodtest_invalid_policy_falls_through_to_next_scope
(self)
lib/crewai/tests/tools/test_tool_failure.py:277
Methodtest_invalid_policy_is_ignored_rather_than_raising
A bad policy value must never take down a tool call.
lib/crewai/tests/tools/test_tool_failure.py:269
Functiontest_invalid_prune_is_not_counted
(tmp_path, dry_run, retention)
lib/cli/tests/test_checkpoint_telemetry.py:117
Functiontest_invalid_pyproject_errors
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:280
Methodtest_invalid_raises
(self)
lib/crewai/tests/test_checkpoint_cli.py:138
Methodtest_invalid_rejected_by_pydantic
(self, payload: dict[str, Any])
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:219
Methodtest_invalid_rejected_by_pydantic
(self, payload: dict[str, Any])
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:238
Functiontest_invalid_search_type
()
lib/crewai-tools/tests/tools/serper_dev_tool_test.py:123
Methodtest_invalid_string_data_type_raises_error
Test that invalid string data_type raises ValueError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:275
Methodtest_invalid_structured_result_falls_back_to_the_original
(self)
lib/crewai/tests/test_human_feedback_decorator.py:982
Methodtest_invalid_structured_result_raises_when_strict
(self)
lib/crewai/tests/test_human_feedback_decorator.py:990
Functiontest_invalid_thresholds_raise
(bad)
lib/crewai/tests/test_jev_evaluation_runner.py:249
Functiontest_invalid_typed_output_warns_and_uses_string_agent_text
()
lib/crewai/tests/tools/test_structured_tool.py:179
Methodtest_invalid_typed_output_warns_and_uses_string_agent_text
( self, )
lib/crewai/tests/tools/test_base_tool.py:551
Methodtest_invalid_url_scheme_file_raises
Test that file:// URLs raise ValueError.
lib/crewai-files/tests/test_file_url.py:34
Methodtest_invalid_url_scheme_raises
Test that non-http(s) URLs raise ValueError.
lib/crewai-files/tests/test_file_url.py:29
Functiontest_invalid_usage_limit
Test that negative usage limits raise ValueError.
lib/crewai/tests/tools/test_tool_usage_limit.py:72
Functiontest_invalid_uuid_str
Test handling of invalid UUID strings.
lib/crewai/tests/security/test_fingerprint.py:181
Functiontest_invalid_xml_response
(mock_urlopen, tool)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:105
Methodtest_invalid_yaml
(self)
lib/crewai/tests/skills/test_parser.py:50
Methodtest_invalidate_existing
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:182
Methodtest_invalidate_missing
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:191
Functiontest_invalidated_job_is_skipped_without_losing_artifacts
(change)
lib/crewai/tests/test_flow_replies.py:103
Methodtest_invoke_async_cleans_deferred_artifacts
(self, should_fail)
lib/crewai/tests/agents/test_agent_executor.py:2945
Methodtest_invoke_cleans_deferred_artifacts_after_completion
(self)
lib/crewai/tests/agents/test_agent_executor.py:2896
Methodtest_invoke_failure_no_agent_finish
Test invoke fails without AgentFinish.
lib/crewai/tests/agents/test_agent_executor.py:1288
Methodtest_invoke_step_callback
Test step callback invocation.
lib/crewai/tests/agents/test_agent_executor.py:769
Methodtest_invoke_step_callback_async_inside_running_loop
Test async step callback scheduling when already in an event loop.
lib/crewai/tests/agents/test_agent_executor.py:791
Methodtest_invoke_step_callback_none
Test step callback when none provided.
lib/crewai/tests/agents/test_agent_executor.py:781
Methodtest_invoke_success
Test successful invoke without human feedback.
lib/crewai/tests/agents/test_agent_executor.py:1264
Methodtest_invoke_with_system_prompt
Test invoke with system prompt configuration.
lib/crewai/tests/agents/test_agent_executor.py:1302
Methodtest_ip_addressed_server_tool_name_passes_provider_validation
( self, mock_client_class, resolver )
lib/crewai/tests/mcp/test_tool_resolver_native.py:121
Methodtest_is_a_separate_span_from_the_attempt
Two names, because they count different things. ``Create Crew Deployment`` counts attempts and fires before the API call; this one fi
lib/crewai-core/tests/test_telemetry_deploy.py:94
Methodtest_is_a_separate_span_from_the_attempt_and_the_success
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:202
Functiontest_is_ahead_or_behind
(fp, repository)
lib/cli/tests/test_git.py:64
Methodtest_is_cache_valid_with_fresh_cache
Test cache validation with fresh cache.
lib/cli/tests/test_version.py:85
Methodtest_is_cache_valid_with_fresh_cache
Test cache validation with fresh cache.
lib/crewai/tests/cli/test_version.py:49
Methodtest_is_cache_valid_with_missing_timestamp
Test cache validation with missing timestamp.
lib/cli/tests/test_version.py:96
Methodtest_is_cache_valid_with_missing_timestamp
Test cache validation with missing timestamp.
lib/crewai/tests/cli/test_version.py:60
Methodtest_is_cache_valid_with_stale_cache
Test cache validation with stale cache.
lib/cli/tests/test_version.py:90
Methodtest_is_cache_valid_with_stale_cache
Test cache validation with stale cache.
lib/crewai/tests/cli/test_version.py:54
Functiontest_is_chat_model_rejects_non_chat
()
lib/cli/tests/test_model_catalog.py:65
Methodtest_is_complete_false_for_empty_list
Test is_complete returns False for empty list.
lib/crewai/tests/utilities/test_planning_types.py:228
Methodtest_is_complete_property_when_complete
Test is_complete returns True when all items completed.
lib/crewai/tests/utilities/test_planning_types.py:214
Methodtest_is_complete_property_when_not_complete
Test is_complete returns False when items are pending.
lib/crewai/tests/utilities/test_planning_types.py:224
Methodtest_is_complete_with_mixed_terminal_states
(self)
lib/crewai/tests/agents/test_agent_executor.py:3351
Methodtest_is_completed_property
Test the is_completed property.
lib/crewai/tests/test_streaming.py:120
Methodtest_is_completed_property
Test the is_completed property.
lib/crewai/tests/test_streaming.py:170
Functiontest_is_dmn_mode_enabled_for_falsey_values
(monkeypatch, value)
lib/cli/tests/test_utils.py:114
Functiontest_is_dmn_mode_enabled_for_truthy_values
(monkeypatch, value)
lib/cli/tests/test_utils.py:107
Methodtest_is_error_becomes_a_tool_failure
(self)
lib/crewai/tests/tools/test_tool_failure.py:1663
Methodtest_is_expired_false
Test is_expired returns False for non-expired upload.
lib/crewai-files/tests/test_upload_cache.py:37
Methodtest_is_expired_no_expiry
Test is_expired returns False when no expiry set.
lib/crewai-files/tests/test_upload_cache.py:65
Methodtest_is_expired_true
Test is_expired returns True for expired upload.
lib/crewai-files/tests/test_upload_cache.py:51
Functiontest_is_flow_run_gating
The flow-render gate must be true only for a non-conversational flow.
lib/cli/tests/test_crew_run_tui.py:2195
Functiontest_is_git_not_installed
(fp)
lib/cli/tests/test_git.py:27
Methodtest_is_idempotent_when_snapshot_already_exists
(self, tmp_path: Path)
lib/devtools/tests/test_docs_versioning.py:218
Methodtest_is_inside_active_flow_context_when_kickoff_running
(self)
lib/crewai/tests/test_flow_conversation.py:2084
Methodtest_is_ipv4_pattern
Test IPv4 pattern detection.
lib/crewai/tests/rag/chromadb/test_utils.py:64
Functiontest_is_json_crew_defers_to_declared_flow_type
A flow project with a stray crew.jsonc must validate as a flow.
lib/cli/tests/deploy/test_validate.py:713
Functiontest_is_json_crew_false_for_declared_crew_without_definition
(tmp_path)
lib/cli/tests/deploy/test_validate.py:734
Functiontest_is_json_crew_false_without_pyproject
(tmp_path)
lib/cli/tests/deploy/test_validate.py:760
Functiontest_is_json_crew_true_for_declared_crew_definition
(tmp_path)
lib/cli/tests/deploy/test_validate.py:724
Methodtest_is_newer_version_available_false
Test when no newer version is available.
lib/cli/tests/test_version.py:154
Methodtest_is_newer_version_available_false
Test when no newer version is available.
lib/crewai/tests/cli/test_version.py:118
Methodtest_is_newer_version_available_true
Test when newer version is available.
lib/cli/tests/test_version.py:140
Methodtest_is_newer_version_available_true
Test when newer version is available.
lib/crewai/tests/cli/test_version.py:104
Methodtest_is_newer_version_available_with_none_latest
Test when PyPI fetch fails.
lib/cli/tests/test_version.py:168
Methodtest_is_newer_version_available_with_none_latest
Test when PyPI fetch fails.
lib/crewai/tests/cli/test_version.py:132
Methodtest_is_o1_model_still_only_matches_o1
(self, model)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:199
Functiontest_is_synced_when_ahead_or_behind
(fp, repository)
lib/cli/tests/test_git.py:90
Functiontest_is_synced_when_synced
(fp, repository)
lib/cli/tests/test_git.py:72
Functiontest_is_synced_with_uncommitted_changes
(fp, repository)
lib/cli/tests/test_git.py:82
Functiontest_is_synced_with_uncommitted_changes_and_ahead
(fp, repository)
lib/cli/tests/test_git.py:102
Methodtest_is_training_mode_false
Test training mode detection when not in training.
lib/crewai/tests/agents/test_agent_executor.py:748
Methodtest_is_training_mode_true
Test training mode detection when in training.
lib/crewai/tests/agents/test_agent_executor.py:753
Methodtest_it_carries_no_token_count
`crew.token_usage` double-counts agents that share one LLM object, so putting it here would propagate a known-wrong number into a metric.
lib/crewai/tests/telemetry/test_crew_completed_span.py:120
Methodtest_it_is_not_gated_by_share_crew
The whole point. `Crew Execution` and `end_crew` are both gated.
lib/crewai/tests/telemetry/test_crew_completed_span.py:111
Methodtest_it_joins_to_crew_created_by_key_and_id
Models and shape live on Crew Created; this must be joinable to them.
lib/crewai/tests/telemetry/test_crew_completed_span.py:99
Methodtest_it_needs_two_numeric_columns
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:667
Methodtest_it_records_the_outcome_and_an_explicit_duration
A completed run reports outcome and an explicit duration_ms.
lib/crewai/tests/telemetry/test_crew_completed_span.py:71
Methodtest_it_rides_every_span_rather_than_only_crew_created
The gated `cpus` sits on Crew Created alone, which answers nothing for Flow-only, CLI-only or standalone-agent runs. This one is a common
lib/crewai-core/tests/test_runtime_env.py:202
Methodtest_it_takes_exactly_one_column
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:513
Methodtest_iteration
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:143
Methodtest_its_extent_is_calamines
(self, cells)
lib/crewai-files/tests/spreadsheets/test_reading.py:619
Methodtest_jina_provider_accepts_model_key
Test Jina provider accepts 'model' as alias for 'model_name'.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:128
Functiontest_job_association_validates_owner_and_origin_without_admitting_work
()
lib/crewai/tests/test_flow_turns.py:295
Functiontest_json_and_jsonl_with_bom_and_blank_lines_are_accepted
(tmp_path, name)
lib/crewai/tests/test_jev_evaluation_runner.py:379
Methodtest_json_by_id
(self)
lib/crewai/tests/test_checkpoint_cli.py:159
Methodtest_json_capabilities_structure
Capabilities in JSON should have expected fields.
lib/crewai/tests/a2a/utils/test_agent_card.py:279
Functiontest_json_create_adds_litellm_for_a_listed_bedrock_model_crewai_runs_through_it
Bedrock's picker lists LiteLLM feed ids; crewAI runs one with no "." in its name through LiteLLM, so the project needs that extra as well.
lib/cli/tests/test_create_crew.py:2260
Functiontest_json_create_adds_the_extra_when_the_key_is_entered_at_the_prompt
( tmp_path, monkeypatch, capsys )
lib/cli/tests/test_create_crew.py:2294
Functiontest_json_create_adds_the_provider_extra_to_the_crewai_dependency
( tmp_path, monkeypatch, llm, crewai_with_extras )
lib/cli/tests/test_create_crew.py:2192
Functiontest_json_create_dmn_mode_next_steps_name_each_key_of_a_multi_key_provider
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1642
← previousnext →14,801–14,900 of 19,264, ranked by callers