fix: an untagged bios serves every region

This commit is contained in:
Abdessamad Derraz committed 2026-10-06 12:43:09 +02:00
1 parent 9304931845
commit 908d75a86c
2 files changed
+20 -5

No files matched your search

+6
View File
@@ -355,6 +355,12 @@ class TestFallbackGroups(unittest.TestCase):
region.fallback_groups(groups, self.index, ["north-america"]), ["fds"]
)
def test_an_untagged_bios_answers_every_region(self):
"""VICE's generic kernal is untagged beside its Japanese one: the C64
was reported as having no BIOS for North America."""
groups = {"fds": [("disksys.rom", "disksys.rom"), ("generic.rom", "generic.rom")]}
self.assertEqual(region.fallback_groups(groups, self.index, ["north-america"]), [])
def test_no_requested_regions_reports_nothing(self):
groups = {"fds": [("disksys.rom", "disksys.rom")]}
self.assertEqual(region.fallback_groups(groups, self.index, []), [])