Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/copier-org/copier
/ functions
Functions
643 in github.com/copier-org/copier
⨍
Functions
643
◇
Types & classes
57
↳
Endpoints
9
Function
test_config_data_is_merged_from_files
()
tests/test_config.py:44
Function
test_config_data_nested_transclusions
()
tests/test_config.py:392
Function
test_config_data_transclusion
()
tests/test_config.py:387
Function
test_config_exclude
(tmp_path_factory: pytest.TempPathFactory)
tests/test_exclude.py:31
Function
test_config_exclude_copieryml_without_templates_suffix
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_exclude.py:161
Function
test_config_exclude_extended
(tmp_path_factory: pytest.TempPathFactory)
tests/test_exclude.py:39
Function
test_config_exclude_file_with_bad_jinja_syntax_without_templates_suffix
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_exclude.py:182
Function
test_config_exclude_with_subdirectory
Default excludes are not applied when a (true) subdirectory is specified.
tests/test_exclude.py:100
Function
test_config_exclude_with_subdirectory_dot
Default excludes are applied when subdirectory is `.`.
tests/test_exclude.py:118
Function
test_config_exclude_with_subdirectory_empty_string
Default excludes are applied when subdirectory is `""`.
tests/test_exclude.py:133
Function
test_config_exclude_with_templated_path
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_exclude.py:210
Function
test_config_exclude_without_subdirectory
Default excludes are applied when no subdirectory is specified.
tests/test_exclude.py:148
Function
test_config_include
(tmp_path_factory: pytest.TempPathFactory)
tests/test_exclude.py:47
Function
test_conflict_on_update_with_unicode_in_content
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:2022
Function
test_conflicted_files_are_marked_unmerged
( tmp_path_factory: pytest.TempPathFactory, filename: str, gitignore_rej: bool, )
tests/test_updatediff.py:1307
Function
test_copier_conf_variable
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, )
tests/test_templated_prompt.py:578
Function
test_copier_phase_variable
(tmp_path_factory: pytest.TempPathFactory)
tests/test_copy.py:1333
Function
test_copier_phase_variable
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, )
tests/test_templated_prompt.py:559
Function
test_copier_phase_variable
Test that the Phase variable is properly set.
tests/test_migrations.py:582
Function
test_copier_phase_variable
(tmp_path_factory: pytest.TempPathFactory)
tests/test_tasks.py:193
Function
test_copy
(tmp_path: Path)
tests/test_copy.py:209
Function
test_copy
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dirty_local.py:15
Function
test_copy
( tmp_path_factory: pytest.TempPathFactory, unsafe: bool, spec: AnyByStrDict, expected: Abstra
tests/test_unsafe.py:86
Function
test_copy_cli
( tmp_path_factory: pytest.TempPathFactory, capsys: pytest.CaptureFixture[str], unsafe: bool,
tests/test_unsafe.py:100
Function
test_copy_cli_skip_tasks
( tmp_path_factory: pytest.TempPathFactory, skip_tasks: bool, )
tests/test_tasks.py:112
Function
test_copy_default_advertised
Test that the questions for the user are OK
tests/test_prompt.py:113
Function
test_copy_defaults_with_ask
Test that the questions for the user are OK
tests/test_prompt.py:1495
Function
test_copy_defaults_with_ask_and_data
Test that the questions for the user are OK
tests/test_prompt.py:1531
Function
test_copy_dirty_head
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dirty_local.py:78
Function
test_copy_dirty_head_with_gpg
( tmp_path_factory: pytest.TempPathFactory, gitconfig: GitConfig )
tests/test_dirty_local.py:96
Function
test_copy_help
(capsys: pytest.CaptureFixture[str])
tests/test_cli.py:383
Function
test_copy_repo
(tmp_path: Path)
tests/test_copy.py:244
Function
test_copy_skip_tasks
(template_path: str, tmp_path: Path)
tests/test_tasks.py:95
Function
test_copy_subdirectory_api_option
(template_path: str, tmp_path: Path)
tests/test_subdirectory.py:67
Function
test_copy_subdirectory_config
(template_path: str, tmp_path: Path)
tests/test_subdirectory.py:79
Function
test_copy_subdirectory_config_no_overwrite
( template_path: str, tmp_path: Path )
tests/test_subdirectory.py:85
Function
test_copy_symlink
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:15
Function
test_copy_symlink_missing_target
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:126
Function
test_copy_symlink_none_path
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:406
Function
test_copy_symlink_templated_name
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:49
Function
test_copy_symlink_templated_target
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_symlinks.py:84
Function
test_copy_tasks
(template_path: str, tmp_path: Path)
tests/test_tasks.py:58
Function
test_copy_with_defaults
(tmp_path_factory: pytest.TempPathFactory)
tests/test_settings.py:269
Function
test_copy_with_non_version_tags
(tmp_path_factory: pytest.TempPathFactory)
tests/test_copy.py:77
Function
test_copy_with_non_version_tags_and_vcs_ref
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_copy.py:159
Function
test_copy_with_relative_path_to_local_git_template_through_multiple_parents
( tmp_path_factory: pytest.TempPathFactory, depth: int )
tests/test_copy.py:1509
Function
test_copy_with_tag
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dirty_local.py:41
Function
test_copy_with_tag_and_ref_head
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dirty_local.py:59
Function
test_copy_with_vcs_ref_branch
(tmp_path_factory: pytest.TempPathFactory)
tests/test_copy.py:196
Function
test_copy_without_git
Generating a minimal project must work even if `git` is not installed.
tests/test_copy.py:48
Function
test_data_cli_takes_precedence_over_data_file
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_cli.py:176
Function
test_data_file_parsed_by_question_type
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_cli.py:137
Function
test_data_with_multiselect_choice_question
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_cli.py:613
Function
test_default
(tmp_path_factory: pytest.TempPathFactory)
tests/test_jinja2_undefined.py:10
Function
test_default_exclude
(tmp_path: Path)
tests/test_copy.py:255
Function
test_default_jinja2_extensions
(tmp_path: Path)
tests/test_jinja2_extensions.py:40
Function
test_default_settings
()
tests/test_settings.py:17
Function
test_default_settings
()
tests/test_settings_deprecated.py:14
Function
test_default_windows_settings_path
()
tests/test_settings.py:33
Function
test_default_windows_settings_path
()
tests/test_settings_deprecated.py:30
Function
test_disable_secret_validator_on_replay
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:2156
Function
test_do_not_cleanup
Copier creates dst_path, fails to copy and keeps it.
tests/test_cleanup.py:24
Function
test_dont_remove_local_clone
(tmp_path: Path)
tests/test_vcs.py:267
Function
test_dont_render_conditional
(tmp_path_factory: TempPathFactory)
tests/test_conditional_file_name.py:24
Function
test_dont_render_conditional_subdir
(tmp_path_factory: TempPathFactory)
tests/test_conditional_file_name.py:50
Function
test_empty_dir
(tmp_path_factory: pytest.TempPathFactory, generate: bool)
tests/test_copy.py:387
Function
test_empty_section
Empty sections are ignored.
tests/test_config.py:246
Function
test_empty_suffix
(tmp_path_factory: pytest.TempPathFactory)
tests/test_empty_suffix.py:8
Function
test_exclude_added_in_new_version
(tmp_path_factory: pytest.TempPathFactory)
tests/test_updatediff.py:2197
Function
test_exclude_extends
Exclude argument extends the original exclusions instead of replacing them.
tests/test_copy.py:285
Function
test_exclude_file
(tmp_path: Path)
tests/test_copy.py:275
Function
test_exclude_recursive
Copy is done properly when excluding recursively.
tests/test_exclude.py:14
Function
test_exclude_recursive_negate
Copy is done properly when copy_me.txt is the sole file copied.
tests/test_exclude.py:22
Function
test_exclude_replaces
Exclude in copier.yml replaces default values.
tests/test_copy.py:301
Function
test_exclude_symlink
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:342
Function
test_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
Function
test_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
Function
test_exclude_wildcard_negate_nested_file
Test wildcard exclude with negated nested file and symlink excludes.
tests/test_exclude.py:235
Function
test_external_data
(tmp_path_factory: pytest.TempPathFactory)
tests/test_answersfile.py:262
Function
test_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
Function
test_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
Function
test_external_data_with_umlaut
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_answersfile.py:354
Function
test_external_data_with_unicode_characters
( tmp_path_factory: pytest.TempPathFactory, monkeypatch: pytest.MonkeyPatch, encoding: str, )
tests/test_answersfile.py:386
Function
test_file_loop
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dynamic_file_structures.py:116
Function
test_file_removed
(tmp_path_factory: pytest.TempPathFactory)
tests/test_updatediff.py:897
Function
test_flags_bad_data
(data: AnyByStrDict)
tests/test_config.py:330
Function
test_flags_extra_fails
()
tests/test_config.py:335
Function
test_folder_loop
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dynamic_file_structures.py:11
Function
test_folder_loop_dict_items
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dynamic_file_structures.py:154
Function
test_folder_loop_reports_path_when_yielded_part_rendering_fails
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_dynamic_file_structures.py:46
Function
test_force_option
(tmp_path: Path)
tests/test_copy.py:370
Function
test_get_git_version
(git_version_output: str, expected_version: Version)
tests/test_vcs.py:400
Function
test_get_repo
()
tests/test_vcs.py:30
Function
test_get_repo_worktree
get_repo should recognise a git worktree as a valid local repo.
tests/test_vcs.py:378
Function
test_gitignore_file_unignored
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_updatediff.py:1892
Function
test_good_cli_run
(template_path: str, tmp_path: Path)
tests/test_cli.py:58
Function
test_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
Function
test_help
()
tests/test_cli.py:377
Function
test_import_macro
( tmp_path_factory: pytest.TempPathFactory, subdir: str, settings: AnyByStrDict )
tests/test_imports.py:95
Function
test_include
( tmp_path_factory: pytest.TempPathFactory, subdir: str, settings: AnyByStrDict )
tests/test_imports.py:27
← previous
next →
301–400 of 643, ranked by callers