def METHOD_NAME(self):
    req, __ = self._request_with_agent(USER_AGENT_STRINGS.IE_7)
    self.assertTrue(req.from_ie,
                    'Expected the middleware to set "from_ie" '
                    'to True for an IE connection string')