[tor-commits] [bridgedb/master] Remove mechanize integration test test_get_obfs2_ipv4().

isis at torproject.org isis at torproject.org
Tue Dec 1 02:47:01 UTC 2015


commit 6b0368c91c908734655d2a7a7e35c30da4c3fe69
Author: Isis Lovecruft <isis at torproject.org>
Date:   Tue Feb 3 02:12:00 2015 +0000

    Remove mechanize integration test test_get_obfs2_ipv4().
    
     * FIXES an erroring unittest:
       https://travis-ci.org/isislovecruft/bridgedb/jobs/49254551#L2085
       by removing it, since we do not distribute obfs2 anymore.
---
 test/test_https.py |   12 ------------
 1 file changed, 12 deletions(-)

diff --git a/test/test_https.py b/test/test_https.py
index bc1890b..f47ff34 100644
--- a/test/test_https.py
+++ b/test/test_https.py
@@ -188,18 +188,6 @@ class HTTPTests(unittest.TestCase):
         self.openBrowser()
         self.assertRaises(mechanize.HTTPError, self.br.open, page)
 
-    def test_get_obfs2_ipv4(self):
-        self.openBrowser()
-        self.goToOptionsPage()
-
-        PT = 'obfs2'
-        soup = self.submitOptions(transport=PT, ipv6=False,
-                                  captchaResponse=CAPTCHA_RESPONSE)
-        bridges = self.getBridgeLinesFromSoup(soup, fieldsPerBridge=3)
-        for bridge in bridges:
-            pt = bridge[0]
-            self.assertEquals(PT, pt)
-
     def test_get_obfs3_ipv4(self):
         self.openBrowser()
         self.goToOptionsPage()





More information about the tor-commits mailing list