tests: handle per-template tests in BackupTestsMixin

This commit is contained in:
Marek Marczykowski-Górecki 2016-08-09 03:11:06 +02:00
parent fba6eac07f
commit 7d1cbd6934
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -768,7 +768,10 @@ class BackupTestsMixin(SystemTestsMixin):
def setUp(self):
super(BackupTestsMixin, self).setUp()
self.init_default_template()
try:
self.init_default_template(self.template)
except AttributeError:
self.init_default_template()
self.error_detected = multiprocessing.Queue()
self.verbose = False