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

[tor-commits] [bridgedb/master] Change assertion in Tests.py to check for new class.



commit 849720885d7cfe40599753eddf5ba423c7f72f60
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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:



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