[tor-commits] [bridgedb/develop] Fix another typo in test_Bucket.py.

isis at torproject.org isis at torproject.org
Thu Aug 21 01:33:15 UTC 2014


commit 2f0ea18d2379fc8b67071adc37d9412c8eb77ced
Author: Isis Lovecruft <isis at torproject.org>
Date:   Wed Aug 20 05:56:35 2014 +0000

    Fix another typo in test_Bucket.py.
---
 lib/bridgedb/test/test_Bucket.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bridgedb/test/test_Bucket.py b/lib/bridgedb/test/test_Bucket.py
index cff8cb8..2912ae1 100644
--- a/lib/bridgedb/test/test_Bucket.py
+++ b/lib/bridgedb/test/test_Bucket.py
@@ -33,7 +33,7 @@ class BucketDataTest(unittest.TestCase):
         """Set the needed number of bridges"""
         needed = 10
         distname = "test-distributor"
-        bucket = Bucket.BucketData(distname, alloc)
+        bucket = Bucket.BucketData(distname, needed)
         this(bucket.name).should.be.equal(distname)
         this(bucket.needed).should.be.equal(needed)
 
@@ -41,7 +41,7 @@ class BucketDataTest(unittest.TestCase):
         """Set the needed number of bridges to the default"""
         needed = '*'
         distname = "test-distributor"
-        bucket = Bucket.BucketData(distname, alloc)
+        bucket = Bucket.BucketData(distname, needed)
         this(bucket.name).should.be.equal(distname)
         this(bucket.needed).should.be.equal(needed)
 





More information about the tor-commits mailing list