Pin the five approved jerboa replacements in the pack contract
This commit is contained in:
parent
15af35a374
commit
ab1b9f8915
1 changed files with 8 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff