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