diff --git a/pixi.lock b/pixi.lock index 1d12c10..b6c8f70 100644 --- a/pixi.lock +++ b/pixi.lock @@ -1452,7 +1452,7 @@ packages: name: template-rocker version: 0.0.7 path: . - sha256: 872962aa0afd299dbf28b0a72afeb7e7ca22b271dd90bb4eed06486f29f1f56b + sha256: 05a7c1fef84323a30f0a1e0303bf9a091d40e520785fd81e084976f735bfd6e4 requires_dist: - rocker>=0.2.17 - black>=23,<=24.8.0 ; extra == 'test' diff --git a/template_rocker/new_rocker_extension.py b/template_rocker/new_rocker_extension.py index 9e66626..7ea0607 100644 --- a/template_rocker/new_rocker_extension.py +++ b/template_rocker/new_rocker_extension.py @@ -5,7 +5,7 @@ class NewRockerExtension(RockerExtension): @staticmethod def get_name(): - return "pixi" + return "new_rocker_extension" def __init__(self): self.name = NewRockerExtension.get_name() diff --git a/template_rocker/templates/pixi_snippet.Dockerfile b/template_rocker/templates/new_rocker_extension_snippet.Dockerfile similarity index 100% rename from template_rocker/templates/pixi_snippet.Dockerfile rename to template_rocker/templates/new_rocker_extension_snippet.Dockerfile diff --git a/test/test_basic.py b/test/test_basic.py index 5ab023c..cadf4ab 100644 --- a/test/test_basic.py +++ b/test/test_basic.py @@ -16,7 +16,7 @@ def test_register_arguments(self): parser = argparse.ArgumentParser() NewRockerExtension.register_arguments(parser) args = parser.parse_args([]) - assert "pixi" in vars(args) + assert "new_rocker_extension" in vars(args) # Handling missing template files in get_snippet method def test_get_snippet_missing_template(self):