mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-14 14:03:47 -06:00
fix: read keyed source and version in profile_sync
This commit is contained in:
1 parent
c7571a8028
commit
d9b788787c
2 files changed
+28
-5
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user