requests-mock: how can I match POSTed payload in a mocked endpoint – Twitter API
What I've Done I've written an authentication class for obtaining an application's bearer token from Twitter using the application's API Key and its API key secret as demonstrated in the Twitter developer docs. I've mocked the appropriate endpoint using requests_mock…