[tor-commits] [bridgedb/master] Remove gimp captcha unittest code from recaptcha unittest setUp().

isis at torproject.org isis at torproject.org
Wed Mar 26 05:49:32 UTC 2014


commit 2c41a3f7c1606ccc26812db913e11808ffabc0f8
Author: Isis Lovecruft <isis at torproject.org>
Date:   Wed Mar 26 05:00:20 2014 +0000

    Remove gimp captcha unittest code from recaptcha unittest setUp().
---
 lib/bridgedb/test/test_HTTPServer.py |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/bridgedb/test/test_HTTPServer.py b/lib/bridgedb/test/test_HTTPServer.py
index 57f0d80..ea2f6e4 100644
--- a/lib/bridgedb/test/test_HTTPServer.py
+++ b/lib/bridgedb/test/test_HTTPServer.py
@@ -266,11 +266,6 @@ class ReCaptchaProtectedResourceTests(unittest.TestCase):
         """Create a :class:`HTTPServer.WebResourceBridges` and protect it with
         a :class:`ReCaptchaProtectedResource`.
         """
-        # Create our cached CAPTCHA directory:
-        self.captchaDir = 'captchas'
-        if not os.path.isdir(self.captchaDir):
-            os.makedirs(self.captchaDir)
-
         # Set up our resources to fake a minimal HTTP(S) server:
         self.pagename = b'captcha.html'
         self.root = Resource()





More information about the tor-commits mailing list