예제 #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)