[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 2f0ea18d2379fc8b67071adc37d9412c8eb77ced
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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)
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits