diff --git a/.gitignore b/.gitignore index e4cdf44f1..5ab1f2460 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ # Editors .vscode/ .idea/ -.venv_311 + # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] diff --git a/tests/api/test_authenticator.py b/tests/api/test_authenticator.py index f1553f066..8bfc533a4 100644 --- a/tests/api/test_authenticator.py +++ b/tests/api/test_authenticator.py @@ -1180,6 +1180,7 @@ def annotate_authentication_document(library, doc, url_for): reset_link, profile, loans, + selected_books, license, logo, privacy_policy, @@ -1200,6 +1201,10 @@ def annotate_authentication_document(library, doc, url_for): assert "http://opds-spec.org/shelf" == loans["rel"] assert OPDSFeed.ACQUISITION_FEED_TYPE == loans["type"] + assert "/selected_books" in selected_books["href"] + assert "http://opds-spec.org/shelf/selected_books" == selected_books["rel"] + assert OPDSFeed.ACQUISITION_FEED_TYPE == selected_books["type"] + assert "/patrons/me" in profile["href"] assert ProfileController.LINK_RELATION == profile["rel"] assert ProfileController.MEDIA_TYPE == profile["type"]