From e92dbf060d1a384beaec4a76eb2cb7fe74f2ff5b Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Sat, 16 May 2026 08:58:20 -0400 Subject: [PATCH] run fmt --- backend/tests/utils/test_gamelist_exporter.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/backend/tests/utils/test_gamelist_exporter.py b/backend/tests/utils/test_gamelist_exporter.py index e04575872..7bbbc9169 100644 --- a/backend/tests/utils/test_gamelist_exporter.py +++ b/backend/tests/utils/test_gamelist_exporter.py @@ -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"