mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-03 08:33:46 -06:00
fix: name cards by files no menu rewrites
A KNULLI card renamed in its menu was read as a Batocera SHARE drive. KNULLI is now named by about.info first, Batocera by its own hostname, and a drive two systems fit is said instead of guessed. Runs without questions see mounted cards as the screen does and stop on two setups. The card marker table of the wiki is generated.
This commit is contained in:
1 parent
9c8dbcd99a
commit
a334ace439
8 files changed
+537
-66
No files matched your search
@@ -1174,11 +1174,17 @@ class ADetectedClosedFolderSaysWhereItCameFrom(unittest.TestCase):
|
||||
said = " ".join(proc.stderr.split())
|
||||
self.assertIn(f"than the one {self.cfg} names (name another with --dest)", said)
|
||||
|
||||
def test_nothing_installed_comes_after_the_error(self):
|
||||
def test_two_setups_stop_before_either_folder_is_read(self):
|
||||
"""code_audit_18 P2-3: a run without questions installs for one
|
||||
setup, so two found stop on what to name before either folder is
|
||||
read, the closed one included."""
|
||||
proc = self.run_detected(True)
|
||||
self.assertEqual(proc.returncode, 1, proc.stdout + proc.stderr)
|
||||
error = proc.stderr.index("Error: ")
|
||||
self.assertGreater(proc.stderr.index("Nothing was installed."), error, proc.stderr)
|
||||
said = " ".join(proc.stderr.split())
|
||||
self.assertIn("2 setups were found here, and a run without questions installs for "
|
||||
"one", said)
|
||||
self.assertIn("--platform emudeck --dest", said)
|
||||
self.assertNotIn("Downloading", proc.stdout)
|
||||
|
||||
def test_an_assumed_default_reads_plainly(self):
|
||||
self.assertIn("used by default, since {display_name(name)} was not found",
|
||||
|
||||
Reference in new issue
Block a user