          """
          user = User.objects.create_user('example', 'example@example.com', 'password')
          self.client.force_authenticate(user)
          response = self.client.get('/view/')
          self.assertEqual(response.data['user'], 'example')
          self.client.logout()
          response = self.client.get('/view/')
          self.assertEqual(response.data['user'], '')
  
      def test_follow_redirect(self):
 
</s> remove         self.assertEqual(response.data['user'], '')
 </s> add         assert response.data['user'] == '' </s> remove         self.assertEqual(response.data['user'], 'example')
 </s> add         assert response.data['user'] == 'example' </s> remove         self.assertEqual(response.data['auth'], b'')
 </s> add         assert response.data['auth'] == b'' </s> remove         self.assertEqual(response.data['auth'], 'example')
 </s> add         assert response.data['auth'] == 'example' </s> remove         self.assertEqual(response.status_code, 200)
 </s> add         assert response.status_code == 200
        assert response.data['user'] == 'example'
          """
          user = User.objects.create_user('example', 'example@example.com', 'password')
          self.client.force_authenticate(user)
          response = self.client.get('/view/')
        assert response.data['user'] == 'example'
          self.client.logout()
          response = self.client.get('/view/')
          self.assertEqual(response.data['user'], '')
  
      def test_follow_redirect(self):
keep keep keep keep 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