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())
def copy_password(name): Credentials.copy_password(name)