477
483
o.add_backup_choice = mock_add_backup_choice
478
484
o.add_restore_choice = mock_add_restore_choice
479
485
o.get_backup_data = mock_get_backup_data
480
487
o.AddMethods(MOCK_IFACE, [
481
488
('AddBackupChoice', 'sa{sv}', '',
482
489
'self.add_backup_choice(self, args[0], args[1])'),
483
490
('AddRestoreChoice', 'sa{sv}', '',
484
491
'self.add_restore_choice(self, args[0], args[1])'),
485
492
('GetBackupData', 's', 'ay',
494
('FailNextHelperStart', '', '',