Skip to content

Use CachedSession (and no expiry) means that changes to the API are not picked up #40

@willu47

Description

@willu47

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions