예제 #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())
예제 #2
0
def copy_password(number, count):
    '''
    Function that copies the password to the clipboard
    '''
    UsersInfo.copy_password(number, count)
예제 #3
0
 def test_copy_password(self):
     '''
     Testing if the copy password function works
     '''
     self.new_data.add_password()
     UsersInfo.copy_password(1, 1)