def test_list(self, **kwargs):

        response = self.get_list_response(**kwargs)

        self.assertEqual(response.status_code, status.HTTP_200_OK, response.data)

        results = response.data

        if self.pagination_results_field:
            self.assertIn(self.pagination_results_field, response.data)
            results = results[self.pagination_results_field]

        self.assertTrue(len(results) >= 1)

        return response
Send request to the list view endpoint, verify and return the response.
dataset/ETHPy150Open ydaniv/django-rest-assured/rest_assured/testcases.py/ListAPITestCaseMixin.test_list