  
          response = self.client.delete('/redirect-view/')
          self.assertEqual(response.status_code, 302)
          response = self.client.delete('/redirect-view/', follow=True)
          self.assertIsNotNone(response.redirect_chain)
          self.assertEqual(response.status_code, 200)
  
          response = self.client.options('/redirect-view/')
          self.assertEqual(response.status_code, 302)
          response = self.client.options('/redirect-view/', follow=True)
          self.assertIsNotNone(response.redirect_chain)
 
</s> remove         self.assertEqual(response.status_code, 302)
 </s> add         assert response.status_code == 302 </s> remove         self.assertIsNotNone(response.redirect_chain)
        self.assertEqual(response.status_code, 200)
 </s> add         assert response.redirect_chain is not None
        assert response.status_code == 200 </s> remove         self.assertEqual(response.status_code, 302)
 </s> add         assert response.status_code == 302 </s> remove         self.assertEqual(response.status_code, 302)
 </s> add         assert response.status_code == 302 </s> remove         self.assertIsNotNone(response.redirect_chain)
        self.assertEqual(response.status_code, 200)
 </s> add         assert response.redirect_chain is not None
        assert response.status_code == 200
        assert response.redirect_chain is not None
        assert response.status_code == 200
  
          response = self.client.delete('/redirect-view/')
          self.assertEqual(response.status_code, 302)
          response = self.client.delete('/redirect-view/', follow=True)
        assert response.redirect_chain is not None
        assert response.status_code == 200
        assert response.redirect_chain is not None
        assert response.status_code == 200
  
          response = self.client.options('/redirect-view/')
          self.assertEqual(response.status_code, 302)
          response = self.client.options('/redirect-view/', follow=True)
          self.assertIsNotNone(response.redirect_chain)
keep keep keep keep replace replace keep keep keep keep keep
 converted testing test asserts to pytest (#4949)

* converted testing test asserts to pytest

* moved 3rd arg from test_empty_post_uses_default_boolean_value test assert 
tests/test_testing.py