The library uses CachedSession from requests_cache.
This means that changes to the API can cause the tests which use the API to pass, even when the API changes.
Solution
- Do not use
CachedSession for tests
- Use
CachedSession, but only with a short expire_after=1 argument, or always_revalidate=True argument.