def test_wsgi_response_start_response(self):
    srv = self._make_srv()
    resp = srv.create_wsgi_response(self.message)
    resp.start_response('200 OK', [('CONTENT-TYPE', 'text/plain')])
    self.assertEqual(resp.status, '200 OK')
    self.assertIsInstance(resp.response, protocol.Response)
def test_wsgi_response_start_response(self):
    srv = self._make_srv()
    resp = srv.create_wsgi_response(self.message)
    resp.start_response('200 OK', [('CONTENT-TYPE', 'text/plain')])
    self.assertEqual(resp.status, '200 OK')
    self.assertIsInstance(resp.response, protocol.Response)