def test_total(self): i = TaskLine(cost=1.25, quantity=1.25, tva=1960) self.assertEqual(i.total_ht(), 1.5625) self.assertEqual(i.total(), 1.86875)