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

Unified Diff: third_party/gsutil/third_party/oauth2client/tests/test_import.py

Issue 1377933002: [catapult] - Copy Telemetry's gsutilz over to third_party. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Rename to gsutil. Created 5 years, 3 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
Index: third_party/gsutil/third_party/oauth2client/tests/test_import.py
diff --git a/third_party/apiclient/googleapiclient/__init__.py b/third_party/gsutil/third_party/oauth2client/tests/test_import.py
similarity index 67%
copy from third_party/apiclient/googleapiclient/__init__.py
copy to third_party/gsutil/third_party/oauth2client/tests/test_import.py
index 415ae717175f94026d8faea39d9ed521cc0e4955..9d9e071327da9aea0626f431c00939d3f16c0f11 100644
--- a/third_party/apiclient/googleapiclient/__init__.py
+++ b/third_party/gsutil/third_party/oauth2client/tests/test_import.py
@@ -1,4 +1,4 @@
-# Copyright 2014 Google Inc. All Rights Reserved.
+# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,4 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = "1.4.0"
+"""Test we can import modules in this package."""
+
+import unittest
+
+
+class ImportTest(unittest.TestCase):
+
+ def test_tools_import(self):
+ import oauth2client.tools
+
+
+if __name__ == '__main__':
+ unittest.main()

Powered by Google App Engine
This is Rietveld 408576698