MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

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:2137
Methodtest_create_from_bytes
Test creating FileBytes from raw bytes.
lib/crewai/tests/utilities/test_files.py:120
Methodtest_create_from_existing_file
Test creating FilePath from an existing file.
lib/crewai/tests/utilities/test_files.py:73
Methodtest_create_from_git_sends_it
(self, mock_repository, _env)
lib/cli/tests/deploy/test_deploy_main.py:2121
Methodtest_create_from_stream
Test creating FileStream from a file-like object.
lib/crewai/tests/utilities/test_files.py:143
Methodtest_create_gemini_service
Test Gemini service creation.
lib/crewai-tools/tests/rag/test_embedding_service.py:246
Functiontest_create_help_hides_legacy_flag_aliases
(runner)
lib/cli/tests/test_cli.py:188
Functiontest_create_help_marks_agent_support_experimental_and_json_default
()
lib/cli/tests/test_create_agent.py:422
Functiontest_create_in_dmn_mode_does_not_offer_a_run_at_a_terminal
( monkeypatch, capsys, args, creator )
lib/cli/tests/test_cli.py:610
Methodtest_create_in_project
(self, skill_command, tmp_path)
lib/cli/tests/skills/test_main.py:53
Functiontest_create_initializes_git_repo_when_git_is_available
( args, project_root, tmp_path, monkeypatch, runner )
lib/cli/tests/test_create_crew.py:213
Methodtest_create_inline_base64
Test creating InlineBase64 instance.
lib/crewai-files/tests/test_resolved.py:18
Methodtest_create_inline_bytes
Test creating InlineBytes instance.
lib/crewai-files/tests/test_resolved.py:45
Functiontest_create_llm_anthropic_missing_dependency
Test that create_llm raises error when Anthropic dependency is missing
lib/crewai/tests/utilities/test_llm_utils.py:174
Functiontest_create_llm_from_env_with_unaccepted_attributes
()
lib/crewai/tests/utilities/test_llm_utils.py:118
Functiontest_create_llm_openai_missing_api_key
Credentials are validated lazily: `create_llm` succeeds, and the descriptive error only surfaces when the client is actually built.
lib/crewai/tests/utilities/test_llm_utils.py:162
Functiontest_create_llm_with_config_dict
()
lib/crewai/tests/utilities/test_llm_utils.py:26
Functiontest_create_llm_with_config_dict_model_aliases
( model_key: str, model_value: str, )
lib/crewai/tests/utilities/test_llm_utils.py:51
Functiontest_create_llm_with_invalid_model_string
()
lib/crewai/tests/utilities/test_llm_utils.py:69
Functiontest_create_llm_with_invalid_type
()
lib/crewai/tests/utilities/test_llm_utils.py:150
Functiontest_create_llm_with_llm_instance
()
lib/crewai/tests/utilities/test_llm_utils.py:12
Functiontest_create_llm_with_none_uses_default_model
()
lib/crewai/tests/utilities/test_llm_utils.py:94
Functiontest_create_llm_with_partial_attributes
()
lib/crewai/tests/utilities/test_llm_utils.py:137
Functiontest_create_llm_with_unknown_object
()
lib/crewai/tests/utilities/test_llm_utils.py:102
Functiontest_create_llm_with_unknown_object_missing_attributes
()
lib/crewai/tests/utilities/test_llm_utils.py:81
Functiontest_create_llm_with_valid_model_string
()
lib/crewai/tests/utilities/test_llm_utils.py:19
Methodtest_create_models_evaluation
(self, mock_make_request)
lib/cli/tests/test_plus_api.py:67
Methodtest_create_models_evaluation_sends_only_what_it_was_given
( self, mock_make_request )
lib/cli/tests/test_plus_api.py:93
Methodtest_create_openai_service
Test OpenAI service creation.
lib/crewai-tools/tests/rag/test_embedding_service.py:210
Methodtest_create_openrouter_service
Test create_openrouter_service helper method.
lib/crewai-tools/tests/rag/test_embedding_service.py:353
Methodtest_create_outside_project
(self, skill_command, tmp_path)
lib/cli/tests/skills/test_main.py:62
Functiontest_create_picker_supports_tool_skill_and_template
( mock_tool_command_cls, mock_pick, mock_prompt, mock_enable_prompt, runner, )
lib/cli/tests/test_create_unified.py:179
Methodtest_create_planner_task
(self, crew_planner)
lib/crewai/tests/utilities/test_planning_handler.py:79
Methodtest_create_planning_agent
(self, crew_planner)
lib/crewai/tests/utilities/test_planning_handler.py:74
Functiontest_create_project_zip_accepts_json_project_without_package_name
(tmp_path: Path)
lib/cli/tests/deploy/test_archive.py:283
Functiontest_create_project_zip_does_not_fallback_when_repository_listing_fails
( tmp_path: Path, )
lib/cli/tests/deploy/test_archive.py:97
Functiontest_create_project_zip_does_not_rewrite_json_project_scripts
(tmp_path: Path)
lib/cli/tests/deploy/test_archive.py:213
Functiontest_create_project_zip_excludes_local_artifacts
(tmp_path: Path)
lib/cli/tests/deploy/test_archive.py:11
Functiontest_create_project_zip_excludes_symlinked_files
(tmp_path: Path)
lib/cli/tests/deploy/test_archive.py:114
Functiontest_create_project_zip_keeps_json_project_root_shape
(tmp_path: Path)
lib/cli/tests/deploy/test_archive.py:175
Functiontest_create_project_zip_preserves_json_project_shape
(tmp_path: Path)
lib/cli/tests/deploy/test_archive.py:136
Functiontest_create_project_zip_preserves_json_project_with_malformed_tool_config
( tmp_path: Path, tool_config: str )
lib/cli/tests/deploy/test_archive.py:254
Functiontest_create_project_zip_uses_repository_file_list
(tmp_path: Path)
lib/cli/tests/deploy/test_archive.py:38
Functiontest_create_project_zip_with_nothing_to_deploy_raises_archive_error
Still a ValueError for existing callers, and a distinct type for the deploy command.
lib/cli/tests/deploy/test_archive.py:311
Functiontest_create_project_zip_without_repository_uses_git_ignore_rules
( tmp_path: Path, )
lib/cli/tests/deploy/test_archive.py:61
Functiontest_create_project_zip_wraps_a_write_failure_and_removes_the_partial_file
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/deploy/test_archive.py:320
Functiontest_create_project_zip_wraps_staging_and_temp_file_failures_and_cleans_up
A full disk while staging or creating the archive is an archive failure too.
lib/cli/tests/deploy/test_archive.py:346
Functiontest_create_python_agent_skips_the_tool_picker
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:268
Functiontest_create_requires_name_in_dmn_mode
(runner)
lib/cli/tests/test_cli.py:378
Functiontest_create_requires_type_in_dmn_mode
(runner)
lib/cli/tests/test_cli.py:370
Methodtest_create_resolver_cache_disabled
Test resolver has no cache when disabled.
lib/crewai-files/tests/test_resolver.py:174
Methodtest_create_resolver_cache_enabled
Test resolver has cache when enabled.
lib/crewai-files/tests/test_resolver.py:168
Methodtest_create_resolver_with_options
Test creating resolver with custom options.
lib/crewai-files/tests/test_resolver.py:156
Functiontest_create_runs_the_flow_it_just_created_from_its_folder
( tmp_path, monkeypatch )
lib/cli/tests/test_cli.py:660
Functiontest_create_runs_the_project_with_the_ca_bundle_crewai_started_with
( monkeypatch, ca_bundle )
lib/cli/tests/test_cli.py:546
Functiontest_create_scaffolds_assistant_instructions
(mock_subprocess, tool_command)
lib/cli/tests/tools/test_main.py:72
Functiontest_create_search_index
(mongodb_vector_search_tool)
lib/crewai-tools/tests/tools/test_mongodb_vector_search_tool.py:55
Functiontest_create_skill_invokes_skill_command
(mock_skill_command_cls, runner)
lib/cli/tests/test_create_unified.py:49
Functiontest_create_skill_no_project_flag
(mock_skill_command_cls, runner)
lib/cli/tests/test_create_unified.py:60
Functiontest_create_skill_rejects_crew_and_flow_flags
( mock_skill_command_cls, runner, extra_args )
lib/cli/tests/test_create_unified.py:89
Functiontest_create_skill_works_in_dmn_mode
(mock_skill_command_cls, runner)
lib/cli/tests/test_create_unified.py:216
Functiontest_create_skip_provider_flag
(create_json_crew, runner)
lib/cli/tests/test_cli.py:205
Functiontest_create_skip_provider_snake_case_alias_warns
(create_json_crew, runner)
lib/cli/tests/test_cli.py:214
Functiontest_create_success
(mock_subprocess, capsys, tool_command)
lib/cli/tests/tools/test_main.py:46
Functiontest_create_table_returns_early_when_table_exists
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1376
Methodtest_create_tasks_summary
(self, crew_planner)
lib/crewai/tests/utilities/test_planning_handler.py:96
Methodtest_create_tasks_summary_with_knowledge_and_tools
Test task summary generation with both knowledge and tools present.
lib/crewai/tests/utilities/test_planning_handler.py:106
Functiontest_create_template_invokes_template_command
(mock_template_command_cls, runner)
lib/cli/tests/test_create_unified.py:109
Functiontest_create_template_output_dir_flag
(mock_template_command_cls, runner)
lib/cli/tests/test_create_unified.py:120
Functiontest_create_template_rejects_crew_and_flow_flags
( mock_template_command_cls, runner, extra_args )
lib/cli/tests/test_create_unified.py:153
Functiontest_create_template_works_in_dmn_mode
(mock_template_command_cls, runner)
lib/cli/tests/test_create_unified.py:226
Methodtest_create_todos_from_plan_steps
Test creating TodoList from PlanSteps.
lib/crewai/tests/utilities/test_structured_planning.py:266
Functiontest_create_tool_inside_a_project_exits_with_status_1
(tool_command, capsys)
lib/cli/tests/tools/test_main.py:630
Functiontest_create_tool_invokes_tool_command
(mock_tool_command_cls, runner)
lib/cli/tests/test_create_unified.py:17
Functiontest_create_tool_rejects_crew_and_flow_flags
(mock_tool_command_cls, runner, extra_args)
lib/cli/tests/test_create_unified.py:40
Functiontest_create_tool_skill_or_template_does_not_offer_a_run
( monkeypatch, capsys, args, command )
lib/cli/tests/test_cli.py:647
Functiontest_create_tool_when_the_folder_exists_exits_with_status_1
A refused scaffold must not look like a success to scripts and CI.
lib/cli/tests/tools/test_main.py:616
Functiontest_create_tool_works_in_dmn_mode
(mock_tool_command_cls, runner)
lib/cli/tests/test_create_unified.py:208
Methodtest_create_url_reference
Test creating UrlReference instance.
lib/crewai-files/tests/test_resolved.py:117
Functiontest_create_validated_connection_allows_configured_private_hostname
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:543
Functiontest_create_validated_connection_blocks_direct_loopback
()
lib/crewai-tools/tests/utilities/test_safe_requests.py:628
Functiontest_create_validated_connection_blocks_when_any_record_is_private
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:599
Functiontest_create_validated_connection_closes_socket_when_peer_is_blocked
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:677
Functiontest_create_validated_connection_ignores_allowlist_under_force_safe_paths
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:582
Functiontest_create_validated_connection_keeps_socket_when_called_from_except
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:633
Functiontest_create_validated_connection_pins_resolved_ip
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:498
Functiontest_create_vector_index
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:518
Functiontest_create_vector_index_creates_ivf_index
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:537
Functiontest_create_vector_index_rejects_invalid_idx_type
(monkeypatch)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:638
← previousnext →13,301–13,400 of 20,757, ranked by callers