'Test index page with login at /finance/liability/view/<liability_id>'

def test_finance_liability_view(self):

    response = self.client.post('/accounts/login', {'username': self.username, 'password': self.password})
    self.assertRedirects(response, '/')
    response = self.client.get(reverse('finance_liability_view', args=[self.liability.id]))
    self.assertEquals(response.status_code, 200)
