tests/backup: verify migration into LVM thin pool

This commit is contained in:
Marek Marczykowski-Górecki 2016-10-19 01:59:11 +02:00
parent 673fe4423a
commit 6ee200236c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -486,3 +486,17 @@ class TC_00_BackupCompatibility(
self.assertEqual(self.app.domains["test-custom-template-appvm"]
.template,
self.app.domains["test-template-clone"])
class TC_01_BackupCompatibilityIntoLVM(TC_00_BackupCompatibility):
def setUp(self):
super(TC_01_BackupCompatibilityIntoLVM, self).setUp()
self.init_lvm_pool()
def restore_backup(self, source=None, appvm=None, options=None,
expect_errors=None, manipulate_restore_info=None):
if options is None:
options = {}
options['override_pool'] = self.pool.name
super(TC_01_BackupCompatibilityIntoLVM, self).restore_backup(source,
appvm, options, expect_errors, manipulate_restore_info)