示例#1
0
 def test_pin_cambiado(self):
         billetera1 = BilleteraElectronica()
         billetera1.id = 1
         billetera1.PIN = 1234
         billetera1.cambiar_pin(1234, 2222, 2222)
         
         self.assertEqual(billetera1.PIN,2222)
示例#2
0
    def test_pin_cambiado(self):
        billetera1 = BilleteraElectronica()
        billetera1.id = 1
        billetera1.PIN = 1234
        billetera1.cambiar_pin(1234, 2222, 2222)

        self.assertEqual(billetera1.PIN, 2222)
示例#3
0
 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)        
示例#4
0
    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)