From e36488e8ec39a24e0973a0495fe10f914e34eaa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 18 Sep 2014 07:41:20 +0200 Subject: [PATCH] tests: add initial backup test --- tests/backup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/backup.py b/tests/backup.py index 7bf8ac57..d561520a 100644 --- a/tests/backup.py +++ b/tests/backup.py @@ -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,