In one of my unit tests I use VCR.py to save a cassette of the request and response to an API call that requests an access token.
The saved response contains something like:
response:
body:
string: '{"access_token":"AQ1231KOsdasdOEWE..."}'
I'd like to replace the actual access token from the saved cassette, as it's sensitive info, and also automated checks raise errors for having tokens like that in the source code.
How can I do that with VCR.py?