Esempio n. 1
0
    def test_password_exist(self):
        self.new_account.save_password()
        test_password = Password("Test", "user", "0711223344",
                               "*****@*****.**")  # new password
        test_password.save_password()

        password_exists = Password.password_exist("0711223344")
        self.assertTrue(password_exists)
    def test_password_exist(self):

        self.new_password.save_Password
        test_password = Password("flo", "boel", "flock", "7350")
        test_password.save_Password()

        password_exist = Password.password_exist("flock")

        self.assertTrue(password_exist)
Esempio n. 3
0
    def test_password_exists(self):
        '''
        test to check if we can return a Boolean if we cannot find the password.
        '''

        self.new_password.save_password()
        test_password = Password("jasonmk", "RJXP2I5")
        test_password.save_password()

        password_exists = Password.password_exist("jasonmk")
        self.assertTrue(password_exists)
Esempio n. 4
0
    def test_password_exists(self):
        '''
        test to check if we can return a Boolean  if we cannot find the contact.
        '''

        self.new_password.save_password()
        test_password = Password("Micah", "Mutugi", "python")  # new password
        test_password.save_password()

        password_exists = Password.password_exist("python")

        self.assertTrue(password_exists)
Esempio n. 5
0
    def test_password_exists(self):
        '''
        test to check if we can return a Boolean  if we cannot find the contact.
        '''

        self.new_password.save_password()
        test_password = Password("Test", "user", "0740772578", "*****@*****.**",
                                 "evracheche1999")  # new contact
        test_password.save_password()

        password_exists = Password.password_exist("0740772578")

        self.assertTrue(password_exists)
Esempio n. 6
0
def check_existing_contacts(number):
    '''
    Function that check if a contact exists with that number and return a Boolean
    '''
    return Password.password_exist(number)
Esempio n. 7
0
def check_existng_passwords(user_name):

    return Password.password_exist(user_name)
Esempio n. 8
0
def check_existing_passwords(name):

    return Password.password_exist(name)
Esempio n. 9
0
def check_existing_passwords(number):
    return Password.password_exist(number)
Esempio n. 10
0
def check_existing_passwords(user_name):
    '''
    Function that check if a password exists with that username and return a Boolean
    '''
    return Password.password_exist(user_name)