MCPcopy Create free account

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

Functions649 in github.com/copier-org/copier

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
Functiontest_update_with_new_field_in_new_version_skip_answered
Test that the questions for the user are OK
tests/test_prompt.py:298
Functiontest_update_with_new_file_in_template_and_project
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1458
Functiontest_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
Functiontest_update_with_separate_git_directory
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1675
Functiontest_update_with_skip_answered_and_new_answer
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1715
Functiontest_updatediff
(tmp_path_factory: pytest.TempPathFactory)
tests/test_updatediff.py:38
Functiontest_user_defaults
( tmp_path_factory: pytest.TempPathFactory, user_defaults: AnyByStrDict, data: AnyByStrDict, e
tests/test_config.py:504
Functiontest_user_defaults_updated
( tmp_path_factory: pytest.TempPathFactory, user_defaults_initial: AnyByStrDict, user_defaults_upd
tests/test_config.py:698
Functiontest_valid_multi_section
Including multiple files works fine merged with multiple sections.
tests/test_config.py:238
Functiontest_validate_default_value
( tmp_path_factory: pytest.TempPathFactory, spec: AnyByStrDict, expected: AbstractContextManager[N
tests/test_copy.py:1064
Functiontest_validate_init_data
( tmp_path_factory: pytest.TempPathFactory, spec: AnyByStrDict, value: Any, expected: Abstract
tests/test_copy.py:861
Functiontest_validate_init_data_with_skipped_question
( tmp_path_factory: pytest.TempPathFactory, defaults: bool )
tests/test_copy.py:884
Functiontest_value_with_forward_slash
(tmp_path_factory: pytest.TempPathFactory)
tests/test_copy.py:473
Functiontest_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
Functiontest_version_0_0_0_ignored
( template_path: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_minimum_version.py:85
Functiontest_version_bigger_major_warning
( template_path: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_minimum_version.py:96
Functiontest_version_equal_required
( template_path: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_minimum_version.py:42
Functiontest_version_greater_than_required
( template_path: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_minimum_version.py:50
Functiontest_version_less_than_required
( template_path: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_minimum_version.py:34
Functiontest_version_migration
Test a migration running on a specific version
tests/test_migrations.py:139
Functiontest_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
Functiontest_when
Test that the 2nd question is skipped or not, properly.
tests/test_prompt.py:403
Functiontest_with_custom_answers_file_path_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:499
Functiontest_with_prerelease_template_json_output_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:311
Functiontest_with_prerelease_template_no_opts
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:277
Functiontest_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
Functiontest_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
Functiontest_with_prerelease_template_prereleases_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:385
Functiontest_with_prerelease_template_quiet_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:350
Functiontest_with_updated_template_json_output_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:203
Functiontest_with_updated_template_no_opts
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:166
Functiontest_with_updated_template_quiet_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:242
Functiontest_without_updated_template_json_output_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:92
Functiontest_without_updated_template_no_opts
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:58
Functiontest_without_updated_template_quiet_opt
( capsys: pytest.CaptureFixture[str], tmp_path_factory: pytest.TempPathFactory, template_path: str
tests/test_check_update.py:131
Functiontest_worker_config_precedence
( tmp_path: Path, test_input: AnyByStrDict, expected_exclusions: tuple[str, ...] )
tests/test_config.py:431
Functiontest_worker_good_data
(tmp_path: Path)
tests/test_config.py:404
Functiontimeout_type
(value: Any)
tests/conftest.py:22
Methodto_json_fallback
(value: Any)
copier/_main.py:730
Functiontpl
A simple template that supports updates.
tests/test_recopy.py:16
Methodurl_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:624
Methodvcs
Get VCS system used by the template, if any.
copier/_template.py:662
Methodvcs
VCS type of the subproject.
copier/_subproject.py:85
← previous601–649 of 649, ranked by callers