This commit is contained in:
1 parent
1b7830aa9b
commit
48e89f85e4
14 files changed
+118
-49
No files matched your search
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user