def METHOD_NAME(self):
    """test list view"""
    # login testuser
    self.client.login(
        username='testuser_taskpriority', password='VxuP85UUDkfXwRuwRFqA'
    )
    # get response
    response = self.client.get('/taskpriority/')
    # compare
    self.assertEqual(response.status_code, 200)