MCPcopy Create free account

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

Functions643 in github.com/copier-org/copier

Functiontest_config_data_is_merged_from_files
()
tests/test_config.py:44
Functiontest_config_data_nested_transclusions
()
tests/test_config.py:392
Functiontest_config_data_transclusion
()
tests/test_config.py:387
Functiontest_config_exclude
(tmp_path_factory: pytest.TempPathFactory)
tests/test_exclude.py:31
Functiontest_config_exclude_copieryml_without_templates_suffix
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_exclude.py:161
Functiontest_config_exclude_extended
(tmp_path_factory: pytest.TempPathFactory)
tests/test_exclude.py:39
Functiontest_config_exclude_file_with_bad_jinja_syntax_without_templates_suffix
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_exclude.py:182
Functiontest_config_exclude_with_subdirectory
Default excludes are not applied when a (true) subdirectory is specified.
tests/test_exclude.py:100
Functiontest_config_exclude_with_subdirectory_dot
Default excludes are applied when subdirectory is `.`.
tests/test_exclude.py:118
Functiontest_config_exclude_with_subdirectory_empty_string
Default excludes are applied when subdirectory is `""`.
tests/test_exclude.py:133
Functiontest_config_exclude_with_templated_path
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_exclude.py:210
Functiontest_config_exclude_without_subdirectory
Default excludes are applied when no subdirectory is specified.
tests/test_exclude.py:148
Functiontest_config_include
(tmp_path_factory: pytest.TempPathFactory)
tests/test_exclude.py:47
Functiontest_conflict_on_update_with_unicode_in_content
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:2022
Functiontest_conflicted_files_are_marked_unmerged
( tmp_path_factory: pytest.TempPathFactory, filename: str, gitignore_rej: bool, )
tests/test_updatediff.py:1307
Functiontest_copier_conf_variable
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, )
tests/test_templated_prompt.py:578
Functiontest_copier_phase_variable
(tmp_path_factory: pytest.TempPathFactory)
tests/test_copy.py:1333
Functiontest_copier_phase_variable
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, )
tests/test_templated_prompt.py:559
Functiontest_copier_phase_variable
Test that the Phase variable is properly set.
tests/test_migrations.py:582
Functiontest_copier_phase_variable
(tmp_path_factory: pytest.TempPathFactory)
tests/test_tasks.py:193
Functiontest_copy
(tmp_path: Path)
tests/test_copy.py:209
Functiontest_copy
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dirty_local.py:15
Functiontest_copy
( tmp_path_factory: pytest.TempPathFactory, unsafe: bool, spec: AnyByStrDict, expected: Abstra
tests/test_unsafe.py:86
Functiontest_copy_cli
( tmp_path_factory: pytest.TempPathFactory, capsys: pytest.CaptureFixture[str], unsafe: bool,
tests/test_unsafe.py:100
Functiontest_copy_cli_skip_tasks
( tmp_path_factory: pytest.TempPathFactory, skip_tasks: bool, )
tests/test_tasks.py:112
Functiontest_copy_default_advertised
Test that the questions for the user are OK
tests/test_prompt.py:113
Functiontest_copy_defaults_with_ask
Test that the questions for the user are OK
tests/test_prompt.py:1495
Functiontest_copy_defaults_with_ask_and_data
Test that the questions for the user are OK
tests/test_prompt.py:1531
Functiontest_copy_dirty_head
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dirty_local.py:78
Functiontest_copy_dirty_head_with_gpg
( tmp_path_factory: pytest.TempPathFactory, gitconfig: GitConfig )
tests/test_dirty_local.py:96
Functiontest_copy_help
(capsys: pytest.CaptureFixture[str])
tests/test_cli.py:383
Functiontest_copy_repo
(tmp_path: Path)
tests/test_copy.py:244
Functiontest_copy_skip_tasks
(template_path: str, tmp_path: Path)
tests/test_tasks.py:95
Functiontest_copy_subdirectory_api_option
(template_path: str, tmp_path: Path)
tests/test_subdirectory.py:67
Functiontest_copy_subdirectory_config
(template_path: str, tmp_path: Path)
tests/test_subdirectory.py:79
Functiontest_copy_subdirectory_config_no_overwrite
( template_path: str, tmp_path: Path )
tests/test_subdirectory.py:85
Functiontest_copy_symlink
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:15
Functiontest_copy_symlink_missing_target
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:126
Functiontest_copy_symlink_none_path
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:406
Functiontest_copy_symlink_templated_name
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:49
Functiontest_copy_symlink_templated_target
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_symlinks.py:84
Functiontest_copy_tasks
(template_path: str, tmp_path: Path)
tests/test_tasks.py:58
Functiontest_copy_with_defaults
(tmp_path_factory: pytest.TempPathFactory)
tests/test_settings.py:269
Functiontest_copy_with_non_version_tags
(tmp_path_factory: pytest.TempPathFactory)
tests/test_copy.py:77
Functiontest_copy_with_non_version_tags_and_vcs_ref
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_copy.py:159
Functiontest_copy_with_relative_path_to_local_git_template_through_multiple_parents
( tmp_path_factory: pytest.TempPathFactory, depth: int )
tests/test_copy.py:1509
Functiontest_copy_with_tag
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dirty_local.py:41
Functiontest_copy_with_tag_and_ref_head
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dirty_local.py:59
Functiontest_copy_with_vcs_ref_branch
(tmp_path_factory: pytest.TempPathFactory)
tests/test_copy.py:196
Functiontest_copy_without_git
Generating a minimal project must work even if `git` is not installed.
tests/test_copy.py:48
Functiontest_data_cli_takes_precedence_over_data_file
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_cli.py:176
Functiontest_data_file_parsed_by_question_type
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_cli.py:137
Functiontest_data_with_multiselect_choice_question
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_cli.py:613
Functiontest_default
(tmp_path_factory: pytest.TempPathFactory)
tests/test_jinja2_undefined.py:10
Functiontest_default_exclude
(tmp_path: Path)
tests/test_copy.py:255
Functiontest_default_jinja2_extensions
(tmp_path: Path)
tests/test_jinja2_extensions.py:40
Functiontest_default_settings
()
tests/test_settings.py:17
Functiontest_default_settings
()
tests/test_settings_deprecated.py:14
Functiontest_default_windows_settings_path
()
tests/test_settings.py:33
Functiontest_default_windows_settings_path
()
tests/test_settings_deprecated.py:30
Functiontest_disable_secret_validator_on_replay
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:2156
Functiontest_do_not_cleanup
Copier creates dst_path, fails to copy and keeps it.
tests/test_cleanup.py:24
Functiontest_dont_remove_local_clone
(tmp_path: Path)
tests/test_vcs.py:267
Functiontest_dont_render_conditional
(tmp_path_factory: TempPathFactory)
tests/test_conditional_file_name.py:24
Functiontest_dont_render_conditional_subdir
(tmp_path_factory: TempPathFactory)
tests/test_conditional_file_name.py:50
Functiontest_empty_dir
(tmp_path_factory: pytest.TempPathFactory, generate: bool)
tests/test_copy.py:387
Functiontest_empty_section
Empty sections are ignored.
tests/test_config.py:246
Functiontest_empty_suffix
(tmp_path_factory: pytest.TempPathFactory)
tests/test_empty_suffix.py:8
Functiontest_exclude_added_in_new_version
(tmp_path_factory: pytest.TempPathFactory)
tests/test_updatediff.py:2197
Functiontest_exclude_extends
Exclude argument extends the original exclusions instead of replacing them.
tests/test_copy.py:285
Functiontest_exclude_file
(tmp_path: Path)
tests/test_copy.py:275
Functiontest_exclude_recursive
Copy is done properly when excluding recursively.
tests/test_exclude.py:14
Functiontest_exclude_recursive_negate
Copy is done properly when copy_me.txt is the sole file copied.
tests/test_exclude.py:22
Functiontest_exclude_replaces
Exclude in copier.yml replaces default values.
tests/test_copy.py:301
Functiontest_exclude_symlink
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:342
Functiontest_exclude_templating_with_operation
Ensure it's possible to create one-off boilerplate files that are not managed during updates via `_exclude` using the `_copier_operation` con
tests/test_context.py:68
Functiontest_exclude_templating_with_operation_added_in_new_version
Ensure it's possible to create one-off boilerplate files that are not managed during updates via `_exclude` using the `_copier_operation` con
tests/test_context.py:112
Functiontest_exclude_wildcard_negate_nested_file
Test wildcard exclude with negated nested file and symlink excludes.
tests/test_exclude.py:235
Functiontest_external_data
(tmp_path_factory: pytest.TempPathFactory)
tests/test_answersfile.py:262
Functiontest_external_data_path_outside_destination_root_is_unsafe_on_copy
( tmp_path_factory: pytest.TempPathFactory, is_absolute: bool, unsafe: bool, expected: Abstrac
tests/test_answersfile.py:464
Functiontest_external_data_path_outside_destination_root_is_unsafe_on_update
( tmp_path_factory: pytest.TempPathFactory, is_absolute: bool, unsafe: bool, expected: Abstrac
tests/test_answersfile.py:506
Functiontest_external_data_with_umlaut
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_answersfile.py:354
Functiontest_external_data_with_unicode_characters
( tmp_path_factory: pytest.TempPathFactory, monkeypatch: pytest.MonkeyPatch, encoding: str, )
tests/test_answersfile.py:386
Functiontest_file_loop
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dynamic_file_structures.py:116
Functiontest_file_removed
(tmp_path_factory: pytest.TempPathFactory)
tests/test_updatediff.py:897
Functiontest_flags_bad_data
(data: AnyByStrDict)
tests/test_config.py:330
Functiontest_flags_extra_fails
()
tests/test_config.py:335
Functiontest_folder_loop
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dynamic_file_structures.py:11
Functiontest_folder_loop_dict_items
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dynamic_file_structures.py:154
Functiontest_folder_loop_reports_path_when_yielded_part_rendering_fails
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_dynamic_file_structures.py:46
Functiontest_force_option
(tmp_path: Path)
tests/test_copy.py:370
Functiontest_get_git_version
(git_version_output: str, expected_version: Version)
tests/test_vcs.py:400
Functiontest_get_repo
()
tests/test_vcs.py:30
Functiontest_get_repo_worktree
get_repo should recognise a git worktree as a valid local repo.
tests/test_vcs.py:378
Functiontest_gitignore_file_unignored
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1892
Functiontest_good_cli_run
(template_path: str, tmp_path: Path)
tests/test_cli.py:58
Functiontest_good_cli_run_dot_config
Function to test different locations of the answersfile. Added based on the discussion: https://github.com/copier-org/copier/discussions/859
tests/test_cli.py:306
Functiontest_help
()
tests/test_cli.py:377
Functiontest_import_macro
( tmp_path_factory: pytest.TempPathFactory, subdir: str, settings: AnyByStrDict )
tests/test_imports.py:95
Functiontest_include
( tmp_path_factory: pytest.TempPathFactory, subdir: str, settings: AnyByStrDict )
tests/test_imports.py:27
← previousnext →301–400 of 643, ranked by callers