MCPcopy Create free account

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

Functions643 in github.com/copier-org/copier

Functiontest_include_file
(tmp_path: Path)
tests/test_copy.py:260
Functiontest_include_path_must_be_relative
Include path must not be a relative path.
tests/test_config.py:272
Functiontest_include_pattern
(tmp_path: Path)
tests/test_copy.py:265
Functiontest_include_value_must_be_scalar_node
Include value must be a YAML scalar node.
tests/test_config.py:291
Functiontest_interactive_session_required_for_overwrite_prompt
Overwriting a file without `--overwrite` flag requires an interactive session.
tests/test_prompt.py:1184
Functiontest_interactive_session_required_for_question_prompt
Answering a question prompt requires an interactive session.
tests/test_prompt.py:1162
Functiontest_invalid_config_data
( capsys: pytest.CaptureFixture[str], conf_path: str, check_err: Callable[[str], bool] | None, )
tests/test_config.py:174
Functiontest_invalid_jinja_in_nested_rendered_path_reports_failing_path_part
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_copy.py:1352
Functiontest_invalid_jinja_in_rendered_path_reports_template_path
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_copy.py:1341
Functiontest_invalid_value
(tmp_path_factory: pytest.TempPathFactory)
tests/test_jinja2_undefined.py:24
Functiontest_invalid_version
(tmp_path: Path)
tests/test_vcs.py:315
Functiontest_invalid_yaml
(capsys: pytest.CaptureFixture[str])
tests/test_config.py:155
Functiontest_is_git_repo_root_worktree
is_git_repo_root should return True for git worktrees where .git is a file.
tests/test_vcs.py:359
Functiontest_is_remote
()
tests/test_vcs.py:118
Functiontest_is_trusted
(repository: str, trust: Sequence[str], expected: bool)
tests/test_settings.py:265
Functiontest_is_trusted
(repository: str, trust: set[str], is_trusted: bool)
tests/test_settings_deprecated.py:142
Functiontest_keyboard_interrupt
( tmp_path_factory: pytest.TempPathFactory, side_effect: KeyboardInterrupt )
tests/test_interrupts.py:21
Functiontest_load_settings_env_defined_but_missing
( settings_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_settings.py:83
Functiontest_load_settings_from_default_location
(settings_path: Path)
tests/test_settings.py:24
Functiontest_load_settings_from_default_location_dont_exist
()
tests/test_settings.py:44
Functiontest_load_settings_from_param
( settings_path: Path, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_settings.py:65
Functiontest_load_settings_from_utf_file
( settings_path: Path, monkeypatch: pytest.MonkeyPatch, encoding: str )
tests/test_settings.py:96
Functiontest_load_settings_with_invalid_data
( settings_path: Path, data: bytes, error: str )
tests/test_settings.py:138
Functiontest_local_clone
()
tests/test_vcs.py:90
Functiontest_local_dirty_clone
When core.fsmonitor is enabled, normal `git checkout` command won't works.
tests/test_vcs.py:208
Functiontest_messages_quiet
( tmp_path_factory: pytest.TempPathFactory, capsys: pytest.CaptureFixture[str], spawn: Spawn,
tests/test_output.py:354
Functiontest_messages_with_included_text
( tmp_path_factory: pytest.TempPathFactory, capsys: pytest.CaptureFixture[str], spawn: Spawn,
tests/test_output.py:214
Functiontest_messages_with_inline_text
( tmp_path_factory: pytest.TempPathFactory, capsys: pytest.CaptureFixture[str], spawn: Spawn,
tests/test_output.py:95
Functiontest_migration_condition
Test the `when` argument of migrations
tests/test_migrations.py:274
Functiontest_migration_env_variables
Test that environment variables are passed to the migration commands
tests/test_migrations.py:460
Functiontest_migration_jinja_variables
Test that environment variables are passed to the migration commands
tests/test_migrations.py:517
Functiontest_migration_run_after
Test running migrations in the before upgrade step Also checks that this is the default behaviour if no `when` is given.
tests/test_migrations.py:420
Functiontest_migration_run_before
Test running migrations in the before upgrade step
tests/test_migrations.py:370
Functiontest_migration_working_directory
Test the working directory attribute of migrations
tests/test_migrations.py:240
Functiontest_migrations_and_tasks
Check migrations and tasks are run properly.
tests/test_legacy_migration.py:29
Functiontest_minimum_version_update
( template_path: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_minimum_version.py:59
Functiontest_mirror_path_ignores_credentials
()
tests/test_vcs.py:128
Functiontest_missing_template
(tmp_path: Path)
tests/test_config.py:344
Functiontest_multi_template_answers
(tmp_path_factory: pytest.TempPathFactory)
tests/test_complex_questions.py:540
Functiontest_multiline
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, type_: str )
tests/test_prompt.py:571
Functiontest_multiline_defaults
Multiline questions with scalar defaults produce multiline defaults.
tests/test_prompt.py:700
Functiontest_multiple_config_file_error
()
tests/test_config.py:313
Functiontest_multiple_questions_interrupt
(tmp_path_factory: pytest.TempPathFactory)
tests/test_interrupts.py:42
Functiontest_multiselect_choices_preserve_order
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_copy.py:1075
Functiontest_multiselect_choices_question_multiple_answers
( question_tree: QuestionTreeFixture, copier: CopierFixture, type_name: QuestionType, choices:
tests/test_prompt.py:1028
Functiontest_multiselect_choices_question_single_answer
( question_tree: QuestionTreeFixture, copier: CopierFixture, type_name: QuestionType, choices:
tests/test_prompt.py:1010
Functiontest_multiselect_choices_question_with_default
( question_tree: QuestionTreeFixture, copier: CopierFixture, type_name: QuestionType, choices:
tests/test_prompt.py:1048
Functiontest_multiselect_choices_validator
Multiple choices are validated.
tests/test_prompt.py:1110
Functiontest_multiselect_choices_with_templated_default_value
( tmp_path_factory: pytest.TempPathFactory, spec: str, expected: Any )
tests/test_copy.py:1319
Functiontest_multiselect_choices_with_templated_default_value
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, )
tests/test_templated_prompt.py:499
Functiontest_nested_folder_loop
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dynamic_file_structures.py:75
Functiontest_new_version_changes_subdirectory
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_subdirectory.py:277
Functiontest_new_version_uses_subdirectory
( tmp_path_factory: pytest.TempPathFactory, conflict: Literal["rej", "inline"], readme: str, e
tests/test_subdirectory.py:204
Functiontest_no_cleanup_when_folder_existed
Copier will not delete a folder if it didn't create it.
tests/test_cleanup.py:34
Functiontest_no_cleanup_when_template_in_parent_folder
Copier will not delete a local template in a parent folder.
tests/test_cleanup.py:50
Functiontest_no_path_variables
Test that there are no context variables of type `pathlib.Path`.
tests/test_context.py:14
Functiontest_normal_jinja2
(tmp_path_factory: pytest.TempPathFactory)
tests/test_normal_jinja2.py:10
Functiontest_normalizing_git_paths
(path: str, normalized: str)
tests/test_tools.py:84
Functiontest_omit_answer_for_skipped_question
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_complex_questions.py:583
Functiontest_option_preserve_symlinks_default
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_symlinks.py:195
Functiontest_option_preserve_symlinks_false
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_symlinks.py:160
Functiontest_os_specific_tasks
( tmp_path_factory: pytest.TempPathFactory, monkeypatch: pytest.MonkeyPatch, os: Literal["linux",
tests/test_tasks.py:160
Functiontest_output
(capsys: pytest.CaptureFixture[str], tmp_path: Path)
tests/test_output.py:14
Functiontest_output_force
(capsys: pytest.CaptureFixture[str], tmp_path: Path)
tests/test_output.py:30
Functiontest_output_pretend
(capsys: pytest.CaptureFixture[str], tmp_path: Path)
tests/test_output.py:22
Functiontest_output_quiet
(capsys: pytest.CaptureFixture[str], tmp_path: Path)
tests/test_output.py:52
Functiontest_output_skip
(capsys: pytest.CaptureFixture[str], tmp_path: Path)
tests/test_output.py:41
Functiontest_overwrite_answers_file_always
( tmp_path_factory: pytest.TempPathFactory, answers_file: str | None )
tests/test_updatediff.py:863
Functiontest_parallel_projects_in_subdirs
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_dirty_local.py:256
Functiontest_partial_interrupt
( tmp_path_factory: pytest.TempPathFactory, spawn: Spawn, )
tests/test_prompt.py:764
Functiontest_path_completion
Test that file paths can handle tab completion.
tests/test_prompt.py:177
Functiontest_path_filter
(tmp_path_factory: pytest.TempPathFactory)
tests/test_exclude.py:62
Functiontest_placeholder
(tmp_path_factory: pytest.TempPathFactory, spawn: Spawn)
tests/test_prompt.py:448
Functiontest_post_checkout_hook_ignored
Ignore post-checkout hook when conflicts are encountered.
tests/test_updatediff.py:494
Functiontest_post_migration_by_default
Test a basic migration running on every version
tests/test_migrations.py:66
Functiontest_pre_migration_modifies_answers
Test support for answers modifications in pre-migrations.
tests/test_legacy_migration.py:95
Functiontest_prerelease_version_migration
Test if prerelease version migrations work
tests/test_migrations.py:176
Functiontest_prereleases
Test prereleases support for copying and updating.
tests/test_legacy_migration.py:173
Functiontest_preserved_permissions
( tmp_path_factory: pytest.TempPathFactory, permissions: int )
tests/test_copy.py:443
Functiontest_pretend_migration
Test that migrations aren't run in pretend mode
tests/test_migrations.py:308
Functiontest_pretend_mode
(tmp_path_factory: pytest.TempPathFactory)
tests/test_legacy_migration.py:263
Functiontest_pretend_mode
(tmp_path_factory: pytest.TempPathFactory)
tests/test_tasks.py:135
Functiontest_pretend_option
(tmp_path: Path)
tests/test_copy.py:379
Functiontest_pretend_symlink
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:374
Functiontest_project_not_found
(tmp_path: Path)
tests/test_copy.py:40
Functiontest_python_run
()
tests/test_cli.py:559
Functiontest_qmark
Test that custom qmark parameter is displayed for questions.
tests/test_prompt.py:485
Functiontest_qmark_default
Test that default qmark emojis are used when qmark is not specified.
tests/test_prompt.py:529
Functiontest_question_with_invalid_type
(tmp_path_factory: pytest.TempPathFactory)
tests/test_output.py:59
Functiontest_raise_multiple_yield_tags
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dynamic_file_structures.py:236
Functiontest_raise_yield_tag_in_file
(tmp_path_factory: pytest.TempPathFactory)
tests/test_dynamic_file_structures.py:214
Functiontest_read_data
( tmp_path_factory: pytest.TempPathFactory, config_suffix: str )
tests/test_config.py:57
Functiontest_read_utf_data_file
( tmp_path_factory: pytest.TempPathFactory, monkeypatch: pytest.MonkeyPatch, data_file_encoding: s
tests/test_cli.py:236
Functiontest_recopy_discards_evolution_api
(tpl: str, tmp_path: Path)
tests/test_recopy.py:31
Functiontest_recopy_discards_evolution_cli
(tpl: str, tmp_path: Path)
tests/test_recopy.py:45
Functiontest_recopy_dont_validate_computed_value
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_recopy.py:103
Functiontest_recopy_with_skip_answered_and_new_answer
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_recopy.py:79
Functiontest_recopy_works_without_replay
(tpl: str, tmp_path: Path)
tests/test_recopy.py:61
Functiontest_recursive_symlink
(tmp_path_factory: pytest.TempPathFactory)
tests/test_symlinks.py:440
Functiontest_relative_render_path_outside_destination_raises_error
( tmp_path_factory: pytest.TempPathFactory, )
tests/test_copy.py:1366
← previousnext →401–500 of 643, ranked by callers