From bb3057b3c02a17c7666e335c22c9636e5d524572 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Mon, 4 Dec 2006 01:35:59 -0700 Subject: [PATCH] small tweaks to test_storage.py --- allmydata/test/test_storage.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/allmydata/test/test_storage.py b/allmydata/test/test_storage.py index d1444f98..6e7b57d1 100644 --- a/allmydata/test/test_storage.py +++ b/allmydata/test/test_storage.py @@ -25,10 +25,10 @@ class StorageTest(unittest.TestCase): def test_create_bucket(self): """ - checks that the storage server can return bucket data accurately. + Check that the storage server can return bucket data accurately. """ vid = os.urandom(20) - bnum = random.randint(0,100) + bnum = random.randrange(0, 256) data = os.urandom(random.randint(1024, 16384)) rssd = self.tub.getReference(self.node.my_pburl) @@ -86,10 +86,10 @@ class StorageTest(unittest.TestCase): def test_overwrite(self): """ - checks that the storage server rejects an attempt to write to much data + Check that the storage server rejects an attempt to write too much data. """ vid = os.urandom(20) - bnum = random.randint(0,100) + bnum = random.randrange(0, 256) data = os.urandom(random.randint(1024, 16384)) rssd = self.tub.getReference(self.node.my_pburl) -- 2.45.2