-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
It would be really good to allow passing a function for the response payload so that it can be dynamically created.
requests-mock supports this ( https://requests-mock.readthedocs.io/en/latest/response.html#dynamic-response )
An example of this is I need to stub a series of requests to a single endpoint (but with a different ID in the URL) and I need to stub the response values based on that ID
Metadata
Metadata
Assignees
Labels
No labels