コード例 #1
0
    def test_copy_email(self):
        """
		test to confirm we are copying an email address from a found credential
		"""
        self.new_credential.save_credential()
        Credential.copy_email("Arijm")
        self.assertEqual(self.new_credential.email, pyperclip.paste())
コード例 #2
0
ファイル: run.py プロジェクト: Eddie956/Password-Locker
def copy_email():
	'''
	functions that returns all the email copied to the clipboard
	'''
	return Credential.copy_email()