From: Brian Warner Date: Thu, 8 Nov 2007 10:01:13 +0000 (-0700) Subject: test_system: RSA keys vary in size, expand valid ranges in test X-Git-Tag: allmydata-tahoe-0.7.0~244 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/frontends/index.php?a=commitdiff_plain;h=0ad7ff48fa42d08c093e00640f5cb8b8408127e4;p=tahoe-lafs%2Ftahoe-lafs.git test_system: RSA keys vary in size, expand valid ranges in test --- diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index b784bc68..5f35da8a 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -302,11 +302,11 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase): m = re.search(r'^ container_size: (\d+)$', output, re.M) self.failUnless(m) container_size = int(m.group(1)) - self.failUnless(2046 <= container_size <= 2049, container_size) + self.failUnless(2045 <= container_size <= 2049, container_size) m = re.search(r'^ data_length: (\d+)$', output, re.M) self.failUnless(m) data_length = int(m.group(1)) - self.failUnless(2046 <= data_length <= 2049, data_length) + self.failUnless(2045 <= data_length <= 2049, data_length) self.failUnless(" secrets are for nodeid: %s\n" % peerid in output) self.failUnless(" SDMF contents:\n" in output)