MCPcopy Create free account

hub / github.com/copier-org/copier / functions

Functions643 in github.com/copier-org/copier

Functiontest_remote_clone_checks_out_ref
( remote_repo: str, tmp_path_factory: pytest.TempPathFactory )
tests/test_vcs.py:159
Functiontest_remote_clone_creates_and_reuses_mirror
( remote_repo: str, tmp_path_factory: pytest.TempPathFactory )
tests/test_vcs.py:136
Functiontest_remote_clone_prunes_stale_worktree
( remote_repo: str, tmp_path_factory: pytest.TempPathFactory )
tests/test_vcs.py:166
Functiontest_remote_clone_recovers_from_corrupt_mirror
( remote_repo: str, tmp_path_factory: pytest.TempPathFactory )
tests/test_vcs.py:185
Functiontest_removes_temporary_clone
(tmp_path: Path)
tests/test_vcs.py:256
Functiontest_render_conditional
(tmp_path_factory: TempPathFactory)
tests/test_conditional_file_name.py:11
Functiontest_render_conditional_subdir
(tmp_path_factory: TempPathFactory)
tests/test_conditional_file_name.py:37
Functiontest_render_copier_conf_as_json_without_circular_reference
See https://github.com/copier-org/copier/issues/2448.
tests/test_updatediff.py:2263
Functiontest_render_tasks
(template_path: str, tmp_path: Path)
tests/test_tasks.py:48
Functiontest_required_bool_question
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn )
tests/test_prompt.py:876
Functiontest_required_choice_question
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, type_name: str, choices: list[Any],
tests/test_prompt.py:916
Functiontest_required_choice_question_without_data
( tmp_path_factory: pytest.TempPathFactory, type_name: str, choices: list[Any] )
tests/test_copy.py:960
Functiontest_required_question_without_data
( tmp_path_factory: pytest.TempPathFactory, type_name: str )
tests/test_copy.py:931
Functiontest_required_text_question
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, type_name: str, expected_answer: str
tests/test_prompt.py:839
Functiontest_requires_unsafe
Tests that migrations require the unsafe flag to be passed
tests/test_migrations.py:107
Functiontest_resolve_absolute_symlink_outside_template_root_raises_error
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_symlinks.py:619
Functiontest_resolve_relative_symlink_outside_template_root_raises_error
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_symlinks.py:576
Functiontest_secret_question_requires_default_value
( tmp_path_factory: pytest.TempPathFactory, config: str )
tests/test_config.py:725
Functiontest_secret_validator
Secret question answer is validated.
tests/test_prompt.py:1133
Functiontest_select_latest_version_tag
( tmp_path_factory: pytest.TempPathFactory, sorter: Callable[[Sequence[str]], Iterator[str]], )
tests/test_vcs.py:333
Functiontest_selection_type_cast
Selection question with different types, properly casted.
tests/test_complex_questions.py:477
Functiontest_settings_defaults_precedence
( tmp_path_factory: pytest.TempPathFactory, settings_path: Path )
tests/test_config.py:97
Functiontest_settings_defined_but_missing
( settings_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_settings_deprecated.py:81
Functiontest_settings_from_default_location
(settings_path: Path)
tests/test_settings_deprecated.py:21
Functiontest_settings_from_default_location_dont_exists
()
tests/test_settings_deprecated.py:42
Functiontest_settings_from_env_location
( settings_path: Path, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_settings.py:50
Functiontest_settings_from_env_location
( settings_path: Path, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_settings_deprecated.py:48
Functiontest_settings_from_param
( settings_path: Path, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_settings_deprecated.py:63
Functiontest_settings_from_utf_file
( settings_path: Path, monkeypatch: pytest.MonkeyPatch, encoding: str )
tests/test_settings_deprecated.py:94
Functiontest_shallow_clone
(tmp_path: Path, recwarn: pytest.WarningsRecorder)
tests/test_vcs.py:236
Functiontest_skip_fileexists
(template_path: str, tmp_path: Path)
tests/test_cli.py:588
Functiontest_skip_filenotexists
(template_path: str, tmp_path: Path)
tests/test_cli.py:564
Functiontest_skip_if_exists
(tmp_path: Path)
tests/test_copy.py:321
Functiontest_skip_if_exists_rendered_patterns
(tmp_path: Path)
tests/test_copy.py:346
Functiontest_skip_if_exists_templated
(tmp_path_factory: pytest.TempPathFactory)
tests/test_updatediff.py:2233
Functiontest_skip_migration
Test that migrations aren't run in pretend mode
tests/test_migrations.py:339
Functiontest_skip_option
(tmp_path: Path)
tests/test_copy.py:361
Functiontest_skip_update
( tmp_path_factory: pytest.TempPathFactory, skip_pattern: str, subproject_path: Path, )
tests/test_updatediff.py:592
Functiontest_skip_update_deleted
Ensure that paths in ``skip_if_exists`` are always recreated if they are absent before updating.
tests/test_updatediff.py:684
Functiontest_skipped_question_with_unset_default_value
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_copy.py:1445
Functiontest_strictundefined_undefined_variable
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_jinja2_undefined.py:64
Functiontest_subdirectory_path_outside_template_root_on_copy_raises_error
( tmp_path_factory: pytest.TempPathFactory, is_absolute: bool, )
tests/test_subdirectory.py:340
Functiontest_subdirectory_path_outside_template_root_on_update_raises_error
( tmp_path_factory: pytest.TempPathFactory, is_absolute: bool, )
tests/test_subdirectory.py:358
Functiontest_symlinked_dir_expanded
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:453
Functiontest_symlinked_to_outside_destination_absolute
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_symlinks.py:471
Functiontest_symlinked_to_outside_destination_relative
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_symlinks.py:522
Functiontest_tag_autodetect_v_prefix_optional
Tags with and without `v` prefix should work the same.
tests/test_copy.py:122
Functiontest_task_templating_with_operation
Ensure that it is possible to define tasks that are only executed when copying.
tests/test_context.py:156
Functiontest_task_with_blank_rendered_when_is_skipped
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_tasks.py:71
Functiontest_templated_choices
(tmp_path_factory: pytest.TempPathFactory, spec: str)
tests/test_copy.py:1163
Functiontest_templated_prompt
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, questions_data: AnyByStrDict, expect
tests/test_templated_prompt.py:155
Functiontest_templated_prompt_builtins
(tmp_path_factory: pytest.TempPathFactory)
tests/test_templated_prompt.py:228
Functiontest_templated_prompt_custom_envops
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_templated_prompt.py:189
Functiontest_templated_prompt_invalid
( tmp_path_factory: pytest.TempPathFactory, questions: AnyByStrDict, raises: type[BaseException] |
tests/test_templated_prompt.py:263
Functiontest_templated_prompt_update_previous_answer_disabled
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn )
tests/test_templated_prompt.py:425
Functiontest_templated_prompt_with_conditional_choices
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, cloud: str, iac_choices: str, )
tests/test_templated_prompt.py:326
Functiontest_templated_prompt_with_templated_choices
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, cloud: str, iac_choices: str, )
tests/test_templated_prompt.py:380
Functiontest_temporary_directory_with_git_repo_deletion
Ensure temporary directories containing git repositories are properly deleted, whatever the OS.
tests/test_tools.py:58
Functiontest_temporary_directory_with_readonly_files_deletion
Ensure temporary directories containing read-only files are properly deleted, whatever the OS.
tests/test_tools.py:46
Functiontest_timestamp_identical
(tmp_path: Path)
tests/test_copy.py:336
Functiontest_to_json_filter_with_conf
(tmp_path_factory: pytest.TempPathFactory)
tests/test_jinja2_extensions.py:81
Functiontest_to_not_keep_trailing_newlines_in_jinja2
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_normal_jinja2.py:52
Functiontest_tui_inherited_default
Make sure a template inherits default as expected.
tests/test_complex_questions.py:374
Functiontest_tui_typed_default
Make sure a template defaults are typed as expected.
tests/test_complex_questions.py:438
Functiontest_types
Ensure source code static typing.
tests/test_tools.py:13
Functiontest_undefined
(tmp_path_factory: pytest.TempPathFactory)
tests/test_jinja2_undefined.py:45
Functiontest_undefined_phase_in_external_data
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_answersfile.py:431
Functiontest_update
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dirty_local.py:119
Functiontest_update
( tmp_path_factory: pytest.TempPathFactory, unsafe: bool, spec_old: AnyByStrDict, spec_new: An
tests/test_unsafe.py:311
Functiontest_update_choice
Choices are properly remembered and selected in TUI when updating.
tests/test_prompt.py:643
Functiontest_update_cli
( tmp_path_factory: pytest.TempPathFactory, capsys: pytest.CaptureFixture[str], unsafe: bool | str
tests/test_unsafe.py:356
Functiontest_update_defaults_with_ask
Test that the questions for the user are OK
tests/test_prompt.py:1376
Functiontest_update_defaults_with_ask_and_data
Test that the questions for the user are OK
tests/test_prompt.py:1432
Functiontest_update_deleted_path
Ensure that deleted paths are not regenerated during updates, even if the template has changes in that path.
tests/test_updatediff.py:782
Functiontest_update_deleted_path_not_used_as_pattern
Test that user-deleted paths don't cause deletion of other paths matching the same pattern when updating a project.
tests/test_updatediff.py:825
Functiontest_update_dont_validate_computed_value
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1801
Functiontest_update_file_to_symlink
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:285
Functiontest_update_from_tagged_to_head
(tmp_path_factory: pytest.TempPathFactory)
tests/test_updatediff.py:555
Functiontest_update_git_submodule
(tmp_path_factory: pytest.TempPathFactory)
tests/test_updatediff.py:1840
Functiontest_update_help
(capsys: pytest.CaptureFixture[str])
tests/test_cli.py:445
Functiontest_update_in_repo_subdirectory
( tmp_path_factory: pytest.TempPathFactory, conflict: Literal["rej", "inline"] )
tests/test_updatediff.py:1080
Functiontest_update_inline_changed_answers_and_questions
( tmp_path_factory: pytest.TempPathFactory, interactive: bool, spawn: Spawn )
tests/test_updatediff.py:981
Functiontest_update_keeps_template_generated_gitignored_file
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1955
Functiontest_update_multiselect_choices
Multiple choices are properly remembered and selected in TUI when updating.
tests/test_prompt.py:1068
Functiontest_update_needs_more_context
( tmp_path_factory: pytest.TempPathFactory, context_lines: int, api: bool )
tests/test_updatediff.py:1162
Functiontest_update_preserves_exec_bit_authored_on_unix
A Windows user running ``copier update`` on a template that was authored on Linux/macOS must see executable-bit changes propagate to the desti
tests/test_updatediff.py:2459
Functiontest_update_propagates_executable_bit_addition
A template that gains ``+x`` between versions (without changing the file's content) must propagate that bit to existing destinations on ``copi
tests/test_updatediff.py:2293
Functiontest_update_propagates_executable_bit_removal
When a template drops the executable bit between versions, the destination's on-disk mode and git index must lose ``+x`` too.
tests/test_updatediff.py:2377
Functiontest_update_skip_answered
Test that the questions for the user are OK
tests/test_prompt.py:232
Functiontest_update_skip_answered_with_ask
Test that the questions for the user are OK
tests/test_prompt.py:1254
Functiontest_update_skip_answered_with_ask_and_data
Test that the questions for the user are OK
tests/test_prompt.py:1312
Functiontest_update_subdirectory
(template_path: str, tmp_path: Path)
tests/test_subdirectory.py:97
Functiontest_update_subdirectory_from_root_path
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_subdirectory.py:110
Functiontest_update_symlink
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:229
Functiontest_update_tasks
Test that updating a template runs tasks from the expected version.
tests/test_demo_update_tasks.py:9
Functiontest_update_using_local_source_path_with_tilde
(tmp_path: Path)
tests/test_vcs.py:278
Functiontest_update_vcs_ref_current
( tmp_path_factory: pytest.TempPathFactory, cli: bool, )
tests/test_updatediff.py:1743
Functiontest_update_with_answers_with_umlaut
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1990
Functiontest_update_with_exec_bit_change_and_merge_conflict
``copier update`` on a file that gains ``+x`` AND has a conflicting local edit must register a proper merge conflict in the index — the execut
tests/test_updatediff.py:2527
Functiontest_update_with_gpg_sign
( tmp_path_factory: pytest.TempPathFactory, gitconfig: GitConfig )
tests/test_dirty_local.py:207
← previousnext →501–600 of 643, ranked by callers