This PR adds some unit tests for Taskand Book models:
Task::Status returns either Running, Submitted, Paused, Succeeded, or Failed
internet_archive_urlreturns the correct url based on IA identifier(additional book fixture data was added)
hathi_trust_handle returns correct url based on whether book exists in hathitrust or not
-uiuc_catalog_url returns updated url with prefix and suffix as long as bibid is present
A few moreBook tests are laid out but skipped for now because of their complexity
This PR adds some unit tests for
Task
andBook
models:Task::Status
returns eitherRunning, Submitted, Paused, Succeeded, or Failed
internet_archive_url
returns the correct url based onIA identifier
(additional book fixture data was added)hathi_trust_handle
returns correct url based on whether book exists in hathitrust or not -uiuc_catalog_url
returns updated url with prefix and suffix as long asbibid
is presentBook
tests are laid out but skipped for now because of their complexity