commit f1d97e94993de6e4170780b4761b0a674fa835c0 Author: Isis Lovecruft isis@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'>!")