Closed rhyspowell closed 2 years ago
@rhyspowell other 2 tests are still failing as well. The payload also changed (origin
keyword, see #28).
I think you want to do some mocking instead, pytest-vcr is quite nice.
Will take a look again, it passed on mine and the logs are missing from the tests when I look on the app
Also, as this doesn't have any real business logic, dropping down to a unit test level and using mocks is the wrong thing to do. If we did that we would think the module is fine but we need to be at the integration test level as we are dependant upon a 3rd party.
Yeah good point and distinction. If only mocking we're not testing it end-to-end. Let's just leave it as "real deal" then and fix them. The good thing is that the tests notified us of their API change. Thanks.
Api appears to have removed all but EN as a language choice