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