def test_crear_billetera_UnCampo_Pin(self):
     form_data = {'nombre': 'Susana',
                  'apellido' : 'Rodríguez',
                  'cedula' : 'V-24222693'
                 }
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
 def test_apellidoyNombreConAcento(self):
     form_data = {'nombre' : 'Ána',
                  'apellido' : 'Gómez',
                  'cedula' : 'V-24222694',
                  'pin'  : '123fr'
                  }
     form = CrearBilleteraForm(data = form_data)
     self.assertTrue(form.is_valid())
 def test_apellidoYNombreConDieresis(self):
     form_data = {'nombre' : 'cigüeña',
                  'apellido' : 'Ungüento',
                  'cedula' : 'V-242226998',
                  'pin'  : '123fr'
                  }
     form = CrearBilleteraForm(data = form_data)
     self.assertTrue(form.is_valid())
 def test_apellidoConguion(self):
     form_data = {'nombre' : 'Susana',
                  'apellido' : 'Rodríguez-Mago',
                  'cedula' : 'V-242226998',
                  'pin'  : '189r'
                  }
     form = CrearBilleteraForm(data = form_data)
     self.assertTrue(form.is_valid())
示例#5
0
 def test_crear_billetera_UnCampo_Pin(self):
     form_data = {
         'nombre': 'Susana',
         'apellido': 'Rodríguez',
         'cedula': 'V-24222693'
     }
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())
 def test_nombreConApostrofe(self):
     form_data = {'nombre' : 'Jesus\'Sofia',
                  'apellido' : 'Rodríguez',
                  'cedula' : 'V-242226998',
                  'pin'  : '189r'
                  }
     form = CrearBilleteraForm(data = form_data)
     self.assertTrue(form.is_valid())
 def test_apelllidoConApostrofe(self):
     form_data = {'nombre' : 'Jesus',
                  'apellido' : 'D\'Aguiar',
                  'cedula' : 'V-242226998',
                  'pin'  : '189r'
                  }
     form = CrearBilleteraForm(data = form_data)
     self.assertTrue(form.is_valid())
 def test_nombreConAcentoAlreves(self):
     form_data = {'nombre' : 'Andrù',
                  'apellido' : 'Zeait',
                  'cedula' : 'V-23014266',
                  'pin' : '676ft'
                 }
     form = CrearBilleteraForm(data = form_data)
     self.assertTrue(form.is_valid())
 def test_crear_billetera_todosCamposBien(self):
     form_data = {'nombre' : 'Mariana',
                  'apellido' : 'Gomez',
                  'cedula' : 'V-24222693',
                  'pin'  : '123fr'
                  }
     form = CrearBilleteraForm(data = form_data)
     self.assertTrue(form.is_valid())
示例#10
0
 def test_nombreConAcentoAlreves(self):
     form_data = {
         'nombre': 'Andrù',
         'apellido': 'Zeait',
         'cedula': 'V-23014266',
         'pin': '676ft'
     }
     form = CrearBilleteraForm(data=form_data)
     self.assertTrue(form.is_valid())
示例#11
0
 def test_apelllidoConApostrofe(self):
     form_data = {
         'nombre': 'Jesus',
         'apellido': 'D\'Aguiar',
         'cedula': 'V-242226998',
         'pin': '189r'
     }
     form = CrearBilleteraForm(data=form_data)
     self.assertTrue(form.is_valid())
示例#12
0
 def test_nombreConApostrofe(self):
     form_data = {
         'nombre': 'Jesus\'Sofia',
         'apellido': 'Rodríguez',
         'cedula': 'V-242226998',
         'pin': '189r'
     }
     form = CrearBilleteraForm(data=form_data)
     self.assertTrue(form.is_valid())
示例#13
0
 def test_apellidoYNombreConDieresis(self):
     form_data = {
         'nombre': 'cigüeña',
         'apellido': 'Ungüento',
         'cedula': 'V-242226998',
         'pin': '123fr'
     }
     form = CrearBilleteraForm(data=form_data)
     self.assertTrue(form.is_valid())
示例#14
0
 def test_apellidoyNombreConAcento(self):
     form_data = {
         'nombre': 'Ána',
         'apellido': 'Gómez',
         'cedula': 'V-24222694',
         'pin': '123fr'
     }
     form = CrearBilleteraForm(data=form_data)
     self.assertTrue(form.is_valid())
