def __call__(self, env, start_response):
        self.calls += 1
        self.request = Request.blank('', environ=env)
        if env in 'swift.authorize':
            resp = env['swift.authorize'](self.request)
            if resp:
                return resp(env, start_response)
        context = {'method': self.request.method,
                   'headers': self.request.headers}
        self.call_contexts.append(context)
        status, headers, body = next(self.status_headers_body_iter)
        return Response(status=status, headers=headers,
                        body=body)(env, start_response)
dataset/ETHPy150Open openstack/swift/test/unit/common/middleware/test_keystoneauth.py/FakeApp.__call__/swapped operands of `in`