          """
          request = factory.delete('/1')
          with self.assertNumQueries(2):
              response = self.view(request, pk=1).render()
          self.assertEqual(response.status_code, status.HTTP_204_NO_CONTENT)
          self.assertEqual(response.content, six.b(''))
          ids = [obj.id for obj in self.objects.all()]
          self.assertEqual(ids, [2, 3])
  
      def test_get_instance_view_incorrect_arg(self):
          """
 
</s> remove         self.assertEqual(ids, [2, 3])
 </s> add         assert ids == [2, 3] </s> remove         self.assertEqual(response.status_code, status.HTTP_200_OK)
        self.assertEqual(response.data, self.data[0])
 </s> add         assert response.status_code == status.HTTP_200_OK
        assert response.data == self.data[0] </s> remove         self.assertEqual(response.status_code, status.HTTP_201_CREATED)
 </s> add         assert response.status_code == status.HTTP_201_CREATED </s> remove         self.assertEqual(response.status_code, status.HTTP_404_NOT_FOUND)
        self.assertFalse(self.objects.filter(id=999).exists())
 </s> add         assert response.status_code == status.HTTP_404_NOT_FOUND
        assert not self.objects.filter(id=999).exists() </s> remove         self.assertEqual(response.status_code, status.HTTP_200_OK)
        self.assertEqual(response.data, self.data[0])
 </s> add         assert response.status_code == status.HTTP_200_OK
        assert response.data == self.data[0]
        assert response.status_code == status.HTTP_204_NO_CONTENT
        assert response.content == six.b('')
          """
          request = factory.delete('/1')
          with self.assertNumQueries(2):
              response = self.view(request, pk=1).render()
        assert response.status_code == status.HTTP_204_NO_CONTENT
        assert response.content == six.b('')
        assert response.status_code == status.HTTP_204_NO_CONTENT
        assert response.content == six.b('')
          ids = [obj.id for obj in self.objects.all()]
          self.assertEqual(ids, [2, 3])
  
      def test_get_instance_view_incorrect_arg(self):
          """
keep keep keep keep replace replace keep keep keep keep keep
 converted test asserts of generics-test to pytest 
tests/test_generics.py