def METHOD_NAME(self):
    response = self.client.get("/hsapi/resource/{pid}/file_list/".format(pid=self.pid),
                               format='json')
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    content = json.loads(response.content.decode())
    self.assertEqual(content['count'], 2)
    content_list = [os.path.basename(content['results'][0]['url']),
                    os.path.basename(content['results'][1]['url'])]
    self.assertIn(self.txt_file_name, content_list)
    self.assertIn(self.raster_file_name, content_list)