mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-28 05:22:47 +00:00
fix: manifest dest paths relative to bios dir
This commit is contained in:
parent
8777706a01
commit
080cc8f19d
11 changed files with 7220 additions and 4255 deletions
|
|
@ -2520,7 +2520,11 @@ class TestE2E(unittest.TestCase):
|
|||
"test_existence", self.platforms_dir, self.db, self.bios_dir,
|
||||
registry_path, emulators_dir=self.emulators_dir,
|
||||
)
|
||||
manifest_dests = {f["dest"] for f in manifest["files"]}
|
||||
base = manifest.get("base_destination", "")
|
||||
manifest_dests = set()
|
||||
for f in manifest["files"]:
|
||||
d = f"{base}/{f['dest']}" if base else f["dest"]
|
||||
manifest_dests.add(d)
|
||||
|
||||
self.assertEqual(manifest_dests, zip_names)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue