"""Separate game downloads stay bound to the checked collection's digests.""" from hashlib import sha256 import io import json from pathlib import Path import struct import sys import tarfile import tempfile import unittest sys.path.insert(0, str(Path(__file__).resolve().parents[1] / 'scripts')) from node_app_games import required_games, stage_games def fixture_bundle(assets, version=26): def text(value): data = value.encode() return struct.pack('