

def setUp(self):
    self.wsgid = Wsgid()
    self.socket = Mock()
    self.socket.send.return_value = None
    self.wsgid.send_sock = self.socket
    message = Message('1 2 / 22:{"VERSION":"HTTP/1.0"},0:,')
    self.start_response = StartResponse(message, self.wsgid)

dataset/ETHPy150Open daltonmatos/wsgid/tests/unit/startresponse_test.py StartResponseTest.setUp/original