def METHOD_NAME(self):
    """test list view"""
    # login testuser
    self.client.login(
        username='testuser_casepriority', password='tRiCVI2mf531CLw7r6jQ'
    )
    # create url
    destination = urllib.parse.quote('/casepriority/', safe='/')
    # get response
    response = self.client.get('/casepriority', follow=True)
    # compare
    self.assertRedirects(
        response, destination, status_code=301, target_status_code=200
    )