def test_amount_addition(self): l = LedgerTransaction() amount = 1000 l.add_amount(amount) self.assertEqual(amount, l.amount)