Staging instance, all changes can be removed at any time

Skip to content

Add pytest fixture to allow mocking requests with data file

Roughly, the idea is that http queries are transformed into file queries within http context. If found, the data file is served or not (404). This translates into query response so that the code can actually complete as usual.

For sample use cases, see for examples:

Note: The fixture's name is not that good, if you have any better idea, now is the time ;)

Test Plan

tox


Migrated from D2082 (view on Phabricator)

Merge request reports

Loading