I'm using requests-mock to mock an external service with a dynamic response.
The service's URL is something like http://test/containers/test/1234, where 1234
is the object id I want to dynamically generate.
I've tried the regular expression matcher but I don't seem to be able to get the match object in the dynamic response callback.
Is there a way to "capture" that last bit of the URL?