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)
def checkByCform(cForm): ''' Function for checking user password ''' Cred.checkCform(cForm)