This commit is contained in:
Georges-Antoine Assi
2026-05-16 08:58:20 -04:00
parent 6f6d4c70ab
commit e92dbf060d

View File

@@ -405,8 +405,9 @@ async def test_export_platform_to_file_omits_tags_when_copy_fails(
game = fromstring((platform_dir / "gamelist.xml").read_text()).findall("game")[0]
assert game.find("manual") is None
assert game.find("video") is None
assert game.find("thumbnail").text == "./assets/covers/Super Mario World (USA).jpg"
assert (
game.find("screenshot").text
== "./assets/screenshots/Super Mario World (USA).jpg"
)
thumbnail = game.find("thumbnail")
assert thumbnail is not None
assert thumbnail.text == "./assets/covers/Super Mario World (USA).jpg"
screenshot = game.find("screenshot")
assert screenshot is not None
assert screenshot.text == "./assets/screenshots/Super Mario World (USA).jpg"