fix: read keyed source and version in profile_sync

This commit is contained in:
Abdessamad Derraz committed 2026-11-09 07:34:26 +01:00
1 parent c7571a8028
commit d9b788787c
2 files changed
+28 -5

No files matched your search

+11
View File
@@ -1254,6 +1254,17 @@ class TestSelectRepo(unittest.TestCase):
def test_none_when_no_supported_host(self):
self.assertIsNone(select_repo({"source": "https://www.6809.org.uk/"}))
def test_source_keyed_by_mode_without_upstream(self):
repo = select_repo(
{
"source": {
"standalone": "https://github.com/UZDoom/UZDoom",
"libretro": "https://github.com/libretro/uzdoom",
},
}
)
self.assertEqual(repo.name, "UZDoom")
class TestBuildReport(unittest.TestCase):
def setUp(self):