From 388eeaf4fa137522ec90c96e57581ced33205e57 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 11 Jun 2021 15:13:17 -0700 Subject: update citation_pdf_url HTML meta tag to new access URL style --- tests/test_web.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/test_web.py b/tests/test_web.py index 7da5880..7f1f72a 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -122,6 +122,7 @@ def test_basic_work_landing_page(client: Any, mocker: Any) -> None: rv = client.get("/zh/work/2x5qvct2dnhrbctqa2q2uyut6a") assert rv.status_code == 200 + assert b"citation_pdf_url" in rv.content def test_basic_access_redirect(client: Any, mocker: Any) -> None: -- cgit v1.2.3