'Test page with login at /services/agent'

def test_agent_index(self):

    response = self.client.post('/accounts/login', {'username': self.username, 'password': self.password})
    self.assertRedirects(response, '/')
    response = self.client.get(reverse('services_agent_index'))
    self.assertEquals(response.status_code, 200)
