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

[tor-commits] [bridgedb/master] Change test_bridges.py unittest to also check bridgeline != None.



commit 227371b8668f3331df73379403a548846c4755e9
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Sun Dec 28 12:39:45 2014 +0000

    Change test_bridges.py unittest to also check bridgeline != None.
---
 lib/bridgedb/test/test_bridges.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bridgedb/test/test_bridges.py b/lib/bridgedb/test/test_bridges.py
index 8328e16..86b60bf 100644
--- a/lib/bridgedb/test/test_bridges.py
+++ b/lib/bridgedb/test/test_bridges.py
@@ -265,6 +265,7 @@ class BridgeIntegrationTests(unittest.TestCase):
                                 id_digest=self.id_digest,
                                 or_addresses=self.or_addresses)
         bridgeLine = bridge.getConfigLine(includeFingerprint=True)
+        self.assertIsNotNone(bridgeLine)
         self.assertSubstring(self.fingerprint, bridgeLine)
         ip = bridgeLine.split(':')[0]
         self.assertTrue(ipaddr.IPAddress(ip))



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