MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

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:2061
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:181
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:603
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:371
Functiontest_create_requires_type_in_dmn_mode
(runner)
lib/cli/tests/test_cli.py:363
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:653
Functiontest_create_runs_the_project_with_the_ca_bundle_crewai_started_with
( monkeypatch, ca_bundle )
lib/cli/tests/test_cli.py:539
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:198
Functiontest_create_skip_provider_snake_case_alias_warns
(create_json_crew, runner)
lib/cli/tests/test_cli.py:207
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_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:640
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
Functiontest_create_vector_index_rejects_non_dict_params
(monkeypatch)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:650
Functiontest_create_vector_index_uses_connection_pool
(monkeypatch)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1132
Functiontest_create_vector_index_uses_default_name
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1385
Functiontest_create_vector_index_uses_ivf_default_name
(monkeypatch)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1148
Functiontest_create_vector_index_validates_parameters
( monkeypatch, idx_type, params, message )
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:622
Methodtest_create_voyage_service
Test Voyage AI service creation.
lib/crewai-tools/tests/rag/test_embedding_service.py:222
Functiontest_create_waits_for_the_run_to_handle_ctrl_c_and_exits_with_its_code
( monkeypatch, )
lib/cli/tests/test_cli.py:517
Methodtest_create_with_filename
Test creating FileBytes with optional filename.
lib/crewai/tests/utilities/test_files.py:127
Methodtest_create_with_zip_and_no_git_repo_initializes_one_and_uploads
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1651
Methodtest_create_with_zip_prompts_only_for_env_vars
( self, mock_input, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1612
Methodtest_create_with_zip_uploads_a_zip_even_when_origin_exists
( self, mock_repository, mock_fetch_env, mock_create_project_zip )
lib/cli/tests/deploy/test_deploy_main.py:1580
Functiontest_create_with_zip_uploads_the_working_tree_of_a_real_repo_with_an_origin
Real git, real archive: `--zip` never fetches the (unreachable) origin, and the printed commit is the local HEAD the ZIP was built from.
lib/cli/tests/deploy/test_deploy_main.py:2205
Functiontest_create_without_a_terminal_does_not_offer_a_run
( monkeypatch, capsys, stdin, stdout )
lib/cli/tests/test_cli.py:586
Methodtest_create_without_zip_still_fetches_origin_and_deploys_from_git
( self, mock_input, mock_repository, mock_fetch_env )
lib/cli/tests/deploy/test_deploy_main.py:1629
Functiontest_created_default_index_name_matches_lookup
(idx_type, table_name, base_name)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1321
← previousnext →12,601–12,700 of 19,735, ranked by callers