def test_copy_password(self):
        '''
        test to confirm that the application can copy the found password on the clipboard
        '''

        self.new_credentials.save_credentials()
        Credentials.copy_password("medium.com")

        self.assertEqual(self.new_credentials.app_password, pyperclip.paste())
Esempio n. 2
0
def copy_password(name):
    Credentials.copy_password(name)