Templates/list: display templates via exposed nix value
This commit is contained in:
@@ -17,7 +17,6 @@ from clan_lib.templates import (
|
||||
TemplateName,
|
||||
get_clan_nix_attrset,
|
||||
get_template,
|
||||
list_templates,
|
||||
)
|
||||
from clan_lib.templates.filesystem import copy_from_nixstore
|
||||
|
||||
@@ -96,10 +95,6 @@ def test_clan_core_templates(
|
||||
expected_templates = ["default", "flake-parts", "minimal", "minimal-flake-parts"]
|
||||
assert clan_core_template_keys == expected_templates
|
||||
|
||||
vlist_temps = list_templates("clan", clan_dir)
|
||||
list_template_keys = list(vlist_temps.inputs[InputName("clan-core")].keys())
|
||||
assert list_template_keys == expected_templates
|
||||
|
||||
default_template = get_template(
|
||||
TemplateName("default"),
|
||||
"clan",
|
||||
|
||||
Reference in New Issue
Block a user