def test_pin_cambiado(self): billetera1 = BilleteraElectronica() billetera1.id = 1 billetera1.PIN = 1234 billetera1.cambiar_pin(1234, 2222, 2222) self.assertEqual(billetera1.PIN,2222)
def test_pin_cambiado(self): billetera1 = BilleteraElectronica() billetera1.id = 1 billetera1.PIN = 1234 billetera1.cambiar_pin(1234, 2222, 2222) self.assertEqual(billetera1.PIN, 2222)
def test_pin_nuevos_diferentes(self): billetera1 = BilleteraElectronica() billetera1.id = 1 billetera1.PIN = 1234 billetera1.cambiar_pin(1234, 2222, 1111) self.assertEqual(billetera1.PIN,1234)
def test_pin_nuevos_diferentes(self): billetera1 = BilleteraElectronica() billetera1.id = 1 billetera1.PIN = 1234 billetera1.cambiar_pin(1234, 2222, 1111) self.assertEqual(billetera1.PIN, 1234)