Commits

Danny Navarro  committed 22a996c

rename copy to copy_body

  • Participants
  • Parent commits 0bd7d1a

Comments (0)

Files changed (1)

File tests/test_request.py

             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
     req.copy_body()
     req.make_body_seekable()
     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()