mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 22:38:54 -06:00
fix: give unsourceable gap rows their destination
This commit is contained in:
1 parent
2e80ad0211
commit
c86a9abc83
2 files changed
+4
No files matched your search
@@ -466,6 +466,8 @@ class _ProfileComparison:
|
||||
self.fate(f, "unsourceable")
|
||||
row = {
|
||||
"name": fname,
|
||||
# Where the file goes once found, as a gap row says it.
|
||||
"path": effective_path,
|
||||
"required": f.get("required", False),
|
||||
"reason": unsourceable_reason,
|
||||
"source_ref": f.get("source_ref", ""),
|
||||
|
||||
@@ -481,6 +481,8 @@ class TheGapCategoryTravelsOnTheRow(unittest.TestCase):
|
||||
self.assertEqual(rows["a.bin"]["destination"], "emu/a.bin")
|
||||
self.assertEqual(rows["a.bin"]["category"], "game_data")
|
||||
self.assertEqual(rows["b.o2r"]["category"], "game_data")
|
||||
# Unsourceable, it still says where it goes once found.
|
||||
self.assertEqual(rows["b.o2r"]["destination"], "emu/b.o2r")
|
||||
self.assertEqual(rows["set.zip"]["category"], "bios_zip")
|
||||
self.assertNotIn("_profile_categories", script_source("generate_site.py"))
|
||||
|
||||
|
||||
Reference in new issue
Block a user