Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: tools/telemetry/third_party/gsutilz/third_party/httplib2/python2/httplib2/test/test_no_socket.py

Issue 1493973002: Remove telemetry/third_party/gsutilz (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gsutil_changes
Patch Set: rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/third_party/gsutilz/third_party/httplib2/python2/httplib2/test/test_no_socket.py
diff --git a/tools/telemetry/third_party/gsutilz/third_party/httplib2/python2/httplib2/test/test_no_socket.py b/tools/telemetry/third_party/gsutilz/third_party/httplib2/python2/httplib2/test/test_no_socket.py
deleted file mode 100644
index 66ba05637648b13b01f64a9d238dbb5182bbc303..0000000000000000000000000000000000000000
--- a/tools/telemetry/third_party/gsutilz/third_party/httplib2/python2/httplib2/test/test_no_socket.py
+++ /dev/null
@@ -1,24 +0,0 @@
-"""Tests for httplib2 when the socket module is missing.
-
-This helps ensure compatibility with environments such as AppEngine.
-"""
-import os
-import sys
-import unittest
-
-import httplib2
-
-class MissingSocketTest(unittest.TestCase):
- def setUp(self):
- self._oldsocks = httplib2.socks
- httplib2.socks = None
-
- def tearDown(self):
- httplib2.socks = self._oldsocks
-
- def testProxyDisabled(self):
- proxy_info = httplib2.ProxyInfo('blah',
- 'localhost', 0)
- client = httplib2.Http(proxy_info=proxy_info)
- self.assertRaises(httplib2.ProxiesUnavailableError,
- client.request, 'http://localhost:-1/')

Powered by Google App Engine
This is Rietveld 408576698