Пример #1
0
 def testSuccess(self):
     Valid = test.Validate('yeah123', 'yeah123')
     self.assertEqual(Valid, None)
Пример #2
0
 def testFail8(self):
     Fail = test.Validate('yeah123*!', 'yeah123*!')
     self.assertEqual(Fail, None)
Пример #3
0
 def testFail7(self):
     Fail = test.Validate('', '')
     self.assertEqual(Fail, None)
Пример #4
0
 def testFail6(self):
     Fail = test.Validate('yeah123', '')
     self.assertEqual(Fail, None)
Пример #5
0
 def testFail5(self):
     Fail = test.Validate('yeah', 'yeah')
     self.assertEqual(Fail, None)
Пример #6
0
 def testFail4(self):
     Fail = test.Validate('1234567', '1234567')
     self.assertEqual(Fail, None)