fixed # 修复工作流

This commit is contained in:
2026-10-23 19:19:01 +08:00
parent 685cff9293
commit dc17f7f65c
10 changed files with 135 additions and 2 deletions
+3 -1
View File
@@ -72,7 +72,9 @@ class ZhenxunPackageTests(unittest.TestCase):
self.assertIn("dirty", manifest["source"])
with ZipFile(self.bundle) as archive:
paths = archive.namelist()
self.assertTrue(any(p.endswith("assets.zip") for p in paths))
self.assertFalse(any(p.endswith("assets.zip") for p in paths))
self.assertTrue(any(p.endswith('asset-manifest.json')
for p in paths))
self.assertFalse(any("astrbot" in p or "legacy/" in p
for p in paths))
source = archive.read(next(