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