diff options
Diffstat (limited to 'tools/findit/common/http_client_local_unittest.py')
-rw-r--r-- | tools/findit/common/http_client_local_unittest.py | 15 |
1 files changed, 15 insertions, 0 deletions
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 0000000..40d41fa --- /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)) |