def test_no_pay_taxes(self): self.age = 23 self.salary = 31999 imp2 = Employee.pay_tax(self) self.assertEqual(imp2, "No paga impuestos")
def test_pay_taxes(self): self.age = 48 self.salary = 50000 imp1 = Employee.pay_tax(self) self.assertEqual(imp1, "Paga impuestos")