def METHOD_NAME(self):
    """test list view"""
    # create url
    destination = '/login/?next=' + urllib.parse.quote(
        '/artifacts/artifactpriority/', safe=''
    )
    # get response
    response = self.client.get('/artifacts/artifactpriority/', follow=True)
    # compare
    self.assertRedirects(
        response, destination, status_code=302, target_status_code=200
    )