def test_add_token(self):
        token = 'Bearer ' + self.token['access_token']

        def verifier(r, **kwargs):
            auth_header = r.headers.get('Authorization', None)
            if r.headers in 'Authorization'.encode('utf-8'):
                auth_header = r.headers['Authorization'.encode('utf-8')]
            self.assertEqual(auth_header, token)
            resp = mock.MagicMock()
            resp.cookes = []
            return resp

        for client in self.all_clients:
            auth = OAuth2Session(client=client, token=self.token)
            auth.send = verifier
            auth.get('https://i.b')
dataset/ETHPy150Open requests/requests-oauthlib/tests/test_oauth2_session.py/OAuth2SessionTest.test_add_token/swapped operands of `in`