mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-11-27 09:31:13 +00:00
Download history refactor pt.2 (#703)
Two-phase download history: downloads are now recorded in the DB at queue time (not just at terminal time), eliminating the need to reconstruct metadata in the terminal hook and removing the `_is_graduated_request_download()` request-scan mess
This commit is contained in:
22 files changed
+776
-570
No files matched your search
@@ -307,7 +307,7 @@ def test_fulfil_request_requires_release_data_for_book_level(user_db):
|
||||
book_data=_book_data(),
|
||||
)
|
||||
|
||||
with pytest.raises(RequestServiceError, match="release_data is required to fulfil book-level requests"):
|
||||
with pytest.raises(RequestServiceError, match="release_data is required to fulfil requests"):
|
||||
fulfil_request(
|
||||
user_db,
|
||||
request_id=created["id"],
|
||||
|
||||
Reference in new issue
Block a user