fix: name the offline screen for what it does

install.py reads the file list before it checks a single file, so
without a connection nothing is checked: the screen says No connection
and offers to check again.
This commit is contained in:
Abdessamad Derraz committed 2026-10-22 03:59:56 +02:00
1 parent 7d87828b98
commit 8a7e5aa829
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -382,7 +382,7 @@ class TheScreens(unittest.TestCase):
shown = self.run_port("offline", ["quit"])
self.assertEqual(self.lists(shown), [("notice", ["info", "check", "quit"])])
notice = shown[[s[0] for s in shown].index("list")][2]
self.assertEqual(notice["info"][0], "No connection: checking only")
self.assertEqual(notice["info"][0], "No connection")
self.assertIn("Connect to Wi-Fi", notice["info"][1])
self.assertIn("/roms/bios", notice["info"][1])