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

        self.new_user.save_user()
        User.copy_email("")

        self.assertEqual(self.new_user.email, pyperclip.paste())
Ejemplo n.º 2
0
    def test_copy_email(self):
        '''
        Test to confirm that we are copying the email address from a found account
        '''

        self.new_account.save_account()
        User.copy_email("din")

        self.assertEqual(self.new_account.email,pyperclip.paste())