IQ.Pilot Prebuilt Release @ ab07000

This commit is contained in:
IQ.Lvbs CI [bot]
2026-08-07 23:37:10 -05:00
commit 41f22cf35b
3729 changed files with 778697 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import json
import os
import requests
TEST_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)))
MANIFEST = os.path.join(TEST_DIR, "../agnos.json")
class TestAgnosUpdater:
def test_manifest(self):
with open(MANIFEST) as f:
m = json.load(f)
for img in m:
r = requests.head(img['url'], timeout=10)
r.raise_for_status()
assert r.headers['Content-Type'] == "application/x-xz"
if not img['sparse']:
assert img['hash'] == img['hash_raw']