          response = self.client.get('/view/')
          self.assertEqual(response.data['auth'], 'example')
          self.client.logout()
          response = self.client.get('/view/')
          self.assertEqual(response.data['auth'], b'')
  
      def test_logout_resets_force_authenticate(self):
          """
          `logout()` resets any `force_authenticate`
          """
 
</s> remove         self.assertEqual(response.data['auth'], 'example')
 </s> add         assert response.data['auth'] == 'example' </s> remove             self.assertEqual(response.data['auth'], 'example')
 </s> add             assert response.data['auth'] == 'example' </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['user'], 'example')
 </s> add         assert response.data['user'] == 'example'
        assert response.data['auth'] == b''
          response = self.client.get('/view/')
          self.assertEqual(response.data['auth'], 'example')
          self.client.logout()
          response = self.client.get('/view/')
        assert response.data['auth'] == b''
  
      def test_logout_resets_force_authenticate(self):
          """
          `logout()` resets any `force_authenticate`
          """
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