Ejemplo n.º 1
0
    def test_copy_password(self):
        '''
        Testing if the copy password function works
        '''
        self.new_data.add_password()
        UsersInfo.copy_password(1, 1)

        self.assertEqual(self.new_data.web_pass, pyperclip.paste())
Ejemplo n.º 2
0
def copy_password(number, count):
    '''
    Function that copies the password to the clipboard
    '''
    UsersInfo.copy_password(number, count)
Ejemplo n.º 3
0
 def test_copy_password(self):
     '''
     Testing if the copy password function works
     '''
     self.new_data.add_password()
     UsersInfo.copy_password(1, 1)