Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/copier-org/copier
/ functions
Functions
657 in github.com/copier-org/copier
⨍
Functions
657
◇
Types & classes
60
↳
Endpoints
10
Function
test_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
Function
test_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
Function
test_update_skip_answered
Test that the questions for the user are OK
tests/test_prompt.py:232
Function
test_update_skip_answered_with_ask
Test that the questions for the user are OK
tests/test_prompt.py:1256
Function
test_update_skip_answered_with_ask_and_data
Test that the questions for the user are OK
tests/test_prompt.py:1314
Function
test_update_subdirectory
(template_path: str, tmp_path: Path)
tests/test_subdirectory.py:97
Function
test_update_subdirectory_from_root_path
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_subdirectory.py:110
Function
test_update_symlink
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:229
Function
test_update_tasks
Test that updating a template runs tasks from the expected version.
tests/test_demo_update_tasks.py:9
Function
test_update_using_local_source_path_with_tilde
(tmp_path: Path)
tests/test_vcs.py:278
Function
test_update_vcs_ref_current
( tmp_path_factory: pytest.TempPathFactory, cli: bool, )
tests/test_updatediff.py:1743
Function
test_update_with_answers_with_umlaut
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1990
Function
test_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
Function
test_update_with_gpg_sign
( tmp_path_factory: pytest.TempPathFactory, gitconfig: GitConfig )
tests/test_dirty_local.py:207
Function
test_update_with_new_field_in_new_version_skip_answered
Test that the questions for the user are OK
tests/test_prompt.py:298
Function
test_update_with_new_file_in_template_and_project
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1458
Function
test_update_with_new_file_in_template_and_project_via_migration
Merge conflicts are yielded when both template and project add same file. The project adds content to `.gitlab-ci.yml` on top of what template v1
tests/test_updatediff.py:1533
Function
test_update_with_separate_git_directory
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1675
Function
test_update_with_skip_answered_and_new_answer
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1715
Function
test_updatediff
(tmp_path_factory: pytest.TempPathFactory)
tests/test_updatediff.py:38
Function
test_user_defaults
( tmp_path_factory: pytest.TempPathFactory, user_defaults: AnyByStrDict, data: AnyByStrDict, e
tests/test_config.py:530
Function
test_user_defaults_updated
( tmp_path_factory: pytest.TempPathFactory, user_defaults_initial: AnyByStrDict, user_defaults_upd
tests/test_config.py:724
Function
test_valid_multi_section
Including multiple files works fine merged with multiple sections.
tests/test_config.py:243
Function
test_validate_default_value
( tmp_path_factory: pytest.TempPathFactory, spec: AnyByStrDict, expected: AbstractContextManager[N
tests/test_copy.py:1064
Function
test_validate_init_data
( tmp_path_factory: pytest.TempPathFactory, spec: AnyByStrDict, value: Any, expected: Abstract
tests/test_copy.py:861
Function
test_validate_init_data_with_skipped_question
( tmp_path_factory: pytest.TempPathFactory, defaults: bool )
tests/test_copy.py:884
Function
test_value_with_forward_slash
(tmp_path_factory: pytest.TempPathFactory)
tests/test_copy.py:473
Function
test_var_name_value_allowed
Test that a question var name "value" causes no name collision. See https://github.com/copier-org/copier/pull/780 for more details.
tests/test_prompt.py:794
Function
test_version_0_0_0_ignored
( template_path: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_minimum_version.py:85
Function
test_version_bigger_major_warning
( template_path: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_minimum_version.py:96
Function
test_version_equal_required
( template_path: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_minimum_version.py:42
Function
test_version_greater_than_required
( template_path: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_minimum_version.py:50
Function
test_version_less_than_required
( template_path: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_minimum_version.py:34
Function
test_version_migration
Test a migration running on a specific version
tests/test_migrations.py:138
Function
test_warn_if_chmod_raises_permission_error
Test that a warning is raised when `chmod` raises a `PermissionError`. Changing path permissions is not allowed in some filesystems like gcsfuse.
tests/test_copy.py:1467
Function
test_when
Test that the 2nd question is skipped or not, properly.
tests/test_prompt.py:403
Function
test_with_custom_answers_file_path_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:499
Function
test_with_prerelease_template_json_output_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:311
Function
test_with_prerelease_template_no_opts
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:277
Function
test_with_prerelease_template_prereleases_and_json_output_opts
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:423
Function
test_with_prerelease_template_prereleases_and_quiet_opts
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:463
Function
test_with_prerelease_template_prereleases_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:385
Function
test_with_prerelease_template_quiet_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:350
Function
test_with_updated_template_json_output_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:203
Function
test_with_updated_template_no_opts
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:166
Function
test_with_updated_template_quiet_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:242
Function
test_without_updated_template_json_output_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:92
Function
test_without_updated_template_no_opts
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:58
Function
test_without_updated_template_quiet_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:131
Function
test_worker_config_precedence
( tmp_path: Path, test_input: AnyByStrDict, expected_exclusions: tuple[str, ...] )
tests/test_config.py:457
Function
test_worker_good_data
(tmp_path: Path)
tests/test_config.py:430
Function
timeout_type
(value: Any)
tests/conftest.py:22
Method
to_json_fallback
(value: Any)
copier/_main.py:742
Function
tpl
A simple template that supports updates.
tests/test_recopy.py:16
Method
url_expanded
Get usable URL. `url` can be specified in shortcut format, which wouldn't be understood by the underlying VCS system. This pr
copier/_template.py:639
Method
vcs
Get VCS system used by the template, if any.
copier/_template.py:677
Method
vcs
VCS type of the subproject.
copier/_subproject.py:85
← previous
601–657 of 657, ranked by callers