[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/develop] Remove obfs3 and scramblesuit unit test.
commit 9c273d00d5c7ece846146abfd842ad56ddc20602
Author: Philipp Winter <phw@xxxxxxxxx>
Date: Wed Feb 12 17:02:30 2020 -0800
Remove obfs3 and scramblesuit unit test.
---
bridgedb/test/test_https.py | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/bridgedb/test/test_https.py b/bridgedb/test/test_https.py
index 8432c20..ffd7281 100644
--- a/bridgedb/test/test_https.py
+++ b/bridgedb/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_obfs3_ipv4(self):
- self.openBrowser()
- self.goToOptionsPage()
-
- PT = 'obfs3'
- 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_vanilla_ipv4(self):
self.openBrowser()
self.goToOptionsPage()
@@ -226,21 +214,6 @@ class HTTPTests(unittest.TestCase):
addr = bridge[0].rsplit(':', 1)[0].strip('[]')
self.assertIsInstance(ipaddr.IPAddress(addr), ipaddr.IPv6Address)
- def test_get_scramblesuit_ipv4(self):
- self.openBrowser()
- self.goToOptionsPage()
-
- PT = 'scramblesuit'
- soup = self.submitOptions(transport=PT, ipv6=False,
- captchaResponse=CAPTCHA_RESPONSE)
- bridges = self.getBridgeLinesFromSoup(soup, fieldsPerBridge=4)
- for bridge in bridges:
- pt = bridge[0]
- password = bridge[-1]
- self.assertEquals(PT, pt)
- self.assertTrue(password.find("password=") != -1,
- "Password field missing expected text")
-
def test_get_obfs4_ipv4(self):
"""Try asking for obfs4 bridges, and check that the PT arguments in the
returned bridge lines were space-separated.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits