

def test_filter_works(self):
    resp = self.client.get('/comments/?id=1')
    expected = [{
        'id': 1,
        'email': 'example@ya.ru',
    }]
    self.assertEqual(self.data, expected)

dataset/ETHPy150Open chibisov/drf-extensions/tests_app/tests/functional/mixins/list_destroy_model_mixin/tests.py ListDestroyModelMixinTest.test_filter_works/VarMisuse@43/63 `resp`->`self`