Skip to content

Commit

Permalink
Fix opds2 with odl importer test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Oct 4, 2024
1 parent ae13691 commit 19fce73
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/manager/api/odl/test_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,9 @@ def test_import(
)

opds2_with_odl_importer_fixture.queue_response(moby_dick_license)

# config = opds2_with_odl_importer_fixture.collection.integration_configuration
opds2_with_odl_importer_fixture.importer.ignored_identifier_types = [
IdentifierConstants.URI
]
# DatabaseTransactionFixture.set_settings(
# config, skipped_license_formats=["text/html"]
# )

# Act
(
Expand All @@ -90,8 +85,6 @@ def test_import(

# Assert

assert failures == []

# 1. Make sure that there is a single edition only
assert isinstance(imported_editions, list)
assert 1 == len(imported_editions)
Expand Down Expand Up @@ -214,11 +207,6 @@ def test_import_audiobook_with_streaming(
"""Ensure that OPDSWithODLImporter correctly processes and imports a feed with an audiobook."""
opds2_with_odl_importer_fixture.queue_fixture_file("license-audiobook.json")

# db.set_settings(
# opds2_with_odl_importer_fixture.collection.integration_configuration,
# skipped_license_formats=["text/html"],
# )

(
imported_editions,
pools,
Expand Down

0 comments on commit 19fce73

Please sign in to comment.