示例#15
0
 def test_crear_billetera_todosCamposBien(self):
     form_data = {
         'nombre': 'Mariana',
         'apellido': 'Gomez',
         'cedula': 'V-24222693',
         'pin': '123fr'
     }
     form = CrearBilleteraForm(data=form_data)
     self.assertTrue(form.is_valid())
示例#16
0
 def test_apellidoConguion(self):
     form_data = {
         'nombre': 'Susana',
         'apellido': 'Rodríguez-Mago',
         'cedula': 'V-242226998',
         'pin': '189r'
     }
     form = CrearBilleteraForm(data=form_data)
     self.assertTrue(form.is_valid())
    def test_nombreyApellidoCompuesto2(self):
        form_data = {'nombre' : 'Andrés del Carmen Iñaqui',
                     'apellido' : 'Zeait Mago Zuñigà',
                     'cedula' : 'V-23014266',
                     'pin' : '676ft'
                    }

        form = CrearBilleteraForm(data = form_data)
        self.assertTrue(form.is_valid())
    def test_test_crear_billetera_UnCampo_cedula(self):
        form_data = {'nombre' : 'Patricia',
                     'apellido' : 'Del Valle',
                     'cedula' : None,
                     'pin' : '676ft'
                    }

        form = CrearBilleteraForm(data = form_data)
        self.assertFalse(form.is_valid())
    def test_cedulaMala(self):
        form_data = {'nombre' : 'Andrés del Carmen Iñaqui',
                     'apellido' : 'Zeait Mago Zuñigà',
                     'cedula' : 'sdss',
                     'pin' : '676ft'
                    }

        form = CrearBilleteraForm(data = form_data)
        self.assertFalse(form.is_valid())
    def test_ApellidoMalo(self):
        form_data = {'nombre' : 'Andres',
                     'apellido' : 'Zeait23',
                     'cedula' : 'V-23014266',
                     'pin' : '676ft'
                    }

        form = CrearBilleteraForm(data = form_data)
        self.assertFalse(form.is_valid())
    def test_todos_CamposMAlos(self):
        form_data = {'nombre' : 'Andres23',
                     'apellido' : None,
                     'cedula' : 23014266,
                     'pin' : None
                    }

        form = CrearBilleteraForm(data = form_data)
        self.assertFalse(form.is_valid())
    def test_nombreyApellidoCompuesto(self):
        form_data = {'nombre' : 'Andres del Carmen',
                     'apellido' : 'Zeait Mago',
                     'cedula' : 'V-23014266',
                     'pin' : '6567y'
                    }

        form = CrearBilleteraForm(data = form_data)
        self.assertTrue(form.is_valid())
    def test_test_crear_billetera_UnCampo_nombre(self):
        form_data = {'nombre' : None,
                     'apellido' : 'Zeait Mago Zuñigà',
                     'cedula' : 'V-34567890',
                     'pin' : '676ft'
                    }

        form = CrearBilleteraForm(data = form_data)
        self.assertFalse(form.is_valid())
示例#24
0
    def test_nombreyApellidoCompuesto2(self):
        form_data = {
            'nombre': 'Andrés del Carmen Iñaqui',
            'apellido': 'Zeait Mago Zuñigà',
            'cedula': 'V-23014266',
            'pin': '676ft'
        }

        form = CrearBilleteraForm(data=form_data)
        self.assertTrue(form.is_valid())
示例#25
0
    def test_nombreyApellidoCompuesto(self):
        form_data = {
            'nombre': 'Andres del Carmen',
            'apellido': 'Zeait Mago',
            'cedula': 'V-23014266',
            'pin': '6567y'
        }

        form = CrearBilleteraForm(data=form_data)
        self.assertTrue(form.is_valid())
示例#26
0
    def test_test_crear_billetera_UnCampo_cedula(self):
        form_data = {
            'nombre': 'Patricia',
            'apellido': 'Del Valle',
            'cedula': None,
            'pin': '676ft'
        }

        form = CrearBilleteraForm(data=form_data)
        self.assertFalse(form.is_valid())
示例#27
0
    def test_todos_CamposMAlos(self):
        form_data = {
            'nombre': 'Andres23',
            'apellido': None,
            'cedula': 23014266,
            'pin': None
        }

        form = CrearBilleteraForm(data=form_data)
        self.assertFalse(form.is_valid())
示例#28
0
    def test_ApellidoMalo(self):
        form_data = {
            'nombre': 'Andres',
            'apellido': 'Zeait23',
            'cedula': 'V-23014266',
            'pin': '676ft'
        }

        form = CrearBilleteraForm(data=form_data)
        self.assertFalse(form.is_valid())
示例#29
0
    def test_cedulaMala(self):
        form_data = {
            'nombre': 'Andrés del Carmen Iñaqui',
            'apellido': 'Zeait Mago Zuñigà',
            'cedula': 'sdss',
            'pin': '676ft'
        }

        form = CrearBilleteraForm(data=form_data)
        self.assertFalse(form.is_valid())
示例#30
0
    def test_test_crear_billetera_UnCampo_nombre(self):
        form_data = {
            'nombre': None,
            'apellido': 'Zeait Mago Zuñigà',
            'cedula': 'V-34567890',
            'pin': '676ft'
        }

        form = CrearBilleteraForm(data=form_data)
        self.assertFalse(form.is_valid())
示例#31
0
 def test_crear_billetera_DosCampos_nombre_apellido(self):
     form_data = {'cedula': 'V-123456789', 'pin': '6789u'}
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())
 def test_crear_billetera_DosCampos_nombre_apellido(self):
     form_data = {'cedula': 'V-123456789',
                  'pin' : '6789u'
                 }
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
示例#33
0
 def test_crear_billetera_tresCampos_nombre_apellido_pin(self):
     form_data = {'cedula': 'V-24222693'}
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())
示例#34
0
 def test_crear_billetera_tresCampos_nombre_apellido_ci(self):
     form_data = {'pin': '3456h'}
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())
示例#35
0
 def test_crear_billetera_vacio(self):
     form_data = {}
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())
 def test_crear_billetera_DosCampos_apellido_pin(self):
     form_data = {'nombre': 'Soraya',
                  'cedula' : 'V-23456789'
                 }
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
 def test_crear_billetera_tresCampos_apellido_cedula_pin(self):
     form_data = {'nombre' : 'Gabriel'}
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
 def test_crear_billetera_vacio(self):
     form_data = {}
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
 def test_crear_billetera_tresCampos_nombre_apellido_ci(self):
     form_data = {'pin' : '3456h'}
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
 def test_crear_billetera_tresCampos_nombre_apellido_pin(self):
     form_data = {'cedula' : 'V-24222693'}
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
 def test_crear_billetera_tresCampos_nombre_cedula_pin(self):
     form_data = {'apellido' : 'Uzcategui'}
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
示例#42
0
 def test_crear_billetera_DosCampos_Ci_Pin(self):
     form_data = {'nombre': 'Susana', 'apellido': 'Carpio'}
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())
示例#43
0
 def test_crear_billetera_DosCampos_nombre_ci(self):
     form_data = {'apellido': 'Carrasquel', 'pin': '6789u'}
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())
示例#44
0
 def test_crear_billetera_tresCampos_nombre_cedula_pin(self):
     form_data = {'apellido': 'Uzcategui'}
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())
示例#45
0
 def test_crear_billetera_DosCampos_apellido_pin(self):
     form_data = {'nombre': 'Soraya', 'cedula': 'V-23456789'}
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())
示例#46
0
 def test_crear_billetera_DosCampos_nombre_pin(self):
     form_data = {'apellido': 'Marques', 'cedula': 'V-23456789'}
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())
 def test_crear_billetera_DosCampos_Ci_Pin(self):
     form_data = {'nombre': 'Susana',
                  'apellido' : 'Carpio'
                 }
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
示例#48
0
 def test_crear_billetera_DosCampos_apellido_ci(self):
     form_data = {'nombre': 'Daniel', 'pin': '456y'}
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())
 def test_crear_billetera_DosCampos_nombre_ci(self):
     form_data = {'apellido': 'Carrasquel',
                  'pin' : '6789u'
                 }
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
 def test_crear_billetera_DosCampos_apellido_ci(self):
     form_data = {'nombre': 'Daniel',
                  'pin' : '456y'
                 }
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
 def test_crear_billetera_DosCampos_nombre_pin(self):
     form_data = {'apellido': 'Marques',
                  'cedula' : 'V-23456789'
                 }
     form = CrearBilleteraForm(data = form_data)
     self.assertFalse(form.is_valid())
示例#52
0
 def test_crear_billetera_tresCampos_apellido_cedula_pin(self):
     form_data = {'nombre': 'Gabriel'}
     form = CrearBilleteraForm(data=form_data)
     self.assertFalse(form.is_valid())