

def test_get_access_token(self):
    rv = self.client.post(authorize_url, data={
        'confirm': 'yes',
    })
    rv = self.client.get(clean_url(rv.location))
    data = json.loads(u(rv.data))
    assert (rv['access_token'] == 'foobar')
    assert (data['refresh_token'] == 'abracadabra')

dataset/ETHPy150Open lepture/flask-oauthlib/tests/oauth2/test_oauth2.py TestRefreshTokenGenerator.test_get_access_token/VarMisuse@64/74 `data`->`rv`