Skip to content

Commit

Permalink
update tests to match new_rocker_extension
Browse files Browse the repository at this point in the history
  • Loading branch information
blooop committed Sep 18, 2024
1 parent 7f9974c commit 62b8d33
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pixi.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion template_rocker/new_rocker_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion test/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 62b8d33

Please sign in to comment.