'verify the items in data_list exists in response and data_results matches results in response'

def _verify_response(self, response, expect_code, expect_result):

    self.assertEqual(response.status_code, expect_code)
    if (expect_code == 200):
        for item in ['results', 'count', 'num_pages']:
            self.assertIn(item, response.data)
        self.assertItemsEqual(response.data['results'], expect_result)
