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

Unified Diff: tools/findit/common/http_client_local_unittest.py

Issue 465403004: [Findit] Support sending cookies for http requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 4 months 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
« no previous file with comments | « tools/findit/common/http_client_local.py ('k') | tools/findit/common/utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/findit/common/http_client_local_unittest.py
diff --git a/tools/findit/common/http_client_local_unittest.py b/tools/findit/common/http_client_local_unittest.py
new file mode 100644
index 0000000000000000000000000000000000000000..40d41fa50582b0bace6240b5a6da4d24a6f99997
--- /dev/null
+++ b/tools/findit/common/http_client_local_unittest.py
@@ -0,0 +1,15 @@
+# Copyright (c) 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import unittest
+
+from http_client_local import HttpClientLocal
+
+class HttpClientLocalTest(unittest.TestCase):
+
+ def testGetWithoutParameters(self):
+ code, deps = HttpClientLocal.Get(
+ 'https://src.chromium.org/chrome/trunk/src/DEPS')
+ self.assertEqual(200, code)
+ self.assertTrue(isinstance(deps, str))
« no previous file with comments | « tools/findit/common/http_client_local.py ('k') | tools/findit/common/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698