Exemple #1
0
    def test_copy_pass(self):
        '''
        Testing if password has been copied
        '''
        self.new_userdata.save_website()
        UserData.copy_pass(1,"Michel")

        self.assertEqual(self.new_userdata.webpass,pyperclip.paste())
Exemple #2
0
def copy_pass(number, count):
    '''
    Function that copies password to clipboard
    '''
    UserData.copy_pass(number, count)