Exemplo n.º 1
0
 def test_copy_password(self):
     '''
     Test to copy the password to the clipboard
     '''
     self.new_credentials.save_credentials()
     Credentials.copy_password("instagram")
     self.assertEqual(self.new_credentials.password, pyperclip.paste())
Exemplo n.º 2
0
def copy_password(account):
    '''
    Function to copy password of the credentials password
    '''
    return Credentials.copy_password(account)