1. Mariano Mara
  2. webob-screwup-backup


Danny Navarro  committed 22a996c

rename copy to copy_body

  • Participants
  • Parent commits 0bd7d1a
  • Branches default

Comments (0)

Files changed (1)

File tests/test_request.py

View file
  • Ignore whitespace
             self.pos += size
             return t
-def test_copy():
+def test_copy_body():
     req = Request.blank('/', method='POST', body='some text', request_body_tempfile_limit=1)
     old_body_file = req.body_file
     assert req.body_file is old_body_file
 def test_broken_clen_header():
     # if the UA sends "content_length: ..' header (the name is wrong)
     # it should not break the req.headers.items()