"""Review media stays in editorial order, without an auto screenshots section.""" import sys import re import unittest from pathlib import Path ROOT = Path(__file__).resolve().parents[1] sys.path.insert(0, str(ROOT / "tools")) import build class ReviewMediaTests(unittest.TestCase): def test_p4g_images_and_gifs_inline(self): post = build.load_post("p4g") html = build.article(post, "pt") assets = ["modelo-personagens.gif", "combate.gif", "inaba.jpg", "teddie.gif"] inline_sources = re.findall(r'