summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-06-11 15:13:17 -0700
committerBryan Newbold <bnewbold@archive.org>2021-06-11 15:13:17 -0700
commit388eeaf4fa137522ec90c96e57581ced33205e57 (patch)
treeea6832c4fe8026373e9c3b712e1b68687d7e8eb6 /tests
parent3bae05c4a4cd7d6d9b892b952b7ca35454319479 (diff)
downloadfatcat-scholar-388eeaf4fa137522ec90c96e57581ced33205e57.tar.gz
fatcat-scholar-388eeaf4fa137522ec90c96e57581ced33205e57.zip
update citation_pdf_url HTML meta tag to new access URL style
Diffstat (limited to 'tests')
-rw-r--r--tests/test_web.py1
1 files changed, 1 insertions, 0 deletions
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: