Exemplo n.º 1
0
 def test9(self):
     IsValid = unit.Validate("case123", "CASE123")
     self.assertEqual(IsValid, False)
Exemplo n.º 2
0
 def test1(self):
     IsValid = unit.Validate("abcd123", "abcd123")
     self.assertEqual(IsValid, True)
Exemplo n.º 3
0
 def test7(self):
     IsValid = unit.Validate("empty123", "")
     self.assertEqual(IsValid, False)
Exemplo n.º 4
0
 def test8(self):
     IsValid = unit.Validate("", "")
     self.assertEqual(IsValid, False)
Exemplo n.º 5
0
 def test6(self):
     IsValid = unit.Validate("special@234", "special@234")
     self.assertEqual(IsValid, False)
Exemplo n.º 6
0
 def test5(self):
     IsValid = unit.Validate("1234567", "1234567")
     self.assertEqual(IsValid, False)
Exemplo n.º 7
0
 def test4(self):
     IsValid = unit.Validate("onlyalpha", "onlyalpha")
     self.assertEqual(IsValid, False)
Exemplo n.º 8
0
 def test3(self):
     IsValid = unit.Validate("qwe1", "qwe1")
     self.assertEqual(IsValid, False)
Exemplo n.º 9
0
 def test2(self):
     IsValid = unit.Validate("abcdfd123", "cgytgh678")
     self.assertEqual(IsValid, False)