def METHOD_NAME(self):
    """test list view"""
    # login testuser
    self.client.login(username='testuser_ip', password='pRs9Ap7oc9W0yjLfnP2Y')
    # get response
    response = self.client.get('/ip/')
    # compare
    self.assertEqual(str(response.context['user']), 'testuser_ip')