예제 #1
0
 def testCheckCredCForm(self):
      '''
      test to check if we can return a Boolean  if we cannot find the platform.
      '''
      self.newCred.saveCred()
      testCred=Cred("hangout1","anny1","aabc@1")
      testCred.saveCred()
      existCForm=Cred.checkCform('hangout1')
      self.assertTrue(existCForm)
예제 #2
0
def checkByCform(cForm):
    '''
    Function for checking user password
    '''
    Cred.checkCform(cForm)