[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/develop] Fix yet another type error in test_Bucket.py.
commit 7c6f68326a920ca6ee9f3089acc493690af303a2
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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"""
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits