def test3_numbValidation(self):
     result = validator(self.passwords[0],['NUMBERS','<',3])
     self.assertEqual(False,result)
 def test1_numbValidation(self):
     result = validator(self.passwords[1],['NUMBERS','>',5])
     self.assertEqual(False,result)
 def test2_numbValidation(self):
     result = validator(self.passwords[5],['NUMBERS','>',9])
     self.assertEqual(True,result)
 def test1_wrongValidation(self):
     result = validator(self.passwords[0],[])
     self.assertEqual(False,result)
 def test6_letValidation(self):
     result = validator(self.passwords[3],['LETTERS','==',9])
     self.assertEqual(True,result)
 def test1_speValidation(self):
     result = validator(self.passwords[1],['SPECIALS','>',3])
     self.assertEqual(False,result)
 def test3_speValidation(self):
     result = validator(self.passwords[3],['SPECIALS','<',2])
     self.assertEqual(False,result)
 def test1_letValidation(self):
     result = validator(self.passwords[1],['LETTERS','>',10])
     self.assertEqual(False,result)
 def test2_letValidation(self):
     result = validator(self.passwords[5],['LETTERS','>',10])
     self.assertEqual(True,result)
 def test4_lenValidation(self):
     result = validator(self.passwords[5],['LEN','<',30])
     self.assertEqual(False,result)
 def test5_lenValidation(self):
     result = validator(self.passwords[1],['LEN','==',9])
     self.assertEqual(True,result)
 def test3_lenValidation(self):
     result = validator(self.passwords[3],['LEN','<',30])
     self.assertEqual(True,result)
 def test5_wrongValidation(self):
     result = validator('',['SPECIALS','==',1])
     self.assertEqual(False,result)
 def test4_wrongValidation(self):
     result = validator(self.passwords[0],['SPECIALS','==','dois'])
     self.assertEqual(False,result)
 def test4_numbValidation(self):
     result = validator(self.passwords[1],['NUMBERS','<',3])
     self.assertEqual(True,result)
 def test3_letValidation(self):
     result = validator(self.passwords[0],['LETTERS','<',7])
     self.assertEqual(False,result)
 def test6_numbValidation(self):
     result = validator(self.passwords[4],['NUMBERS','==',5])
     self.assertEqual(True,result)
 def test4_letValidation(self):
     result = validator(self.passwords[4],['LETTERS','<',7])
     self.assertEqual(True,result)
 def test1_lenValidation(self):
     result = validator(self.passwords[1],['LEN','>',9])
     self.assertEqual(False,result)
 def test5_letValidation(self):
     result = validator(self.passwords[2],['LETTERS','==',9])
     self.assertEqual(False,result)
 def test4_speValidation(self):
     result = validator(self.passwords[2],['SPECIALS','<',6])
     self.assertEqual(True,result)
 def test6_speValidation(self):
     result = validator(self.passwords[0],['SPECIALS','==',1])
     self.assertEqual(True,result)