

def test_bulk_destroy__should_destroy_filtered_queryset(self):
    resp = self.client.delete('/comments/?id=1', **self.protection_headers)
    resp.assertEqual(resp.status_code, 204)
    self.assertEqual(Comment.objects.count(), 1)
    self.assertEqual(Comment.objects.all()[0], self.comments[1])

dataset/ETHPy150Open chibisov/drf-extensions/tests_app/tests/functional/mixins/list_destroy_model_mixin/tests.py ListDestroyModelMixinTest.test_bulk_destroy__should_destroy_filtered_queryset/VarMisuse@26/42 `self`->`resp`