def test_copy_credentials(self):
        '''
                                Test to confirm that we are copying the email address from a found credential
                                '''

        self.new_credential.save_credentials()
        Credentials.copy_credentials("instagram")

        self.assertEqual(self.new_credential.a_account, pyperclip.paste())
Ejemplo n.º 2
0
def copy_credential(account_name):
    '''
  Copies a credentials password to the clipboard

  '''
    return Credentials.copy_credentials(account_name)