def setup(self):
     self.serializer = Serializer()
     self.response_data = {
         u"response": {
             # Encode the body as bytes b/c it will eventually be
             # converted back into a BytesIO object.
             u"body": "Hello World".encode("utf-8"),
             u"headers": {
                 u"Content-Type": u"text/plain",
                 u"Expires": u"87654",
                 u"Cache-Control": u"public",
             },
             u"status": 200,
             u"version": 11,
             u"reason": u"",
             u"strict": True,
             u"decode_content": True,
         }
     }
 def setup(self):
     self.serializer = Serializer()
     self.response_data = {
         u'response': {
             # Encode the body as bytes b/c it will eventually be
             # converted back into a BytesIO object.
             u'body': 'Hello World'.encode('utf-8'),
             u'headers': {
                 u'Content-Type': u'text/plain',
                 u'Expires': u'87654',
                 u'Cache-Control': u'public',
             },
             u'status': 200,
             u'version': 11,
             u'reason': u'',
             u'strict': True,
             u'decode_content': True,
         },
     }