  
          cf. [#1810](https://github.com/tomchristie/django-rest-framework/pull/1810)
          """
          response = self.csrf_client.get('/auth/login/')
          self.assertContains(
              response, '<label for="id_username">Username:</label>'
          )
  
      def test_post_form_session_auth_failing_csrf(self):
          """
          Ensure POSTing form over session authentication without CSRF token fails.
          """
 
</s> remove         self.assertEqual(response.status_code, status.HTTP_403_FORBIDDEN)
 </s> add         assert response.status_code == status.HTTP_403_FORBIDDEN </s> remove         self.assertEqual(response.status_code, status.HTTP_200_OK)
 </s> add         assert response.status_code == status.HTTP_200_OK </s> remove         self.assertEqual(response.status_code, status.HTTP_200_OK)
 </s> add         assert response.status_code == status.HTTP_200_OK </s> remove         self.assertEqual(response.status_code, status.HTTP_403_FORBIDDEN)
 </s> add         assert response.status_code == status.HTTP_403_FORBIDDEN </s> remove         self.assertEqual(response.status_code, status.HTTP_401_UNAUTHORIZED)
 </s> add         assert response.status_code == status.HTTP_401_UNAUTHORIZED
        assert '<label for="id_username">Username:</label>' in response
  
          cf. [#1810](https://github.com/tomchristie/django-rest-framework/pull/1810)
          """
          response = self.csrf_client.get('/auth/login/')
        assert '<label for="id_username">Username:</label>' in response
        assert '<label for="id_username">Username:</label>' in response
        assert '<label for="id_username">Username:</label>' in response
  
      def test_post_form_session_auth_failing_csrf(self):
          """
          Ensure POSTing form over session authentication without CSRF token fails.
          """
keep keep keep keep replace replace replace keep keep keep keep keep
 converted authentication_test asserts to pytest 
tests/test_authentication.py