This commit is contained in:
@@ -154,6 +154,8 @@ def check_render() -> None:
|
||||
raise AssertionError(f"brak adresu nagłówka {expected_url!r}")
|
||||
if tex.count(r"\qrcode[level=L,height=22mm]") < 2:
|
||||
raise AssertionError("TeX nie zawiera obu kodów QR nagłówka")
|
||||
if tex.count(r"}{\qrcode[level=L,height=22mm]") < 2:
|
||||
raise AssertionError("oba kody QR PDF muszą być aktywnymi hiperłączami")
|
||||
for marker in ("resource-qr-repository", "resource-qr-page"):
|
||||
if marker not in html:
|
||||
raise AssertionError(f"HTML nie zawiera komórki {marker!r}")
|
||||
|
||||
Reference in New Issue
Block a user