internetarchive / iari

Import workflows for the Wikipedia Citations Database
GNU General Public License v3.0
11 stars 9 forks source link

as a consumer I want the check-url endpoint to have tests that cover the saving to cache so I can trust that it works as expected #885

Open dpriskorn opened 1 year ago

dpriskorn commented 1 year ago

right now we only have one test for the whole endpoint

dpriskorn commented 1 year ago

This could be done like this Setup the mock API Hit the article endpoint Check the files on disk

This doesn't work with ci, but should work locally