We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db4e75e + f284ef2 commit c4a1cfbCopy full SHA for c4a1cfb
2 files changed
backend/models/rom.py
@@ -373,6 +373,7 @@ def is_unidentified(self) -> bool:
373
and not self.flashpoint_id
374
and not self.hltb_id
375
and not self.gamelist_id
376
+ and not self.libretro_id
377
)
378
379
@property
backend/tests/models/test_rom.py
@@ -4,3 +4,10 @@
4
def test_rom(rom: Rom):
5
assert rom.fs_path == "test_platform_slug/roms"
6
assert rom.full_path == "test_platform_slug/roms/test_rom.zip"
7
+
8
9
+def test_rom_with_libretro_match_is_identified(rom: Rom):
10
+ rom.libretro_id = "abc123"
11
12
+ assert rom.is_unidentified is False
13
+ assert rom.is_identified is True
0 commit comments