Commits

Andriy Kornatskyy  committed 37f1b6c

Fixed tests due to eliminated skip_body attributed of HTTPResponse.

  • Participants
  • Parent commits 0320194

Comments (0)

Files changed (1)

File src/wheezy/web/handlers/tests/test_file.py

         self.mock_request.environ['HTTP_IF_NONE_MATCH'] = etag
         response = self.handler.get()
         assert 304 == response.status_code
-        assert response.skip_body
         assert not response.buffer
 
     def test_get_if_modified_since(self):
         self.mock_request.environ['HTTP_IF_MODIFIED_SINCE'] = last_modified
         response = self.handler.get()
         assert 304 == response.status_code
-        assert response.skip_body
         assert not response.buffer
 
     def test_get_age(self):
         self.route_args['path'] = 'tests/test_file.py'
         response = self.handler.head()
         assert 200 == response.status_code
-        assert response.skip_body
         assert not response.buffer