MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Functiontest_create_agent_defaults_to_json_config
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:385
Functiontest_create_agent_does_not_scaffold_when_platform_setup_is_cancelled
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:250
Functiontest_create_agent_exports_installable_agent
( agent_project: Path, monkeypatch: pytest.MonkeyPatch, model: str | None )
lib/cli/tests/test_create_agent.py:29
Functiontest_create_agent_preserves_existing_directory
(agent_project: Path)
lib/cli/tests/test_create_agent.py:95
Functiontest_create_agent_rejects_crew_options
(flag: list[str])
lib/cli/tests/test_create_agent.py:110
Functiontest_create_agent_rejects_invalid_package_name
( name: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:85
Functiontest_create_at_a_terminal_prints_how_to_run_later_when_declined
( monkeypatch, capsys, args, creator )
lib/cli/tests/test_cli.py:568
Functiontest_create_at_a_terminal_runs_the_new_project_when_enter_is_pressed
( monkeypatch, capsys, args, creator )
lib/cli/tests/test_cli.py:467
Methodtest_create_basic_context
Test creating a basic pending feedback context.
lib/crewai/tests/test_async_human_feedback.py:40
Methodtest_create_batch_slice_all_empty_metadatas
Test creating a batch slice where all metadatas are empty.
lib/crewai/tests/rag/chromadb/test_utils.py:244
Methodtest_create_batch_slice_at_end
Test creating a batch slice that goes beyond the end.
lib/crewai/tests/rag/chromadb/test_utils.py:200
Methodtest_create_batch_slice_empty_batch
Test creating a batch slice starting beyond the data.
lib/crewai/tests/rag/chromadb/test_utils.py:216
Methodtest_create_batch_slice_no_metadatas
Test creating a batch slice with no metadatas.
lib/crewai/tests/rag/chromadb/test_utils.py:230
Methodtest_create_batch_slice_normal
Test creating a normal batch slice.
lib/crewai/tests/rag/chromadb/test_utils.py:184
Methodtest_create_batch_slice_single_item
Test creating a batch slice with batch size 1.
lib/crewai/tests/rag/chromadb/test_utils.py:292
Methodtest_create_batch_slice_some_empty_metadatas
Test creating a batch slice where some metadatas are empty.
lib/crewai/tests/rag/chromadb/test_utils.py:260
Methodtest_create_batch_slice_zero_start_index
Test creating a batch slice starting from index 0.
lib/crewai/tests/rag/chromadb/test_utils.py:276
Functiontest_create_client_chromadb
Test ChromaDB client creation.
lib/crewai/tests/rag/config/test_factory.py:9
Functiontest_create_client_unsupported_provider
Test unsupported provider raises ValueError.
lib/crewai/tests/rag/config/test_factory.py:27
Methodtest_create_cohere_service
Test Cohere service creation.
lib/crewai-tools/tests/rag/test_embedding_service.py:234
Methodtest_create_collection
Test that create_collection creates a new collection.
lib/crewai/tests/rag/qdrant/test_client.py:50
Methodtest_create_collection
Test that create_collection calls the underlying client correctly.
lib/crewai/tests/rag/chromadb/test_client.py:76
Methodtest_create_collection_already_exists
Test that create_collection raises error if collection exists.
lib/crewai/tests/rag/qdrant/test_client.py:62
Methodtest_create_collection_with_all_params
Test create_collection with all optional parameters.
lib/crewai/tests/rag/chromadb/test_client.py:89
Methodtest_create_collection_wrong_client_type
Test that create_collection raises TypeError for async client.
lib/crewai/tests/rag/qdrant/test_client.py:71
Functiontest_create_config_agent_loads_and_archives_without_source_package
( format: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:204
Methodtest_create_context_with_emit
Test creating context with routing outcomes.
lib/crewai/tests/test_async_human_feedback.py:60
Functiontest_create_converter_fails_without_agent_or_converter_cls
()
lib/crewai/tests/utilities/test_converter.py:328
Functiontest_create_converter_with_custom_converter
()
lib/crewai/tests/utilities/test_converter.py:316
Functiontest_create_converter_with_mock_agent
()
lib/crewai/tests/utilities/test_converter.py:300
Methodtest_create_crew
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:460
Methodtest_create_crew
(self, mock_input, mock_repository, mock_fetch_env)
lib/cli/tests/deploy/test_deploy_main.py:1026
Methodtest_create_crew
(self, mock_make_request)
lib/crewai/tests/cli/test_plus_api.py:346
Functiontest_create_crew_aborts_on_validation_error
`crewai deploy create` must not contact the API when validation fails.
lib/cli/tests/deploy/test_validate.py:692
Methodtest_create_crew_from_zip
(self, mock_make_multipart_request)
lib/cli/tests/test_plus_api.py:468
Methodtest_create_crew_from_zip
(self, mock_make_multipart_request)
lib/crewai/tests/cli/test_plus_api.py:354
Functiontest_create_crew_in_dmn_mode_skips_provider_prompts
(create_json_crew, runner)
lib/cli/tests/test_cli.py:325
Functiontest_create_crew_normal_name_still_works
( mock_load_env, mock_write_env, mock_copy_template, temp_dir )
lib/cli/tests/test_create_crew.py:183
Functiontest_create_crew_rejects_declarative_flag
(create_json_crew, runner)
lib/cli/tests/test_cli.py:355
Functiontest_create_crew_rejects_no_project_flag
(mock_skill_command_cls, runner)
lib/cli/tests/test_create_unified.py:100
Functiontest_create_crew_rejects_output_dir_flag
(mock_template_command_cls, runner)
lib/cli/tests/test_create_unified.py:167
Methodtest_create_crew_reports_the_created_uuid_from_the_git_path
The attempt span cannot carry the uuid; the post-success span must.
lib/cli/tests/deploy/test_deploy_main.py:1051
Methodtest_create_crew_reports_the_created_uuid_from_the_zip_path
The two creation paths converge, so the uuid must arrive from both.
lib/cli/tests/deploy/test_deploy_main.py:1082
Functiontest_create_crew_scaffolds_assistant_instructions
(tmp_path, monkeypatch)
lib/cli/tests/test_create_crew.py:2575
Functiontest_create_crew_with_multiple_trailing_slashes
( mock_load_env, mock_write_env, mock_copy_template, temp_dir )
lib/cli/tests/test_create_crew.py:158
Functiontest_create_crew_with_parent_folder_and_trailing_slash
( mock_load_env, mock_write_env, mock_copy_template, temp_dir )
lib/cli/tests/test_create_crew.py:300
Functiontest_create_crew_with_trailing_slash_creates_valid_project
( mock_load_env, mock_write_env, mock_copy_template, temp_dir )
lib/cli/tests/test_create_crew.py:123
Methodtest_create_crew_without_git_repo_initializes_and_uses_zip
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1432
Methodtest_create_crew_without_remote_uses_git_file_list_when_commit_fails
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1520
Methodtest_create_crew_without_remote_uses_zip
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1486
Methodtest_create_default_evaluator
(self, mock_crew)
lib/crewai/tests/experimental/evaluation/test_agent_evaluator.py:107
Methodtest_create_default_resolver
Test creating resolver with default settings.
lib/crewai-files/tests/test_resolver.py:149
Functiontest_create_directory_default
Test that create_directory defaults to True for backward compatibility.
lib/crewai/tests/test_task.py:1442
Functiontest_create_directory_false
Test that directories are not created when create_directory=False.
lib/crewai/tests/test_task.py:1413
Functiontest_create_directory_true
Test that directories are created when create_directory=True.
lib/crewai/tests/test_task.py:1375
Functiontest_create_directory_with_existing_directory
Test that create_directory=False works when directory already exists.
lib/crewai/tests/test_task.py:1453
Functiontest_create_does_not_offer_a_run_when_nothing_runnable_was_created
( monkeypatch, capsys, args, creator )
lib/cli/tests/test_cli.py:618
Methodtest_create_evaluation
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:28
Methodtest_create_evaluation_files_it_under_the_project
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:56
Functiontest_create_exits_as_a_shell_would_when_a_signal_kills_the_run
( monkeypatch, returncode, exit_code )
lib/cli/tests/test_cli.py:501
Functiontest_create_exits_with_the_exit_code_of_the_run_it_started
( monkeypatch, returncode )
lib/cli/tests/test_cli.py:483
Methodtest_create_fails_if_dir_exists
(self, skill_command)
lib/cli/tests/skills/test_main.py:74
Methodtest_create_file_reference
Test creating FileReference instance.
lib/crewai-files/tests/test_resolved.py:66
Methodtest_create_file_url
Test creating FileUrl with valid URL.
lib/crewai-files/tests/test_file_url.py:15
Methodtest_create_file_url_with_filename
Test creating FileUrl with custom filename.
lib/crewai-files/tests/test_file_url.py:22
Functiontest_create_flow_aliased_provider_at_a_terminal_asks_for_its_key
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:439
Functiontest_create_flow_at_a_terminal_blank_key_prints_the_line_to_add
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:217
Functiontest_create_flow_at_a_terminal_saves_the_picked_model_and_key
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:188
Functiontest_create_flow_ctrl_c_at_the_key_prompt_leaves_a_complete_project
( tmp_path: Path, monkeypatch: MonkeyPatch, no_provider_keys: None )
lib/cli/tests/test_create_flow.py:532
Functiontest_create_flow_declarative_asks_nothing_at_a_terminal
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:351
Functiontest_create_flow_declarative_project_can_run
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:33
Functiontest_create_flow_declarative_uses_declarative_scaffold
(create_flow, runner)
lib/cli/tests/test_cli.py:333
Functiontest_create_flow_depends_on_crewai_with_tools_only
( tmp_path: Path, monkeypatch: MonkeyPatch, declarative: bool )
lib/cli/tests/test_create_flow.py:76
Functiontest_create_flow_into_an_existing_folder_asks_nothing
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], )
lib/cli/tests/test_create_flow.py:599
Functiontest_create_flow_next_steps_skip_a_key_already_exported
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:584
Functiontest_create_flow_passes_provider_and_skip_provider_through
(create_flow, runner)
lib/cli/tests/test_cli.py:343
Functiontest_create_flow_provider_model_names_the_key_of_the_provider_it_runs_on
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:417
Functiontest_create_flow_provider_preselects_the_model_and_still_asks_for_the_key
( tmp_path: Path, monkeypatch: MonkeyPatch, no_provider_keys: None )
lib/cli/tests/test_create_flow.py:244
Functiontest_create_flow_provider_uses_its_first_listed_model
( tmp_path: Path, monkeypatch: MonkeyPatch, no_provider_keys: None, provider: str, model:
lib/cli/tests/test_create_flow.py:467
Functiontest_create_flow_provider_without_a_terminal_saves_only_the_model
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:380
Functiontest_create_flow_rejects_a_provider_with_no_listed_model
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], provider: str,
lib/cli/tests/test_create_flow.py:489
Functiontest_create_flow_returns_none_when_the_folder_already_exists
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], declarative: b
lib/cli/tests/test_create_flow.py:104
Functiontest_create_flow_returns_the_folder_it_created
( tmp_path: Path, monkeypatch: MonkeyPatch, declarative: bool )
lib/cli/tests/test_create_flow.py:91
Functiontest_create_flow_scaffolds_assistant_instructions
( tmp_path: Path, monkeypatch: MonkeyPatch )
lib/cli/tests/test_create_flow.py:615
Functiontest_create_flow_skip_provider_asks_nothing_at_a_terminal
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:268
Functiontest_create_flow_with_a_keyless_provider_names_no_key
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:568
Functiontest_create_flow_without_a_terminal_asks_nothing_and_writes_no_placeholder
( tmp_path: Path, monkeypatch: MonkeyPatch, capsys: pytest.CaptureFixture[str], no_provider_ke
lib/cli/tests/test_create_flow.py:302
Functiontest_create_folder_structure_folder_name_validation
Test that folder names are validated as valid Python module names
lib/cli/tests/test_create_crew.py:316
Functiontest_create_folder_structure_handles_complex_name_with_trailing_slash
()
lib/cli/tests/test_create_crew.py:78
Functiontest_create_folder_structure_handles_spaces_and_dashes_with_slash
()
lib/cli/tests/test_create_crew.py:225
Functiontest_create_folder_structure_normal_name_unchanged
()
lib/cli/tests/test_create_crew.py:91
Functiontest_create_folder_structure_raises_error_for_invalid_names
()
lib/cli/tests/test_create_crew.py:238
Functiontest_create_folder_structure_rejects_reserved_names
Test that reserved script names are rejected to prevent pyproject.toml conflicts.
lib/cli/tests/test_create_crew.py:350
Functiontest_create_folder_structure_strips_multiple_trailing_slashes
()
lib/cli/tests/test_create_crew.py:65
Functiontest_create_folder_structure_strips_single_trailing_slash
()
lib/cli/tests/test_create_crew.py:52
Functiontest_create_folder_structure_validates_names
()
lib/cli/tests/test_create_crew.py:257
Functiontest_create_folder_structure_with_parent_folder
()
lib/cli/tests/test_create_crew.py:104
Functiontest_create_format_option_rejects_non_agent_projects
()
lib/cli/tests/test_create_agent.py:356
Methodtest_create_from_a_zip_sends_it
(self, mock_repository, _env, _zip)
lib/cli/tests/deploy/test_deploy_main.py:2077
Methodtest_create_from_bytes
Test creating FileBytes from raw bytes.
lib/crewai/tests/utilities/test_files.py:120
← previousnext →12,501–12,600 of 19,735, ranked by callers