diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-06-11 15:13:17 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-06-11 15:13:17 -0700 |
commit | 388eeaf4fa137522ec90c96e57581ced33205e57 (patch) | |
tree | ea6832c4fe8026373e9c3b712e1b68687d7e8eb6 /tests | |
parent | 3bae05c4a4cd7d6d9b892b952b7ca35454319479 (diff) | |
download | fatcat-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.py | 1 |
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: |