[tor-commits] [bridgedb/develop] Sphinxify a docstring in test_https.py.

isis at torproject.org isis at torproject.org
Thu Aug 21 02:51:14 UTC 2014


commit f1d97e94993de6e4170780b4761b0a674fa835c0
Author: Isis Lovecruft <isis at torproject.org>
Date:   Thu Aug 21 02:34:44 2014 +0000

    Sphinxify a docstring in test_https.py.
---
 lib/bridgedb/test/test_https.py |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/lib/bridgedb/test/test_https.py b/lib/bridgedb/test/test_https.py
index f06f6d3..657f516 100644
--- a/lib/bridgedb/test/test_https.py
+++ b/lib/bridgedb/test/test_https.py
@@ -106,10 +106,11 @@ class HTTPTests(unittest.TestCase):
         return soup
 
     def getBridgeLinesFromSoup(self, soup, fieldsPerBridge):
-        # Now we're looking for something like this in the response:
-        #     <div class="bridge-lines">
-        #      obfs2 175.213.252.207:11125 5c6da7d927460317c6ff5420b75c2d0f431f18dd
-        #     </div>
+        """We're looking for something like this in the response::
+            <div class="bridge-lines">
+             obfs2 175.213.252.207:11125 5c6da7d927460317c6ff5420b75c2d0f431f18dd
+            </div>
+        """
         bridges = []
         soup = soup.findAll(attrs={'class' : 'bridge-lines'})
         self.assertTrue(soup, "Could not find <div class='bridge-lines'>!")





More information about the tor-commits mailing list