From: Thomas Jarosch Date: Fri, 3 Jul 2015 15:57:49 +0000 (+0200) Subject: Unit test: Skip multivolume split test for modes that don't support it. X-Git-Tag: v2.2~43 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=f61e1822d8ee404be2f88a9a2c3a6afb7f0fb62d;p=python-delta-tar Unit test: Skip multivolume split test for modes that don't support it. Actual code borrowed from test_restore_from_index(). Same code in test_restore_multivol_from_index() and a few others. All unit tests running again. --- diff --git a/testing/test_deltatar.py b/testing/test_deltatar.py index 3a46ccc..48ac776 100644 --- a/testing/test_deltatar.py +++ b/testing/test_deltatar.py @@ -179,6 +179,11 @@ class DeltaTarTest(BaseTest): with big files bigger than the max volume size and restore it. ''' + + # this test only works for uncompressed or concat compressed modes + if self.MODE.startswith(':') or self.MODE.startswith('|'): + return + deltatar = DeltaTar(mode=self.MODE, password=self.PASSWORD, logger=self.consoleLogger)