lukasschwab / arxiv.py

Python wrapper for the arXiv API
MIT License
1.07k stars 120 forks source link

Mock `requests.Session.get` in `TestClient` #150

Closed lukasschwab closed 11 months ago

lukasschwab commented 11 months ago

Description

In the future we should store some and mock some arXiv API responses. At the very least, this offers some backup for when the API is down; of course, it introduces the risk of divergence from the live API.

Breaking changes

List any changes that break the API usage supported on master.

None: only changes tests.

Relevant issues

List GitHub issues relevant to this change.

Checklist