| 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))
|
|
|