Skip to content

Commit

Permalink
Addresses PR feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein committed May 2, 2024
1 parent 53ff252 commit fe050e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/api/test_overdrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -2233,13 +2233,14 @@ def test_no_drm_fulfillment(self, overdrive_api_fixture: OverdriveAPIFixture):
assert fulfill.content_link_redirect is True
assert fulfill.content_link == "https://example.org/epub-redirect"

def test_bug_fix_pp_1219(self, overdrive_api_fixture: OverdriveAPIFixture):
def test_no_recently_changed_books(
self, overdrive_api_fixture: OverdriveAPIFixture
):
with patch.object(
overdrive_api_fixture.api, "_get_book_list_page"
) as get_book_list:
get_book_list.return_value = ([], None)
result = overdrive_api_fixture.api.recently_changed_ids(utc_now(), None)
# this should no longer fail.
assert [i for i in result] == []


Expand Down

0 comments on commit fe050e6

Please sign in to comment.