          self.data = [
              {'id': obj.id, 'text': obj.text}
              for obj in self.objects.all()
          ]
  
      def test_get_root_view(self):
          """
          GET requests to RootAPIView should return list of objects.
 
</s> remove         view = RootView.as_view()
 </s> add  </s> remove         response = view(request).render()
 </s> add         response = self.view(request).render() </s> remove         view = InstanceView.as_view()
 </s> add  </s> remove         response = view(request, pk=1).render()
 </s> add         response = self.view(request, pk=1).render()
        self.view = RootView.as_view()
          self.data = [
              {'id': obj.id, 'text': obj.text}
              for obj in self.objects.all()
          ]
        self.view = RootView.as_view()
  
      def test_get_root_view(self):
          """
          GET requests to RootAPIView should return list of objects.
keep keep keep add keep keep keep keep
 Add more tests for generic views 
rest_framework/tests/generics.py