tests.test_awesome_template module

Tests for bundled awesome-template data and sync logic.

tests.test_awesome_template.test_bundled_files_exist()[source]

All expected awesome-template files are bundled in the package.

tests.test_awesome_template.test_copy_template_tree(tmp_path)[source]

_copy_template_tree copies all files and skips __init__.py.

tests.test_awesome_template.test_copy_template_tree_creates_directories(tmp_path)[source]

_copy_template_tree creates parent directories as needed.

tests.test_awesome_template.test_copied_files_contain_template_slug(tmp_path)[source]

Copied .github/ markdown files contain the template slug for rewriting.

tests.test_awesome_template.test_awesome_template_has_no_pyproject(tmp_path)[source]

awesome-template bundle does not contain pyproject.toml.

The lychee config is registered as a ToolConfigComponent with AWESOME_ONLY scope, so it goes through the standard merge path in _init_tool_configs instead of being blindly overwritten by _copy_template_tree.