From 74f52d79f2fd619cddf4ddd9c3d3d65fbc6a6b6b Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Mon, 15 Oct 2007 20:07:42 -0700 Subject: [PATCH] tests: make test_encode specify the erasure coding params it wants instead of expecting the defaults to be what it wants --- src/allmydata/test/test_encode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_encode.py b/src/allmydata/test/test_encode.py index f2303374..45c60bff 100644 --- a/src/allmydata/test/test_encode.py +++ b/src/allmydata/test/test_encode.py @@ -150,7 +150,7 @@ class Encode(unittest.TestCase): expected_block_hashes, expected_share_hashes): data = make_data(datalen) # force use of multiple segments - options = {"max_segment_size": max_segment_size} + options = {"max_segment_size": max_segment_size, 'needed_and_happy_and_total_shares': (25, 75, 100)} e = encode.Encoder(options) u = upload.Data(data) eu = upload.EncryptAnUploadable(u) -- 2.45.2