[tor-commits] [bridgedb/master] Change assertion in Tests.py to check for new class.
isis at torproject.org
isis at torproject.org
Sun Jan 12 06:06:35 UTC 2014
commit 849720885d7cfe40599753eddf5ba423c7f72f60
Author: Isis Lovecruft <isis at torproject.org>
Date: Fri Dec 20 03:49:49 2013 +0000
Change assertion in Tests.py to check for new class.
---
lib/bridgedb/Tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/Tests.py b/lib/bridgedb/Tests.py
index 1d4679a..52040e0 100644
--- a/lib/bridgedb/Tests.py
+++ b/lib/bridgedb/Tests.py
@@ -659,7 +659,7 @@ class ParseDescFileTests(unittest.TestCase):
for a,p,c in bridgedb.Bridges.parseCountryBlockFile(test.split('\n')):
assert type(a) in (ipaddr.IPv6Address, ipaddr.IPv4Address)
- assert isinstance(p, bridgedb.Bridges.PortList)
+ assert isinstance(p, addr.PortList)
assert isinstance(c, list)
assert len(c) > 0
for y in c:
More information about the tor-commits
mailing list