def test_find_by_appName(self):
        '''
        test to check if we can find a credential by appname and display information
        '''

        self.new_credentials.save_credentials()
        facebook = Credentials('facebook', 'bowjoe', 'testpass')
        facebook.save_credentials()
        credentials_exists = Credentials.find_by_appName('facebook')
        self.assertEqual(credentials_exists, facebook)
    def test_copy_credential(self):
        '''
        test to confirm we are copying the credentials
        '''
        self.new_credentials.save_credentials()
        facebook = Credentials('facebook', 'bowjoe', 'testpass')
        facebook.save_credentials()
        find_credential = None

        for credentials in Credentials.credential_list:
            find_credential = Credentials.find_by_appName(credentials.appName)
            return pyperclip.copy(find_credential.passwordUsed)
        Credentials.copy_credential(self.new_credentials.appName)
        self.assertEqual('testpass', pyperclip.paste())
        print(pyperclip.paste())