feat: make update.bat description loading interactive
CI / test (push) Successful in 27s

This commit is contained in:
strsv committed 2026-11-09 09:05:15 +03:00
1 parent 1b7830aa9b
commit 48e89f85e4
14 files changed
+118 -49

No files matched your search

+5
View File
@@ -43,6 +43,11 @@ class BuildPortableTests(unittest.TestCase):
start_bat = handle.read()
self.assertIn("python.exe", start_bat)
self.assertIn("restart_server.py", start_bat)
with open(os.path.join(out_dir, "update.bat"), encoding="utf-8") as handle:
update_bat = handle.read()
self.assertIn("Load Steam Store descriptions?", update_bat)
self.assertIn("How many descriptions to load?", update_bat)
self.assertIn("fetch_details.py", update_bat)
self.assertTrue(os.path.isfile(archive))
with zipfile.ZipFile(archive) as archive_zip:
self.assertIn("app/web/server.py", archive_zip.namelist())