コード例 #1
0
 def test_generate_Password(self):
     '''
     Test to confirm that we can copy the password from a found credential
     so that we can paste it upon login into the respective account.
     '''
     self.new_credential.save_account()
     Credentials.copy_password("Linkedin")
     self.assertEqual(self.new_credential.password, pyperclip.paste())
コード例 #2
0
def copy_password(account_Name):
    """
    A funct that copies the password using the pyperclip framework
    We import the framework then declare a function that copies the emails.
    """
    Credentials.copy_password(account_Name)