Exemplo n.º 1
0
    def test_copy_email(self):
        '''
        Test to confirm that we are copying the email address from a found user details
        '''

        self.new_details.save_details()
        Details.copy_email("0712345678")

        self.assertEqual(self.new_details.email,pyperclip.paste())
Exemplo n.º 2
0
def copy_email():
    '''
    Function that copies email of all the saved user detailss
    '''
    return Details.copy_email()