From 1f30a03a09fad60748afb29dd78c5c0a768efb6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 22 Feb 2015 14:46:46 +0100 Subject: [PATCH] tests: fix handling old backup format --- tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/__init__.py b/tests/__init__.py index ef9e92be..6c5f6b44 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -469,7 +469,7 @@ class BackupTestsMixin(SystemTestsMixin): self.assertTrue(len(errors) == 0, "Error(s) detected during backup_restore_do: %s" % '\n'.join(errors)) - if not appvm: + if not appvm and not os.path.isdir(backupfile): os.unlink(backupfile)