Exemplo n.º 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())
Exemplo n.º 2
0
def copy_email():
	'''
	functions that returns all the email copied to the clipboard
	'''
	return Credential.copy_email()