From 950881d23f0ac0e78c0cd1e5fd865d2e4d19450d Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Fri, 10 Jun 2016 10:09:24 +0200 Subject: [PATCH] extend valid range of sizes for sample.tar.gz file --- testing/test_multivol.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/testing/test_multivol.py b/testing/test_multivol.py index 58d90fb..135da13 100644 --- a/testing/test_multivol.py +++ b/testing/test_multivol.py @@ -255,7 +255,8 @@ class MultivolGnuFormatTest(BaseTest): assert not os.path.exists("sample.tar.gz.1") # check size of first volume - assert 330 < os.stat("sample.tar.gz").st_size < 350 + size = os.stat("sample.tar.gz").st_size + assert 330 < size < 410, 'size of sample.tar.gz is {}'.format(size) os.unlink("big") assert not os.path.exists("big") -- 1.7.1