mirror of
https://github.com/Virtual-World-RE/NeoGF.git
synced 2024-11-15 05:35:34 +01:00
Update afstest.py
This commit is contained in:
parent
76f7486172
commit
ae648a2d1d
|
@ -242,7 +242,6 @@ def test_rebuild_repack(afs_rebuild_conf:dict, files:list, raw_data:bytes, rebui
|
|||
mtime.hour.to_bytes(2,"little")+mtime.minute.to_bytes(2,"little")+mtime.second.to_bytes(2,"little")
|
||||
raw_data += raw_fd_data.ljust(0x800, b"\x00")
|
||||
a.pack(rebuild_path, rebuilded_repack_path)
|
||||
Path("tmp.afs").write_bytes(raw_data)
|
||||
if rebuilded_repack_path.read_bytes() != raw_data:
|
||||
raise Exception(f"Error - Not the expected repack {rebuilded_repack_path}.")
|
||||
print(f"Success - {rebuild_path}.")
|
||||
|
|
Loading…
Reference in New Issue
Block a user