tests: add initial backup test

This commit is contained in:
Marek Marczykowski-Górecki 2014-09-18 07:41:20 +02:00
parent 715963c7c9
commit e36488e8ec

View File

@ -137,6 +137,10 @@ class BackupTests(unittest.TestCase):
self.qc.save()
self.qc.unlock_db()
def print_callback(self, msg):
if self.verbose:
print msg
def make_backup(self, vms):
try:
files_to_backup = backup.backup_prepare(vms,