Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Nov 13, 2024
1 parent d1e41c4 commit 4a9279d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/palace/manager/core/metadata_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def __init__(
self.terms_concurrency = terms_concurrency
self.content_types = content_types

def add_to_pool(self, db: Session, pool: LicensePool):
def add_to_pool(self, db: Session, pool: LicensePool) -> License:
license_obj, _ = get_one_or_create(
db,
License,
Expand Down
2 changes: 1 addition & 1 deletion src/palace/manager/core/opds_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def validate_schema(
try:
feed_cls.model_validate_json(feed)
except ValidationError as e:
cls.logger().exception("Validation failed for feed")
print(str(e))
raise


class OPDS2SchemaValidation(OPDS2ImportMonitor, OPDS2SchemaValidationMixin):
Expand Down

0 comments on commit 4a9279d

Please sign in to comment.