old_contents: from django.test import TestCase
  from django.core.urlresolvers import reverse
  from rest_framework import status
  
  from measure_mate.tests.factories import AssessmentFactory, TagFactory
  
  
  class AssessmentListViewTestCases(TestCase):
      def test_assessment_list_view(self):
  
          assessment = AssessmentFactory(tags=[TagFactory()])
          response = self.client.get(reverse('assessment-list'))
  
          self.assertTemplateUsed(response, 'assessment_list.html')
          self.assertEqual(response.status_code, status.HTTP_200_OK)
  
new_contents: from django.test import TestCase
  from django.core.urlresolvers import reverse
  from rest_framework import status
  
  from measure_mate.tests.factories import AssessmentFactory, TagFactory
  
  
  class AssessmentListViewTestCases(TestCase):
      def test_assessment_list_view(self):
  
          assessment = AssessmentFactory(tags=[TagFactory()])
          response = self.client.get(reverse('assessment-list'))
  
          self.assertEqual(response.status_code, status.HTTP_200_OK)
          self.assertTemplateUsed(response, 'assessment_list.html')
  
subject: Reorder test