[tor-commits] [bridgedb/develop] Fix yet another type error in test_Bucket.py.

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


commit 7c6f68326a920ca6ee9f3089acc493690af303a2
Author: Isis Lovecruft <isis at torproject.org>
Date:   Wed Aug 20 07:23:01 2014 +0000

    Fix yet another type error in test_Bucket.py.
---
 lib/bridgedb/test/test_Bucket.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/test/test_Bucket.py b/lib/bridgedb/test/test_Bucket.py
index 5e39260..fa3bb7e 100644
--- a/lib/bridgedb/test/test_Bucket.py
+++ b/lib/bridgedb/test/test_Bucket.py
@@ -35,7 +35,7 @@ class BucketDataTest(unittest.TestCase):
         distname = "test-distributor"
         bucket = Bucket.BucketData(distname, needed)
         this(bucket.name).should.be.equal(distname)
-        this(bucket.needed).should.be.equal(Bucket.BUCKET_MAX_BRIDGES)
+        this(bucket.needed).should.be.equal(needed)
 
     def test_alloc_all_the_bridges(self):
         """Set the needed number of bridges to the default"""





More information about the tor-commits mailing list