MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

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:68
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:131
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:2327
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:2361
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:2259
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:1709
Functiontest_json_create_dmn_mode_next_steps_name_the_key_the_model_needs
( tmp_path, monkeypatch, capsys, no_provider_keys, provider, model, key_name )
lib/cli/tests/test_create_crew.py:1692
Functiontest_json_create_dmn_mode_next_steps_skip_a_key_already_exported
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1737
Functiontest_json_create_dmn_mode_uses_non_interactive_defaults
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:1567
Functiontest_json_create_dmn_mode_with_ollama_names_no_key
(tmp_path, monkeypatch, capsys)
lib/cli/tests/test_create_crew.py:1726
Functiontest_json_create_keeps_the_tools_only_dependency_when_no_extra_is_needed
( tmp_path, monkeypatch, provider )
lib/cli/tests/test_create_crew.py:2276
Functiontest_json_create_lists_each_agent_provider_extra_once_and_sorted
( tmp_path, monkeypatch )
lib/cli/tests/test_create_crew.py:2303
Functiontest_json_create_prompts_once_per_provider_and_first_agent_sets_model
( tmp_path, monkeypatch, capsys )
lib/cli/tests/test_create_crew.py:2028
Functiontest_json_create_provider_preselects_default_model
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:1319
Functiontest_json_create_returns_the_folder_it_created
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2465
Functiontest_json_create_saves_platform_token_to_env_file
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:1463
Functiontest_json_create_scaffolds_assistant_instructions
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2609
Functiontest_json_create_skip_provider_names_the_key_in_next_steps_without_dmn
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1752
Functiontest_json_create_with_a_bare_unknown_model_adds_no_extra
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2289
Functiontest_json_crew_non_string_definition_reports_invalid_definition
( tmp_path: Path, )
lib/cli/tests/deploy/test_validate.py:744
Functiontest_json_crew_reports_project_metadata_before_invalid_json
( tmp_path: Path, )
lib/cli/tests/deploy/test_validate.py:258
Functiontest_json_crew_requires_agents_dir_without_classic_errors
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:241
Functiontest_json_crew_uses_template_files
()
lib/cli/tests/test_create_crew.py:1501
Functiontest_json_dmn_next_steps_name_the_key_of_an_aliased_prefix
( tmp_path, monkeypatch, capsys, no_provider_keys, provider, key_name )
lib/cli/tests/test_create_crew.py:1848
Functiontest_json_dmn_next_steps_name_the_watsonx_keys
( tmp_path, monkeypatch, capsys, no_provider_keys )
lib/cli/tests/test_create_crew.py:1859
Methodtest_json_dumps_unrestorable_callable_as_null
( self, make_cb: Callable[[], Callable[..., Any]] )
lib/crewai/tests/test_callback.py:295
Methodtest_json_encoder_handles_decimal_in_results
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:507
Methodtest_json_excludes_none_values
AgentCard JSON with exclude_none should omit None fields.
lib/crewai/tests/a2a/utils/test_agent_card.py:311
Methodtest_json_file_not_found_raises_error
Test that non-existent JSON file raises FileNotFoundError.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:311
Methodtest_json_has_required_fields
AgentCard JSON should contain all required A2A protocol fields.
lib/crewai/tests/a2a/utils/test_agent_card.py:239
Functiontest_json_is_returned_verbatim
JSON is passed through undecorated so callers can parse it.
lib/crewai-tools/tests/url_read_tool_test.py:225
Functiontest_json_knowledge_source
Test JSONKnowledgeSource with a simple JSON file.
lib/crewai/tests/knowledge/test_knowledge.py:450
Methodtest_json_latest
(self)
lib/crewai/tests/test_checkpoint_cli.py:148
Functiontest_json_loader_keeps_non_ascii_text_readable
Object values keep readable Unicode characters.
lib/crewai-tools/tests/rag/test_json_loader_unicode.py:7
Functiontest_json_loader_list_keeps_non_ascii_text_readable
List items keep readable Unicode characters.
lib/crewai-tools/tests/rag/test_json_loader_unicode.py:18
Functiontest_json_loader_lone_surrogate_stays_escaped
Lone surrogate escapes remain ingestible without losing their value.
lib/crewai-tools/tests/rag/test_json_loader_unicode.py:35
Functiontest_json_loader_paired_surrogate_keeps_emoji_readable
A valid surrogate pair is rendered as its Unicode character.
lib/crewai-tools/tests/rag/test_json_loader_unicode.py:52
Functiontest_json_loader_parses_utf8_bom_array
BOM-prefixed arrays retain the same structured output as plain JSON.
lib/crewai-tools/tests/rag/test_json_loader_bom.py:24
Functiontest_json_loader_parses_utf8_bom_object
A local UTF-8 BOM must not turn valid JSON into raw parse-error text.
lib/crewai-tools/tests/rag/test_json_loader_bom.py:15
Functiontest_json_loader_preserves_internal_bom_and_malformed_fallback
Only a leading BOM is removed; content and malformed fallback stay intact.
lib/crewai-tools/tests/rag/test_json_loader_bom.py:31
Functiontest_json_loader_scalar_keeps_non_ascii_text_readable
Scalar strings keep readable Unicode characters.
lib/crewai-tools/tests/rag/test_json_loader_unicode.py:26
Methodtest_json_location_with_glob_characters
(self)
lib/crewai/tests/test_checkpoint_cli.py:172
Functiontest_json_log_appends_serializable_metadata
(tmp_path: Path)
lib/crewai/tests/utilities/test_file_handler.py:87
Functiontest_json_log_serialization_failure_preserves_file
( tmp_path: Path, kind: str, existing: bool )
lib/crewai/tests/utilities/test_file_handler.py:57
Functiontest_json_model_picker_falls_back_to_current_small_model_on_escape
(monkeypatch)
lib/cli/tests/test_create_crew.py:1679
Methodtest_json_not_found
(self)
lib/crewai/tests/test_checkpoint_cli.py:167
Functiontest_json_project_env_run_failure_exits_nonzero
(monkeypatch, tmp_path: Path)
lib/cli/tests/test_run_crew.py:564
Functiontest_json_project_environment_failure_has_actionable_hint
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
lib/cli/tests/deploy/test_validate.py:214
Functiontest_json_property_is_none_when_output_json_was_not_produced
()
lib/crewai/tests/test_task.py:488
Functiontest_json_property_without_output_json
()
lib/crewai/tests/test_task.py:505
Functiontest_json_provider_default_model_helper
()
lib/cli/tests/test_create_crew.py:1532
Methodtest_json_round_trip
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:254
Methodtest_json_round_trip_class
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:261
Methodtest_json_round_trip_classmethod
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_callback.py:268
Methodtest_json_round_trip_inherited_classmethod_keeps_its_class
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/test_callback.py:277
Functiontest_json_run_install_failure_exits_nonzero
(monkeypatch, tmp_path: Path)
lib/cli/tests/test_run_crew.py:686
← previousnext →15,001–15,100 of 19,482, ranked by callers