from models.rom import Rom def test_rom(rom: Rom): assert rom.fs_path == "test_platform_slug/roms" assert rom.full_path == "test_platform_slug/roms/test_rom.zip" def test_rom_with_libretro_match_is_identified(rom: Rom): rom.libretro_id = "abc123" assert rom.is_unidentified is False assert rom.is_identified is True