@fudge.patch('requests.post')
def test_refresh_token_flow(fake):
    with positive_refresh_token_response(fake):
        client = soundcloud.Client(client_id='foo', client_secret='bar',
                                   refresh_token='refresh-token')
        eq_('access-2345', client.token.access_token)
Providing a refresh token should generate a new access token.
dataset/ETHPy150Open soundcloud/soundcloud-python/soundcloud/tests/test_oauth.py/test_refresh_token_flow