Commits

Michael Merickel  committed 4184d93 Merge

merged tip

  • Participants
  • Parent commits f74d8a8, ffec82e

Comments (0)

Files changed (1)

File tests/test_request.py

         # so insert that.
         _test_req_copy = _test_req.replace('Content-Type',
                             'Content-Length: 337\r\nContent-Type')
+        import pdb; pdb.set_trace()
         self.assertEqual(str(req), _test_req_copy)
 
         req2 = BaseRequest.from_string(_test_req2)
         self.assertEqual(res.status, '200 OK')
         from webob.headers import ResponseHeaders
         self.assertTrue(isinstance(res.headers, ResponseHeaders))
-        self.assertEqual(res.headers.items(), [('Content-type', 'text/plain')])
+        self.assertEqual(list(res.headers.items()), [('Content-type', 'text/plain')])
         self.assertEqual(res.body, b'Hi!')
 
     def equal_req(self, req):