コード例 #1
0
    def test_copy_email(self):

        self.new_credentials.save_credential()

        Credentials.copy_email("Libb19")

        self.assertEqual(self.new_Credentials.email, pyperclip.paste())
コード例 #2
0
ファイル: test.py プロジェクト: Shavolski/Password-Locker
    def test_copy_email(self):
        '''
        Test to confirm that we are copying the email address from a found credentials
        '''

        self.new_credentials.save_credentials()
        Credentials.copy_email("*****@*****.**")

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