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