

def test_invalid_auth_header(self):
    url = '/oauth/token?grant_type=client_credentials&scope=email+address'
    rv = rv.client.get(url, headers={
        'Authorization': 'Basic foobar',
    })
    assert (b'invalid_client' in rv.data)

dataset/ETHPy150Open lepture/flask-oauthlib/tests/oauth2/test_oauth2.py TestCredentialAuth.test_invalid_auth_header/VarMisuse@16/38 `self`->`rv`