Pin the five approved jerboa replacements in the pack contract
Some checks failed
Arrakis Jerboa Redesign Build / jerboa (push) Successful in 1m0s
DuneRealms Resourcepack CI / resourcepack (push) Failing after 9s
DuneRealms Plugin CI / plugins (push) Successful in 2m28s

This commit is contained in:
unimatrixgit 2026-11-30 20:58:35 +01:00
commit ab1b9f8915

View file

@ -93,6 +93,14 @@ class CompletePackTests(unittest.TestCase):
from plugin_dunechest_pack import ASSETS
self.assertEqual(set(files),set(baseline)|set(changes)|{'CREDITS-Excalibur.txt'}|native_items|ASSETS)
else:self.assertEqual(set(files),set(baseline))
# Only the approved redesigned jerboa models and texture replace the owner baseline.
changes.update({
'assets/dunerealms/models/entity/jerboa.json': '6785d870031b326814b79a1f75fa0e69c1e0f2ba2c14644d4f046032a2c81df6',
'assets/dunerealms/models/entity/jerboa_curled.json': 'dd089bd58ab333fe08910f1f826d904c170507e4e41930d94f6b09f216c264e9',
'assets/dunerealms/models/entity/jerboa_walk_left.json': '13c9797d60e56719125474138c5efdcf0667b94df0e70e6998f3956f618a7012',
'assets/dunerealms/models/entity/jerboa_walk_right.json': '52cb0005d6a90b5e3e8f73375c3795b00c7fe8d639794b84024343be010915ff',
'assets/dunerealms/textures/entity/jerboa.png': '7cb10841fd92827f536c8138fdbebde7b0871de143cf8d5b715e7dc0d474f967',
})
for key,expected in baseline.items():
if key!='pack.mcmeta':self.assertEqual(hashlib.sha256(files[key]).hexdigest(),changes.get(key,expected),key)