'Verify pages that require login load without internal error'

def test_protected_pages_render(self):

    self.assertTrue(self.client.login(username='admin', password='admin'))
    response = self.client.get('/groups/')
    self.assertEqual(200, response.status_code)
    response = self.client.get('/groups/group/bar/')
    self.assertEqual(200, response.status_code)
    response = self.client.get('/groups/group/bar/members/')
    self.assertEqual(200, response.status_code)
    response = self.client.get('/groups/create/')
    self.assertEqual(200, response.status_code)
    response = self.client.get('/groups/group/bar/update/')
    self.assertEqual(200, response.status_code)
    response = self.client.get('/groups/group/bar/invite/')
    self.assertEqual(405, response.status_code)
