docs: name the SHARE drive folder for a card

This commit is contained in:
Abdessamad Derraz committed 2026-11-05 12:05:08 +01:00
1 parent 3f0dfbce31
commit f1ce63fe5c
2 files changed
+20 -2

No files matched your search

+16
View File
@@ -44,6 +44,22 @@ class GuidesPointAtTheReadPath(unittest.TestCase):
)
class ACardOpenedOnAComputerShowsItsShareDrive(unittest.TestCase):
"""The SD card steps said /userdata/bios/ and /recalbox/share/bios/,
paths of the running system. On a computer the SHARE drive opens at its
root, bios/ beside roms/ and system/, and no such folder exists."""
def test_the_card_steps_name_the_drive_folder(self):
for name in ("batocera", "recalbox"):
text = _build_readme(name, name, "", 1, 1)
card = text[text.index("Manual (SD card)"):]
card = card[:card.index("\n\n", card.index("1."))]
with self.subTest(platform=name):
self.assertIn("bios folder at the root of the SHARE drive", card)
self.assertNotIn("/userdata/bios/ on", card)
self.assertNotIn("Navigate to /recalbox", card)
class GuidesNameShippedInstallers(unittest.TestCase):
def test_every_installer_named_exists(self):
"""RetroBat's guide sent users to an install.bat no release carries."""