diff --git a/core/entrypoint.py b/core/entrypoint.py index 6292d522b..75723eac7 100644 --- a/core/entrypoint.py +++ b/core/entrypoint.py @@ -108,7 +108,7 @@ class EverythingEntryPoint(EntryPoint): URI = "http://schema.org/CreativeWork" -EntryPoint.register(EverythingEntryPoint, "All") +EntryPoint.register(EverythingEntryPoint, "All", default_enabled=True) class MediumEntryPoint(EntryPoint): @@ -154,4 +154,4 @@ class AudiobooksEntryPoint(MediumEntryPoint): URI = "http://bib.schema.org/Audiobook" -EntryPoint.register(AudiobooksEntryPoint, "Audiobooks") +EntryPoint.register(AudiobooksEntryPoint, "Audiobooks", default_enabled=True) diff --git a/tests/core/models/test_library.py b/tests/core/models/test_library.py index 2a6519c76..e7307ff47 100644 --- a/tests/core/models/test_library.py +++ b/tests/core/models/test_library.py @@ -178,7 +178,7 @@ def test_explain(self, db: DatabaseTransactionFixture): ----------------------- website='http://library.com' allow_holds='True' -enabled_entry_points='['Book']' +enabled_entry_points='['All', 'Book', 'Audio']' featured_lane_size='15' minimum_featured_quality='0.65' facets_enabled_order='['author', 'title', 'added']'