

def test_invalid_client(self):
    url = '/oauth/token?grant_type=authorization_code&code=12345&scope=email'
    rv = self.client.get(rv, headers={
        'Authorization': ('Basic %s' % 'foo'),
    })
    assert (b'invalid_client' in rv.data)

dataset/ETHPy150Open lepture/flask-oauthlib/tests/oauth2/test_oauth2.py TestConfidentialClient.test_invalid_client/VarMisuse@22/45 `url`->`rv`