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

Unified Diff: third_party/gsutil/third_party/oauth2client/tests/__init__.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/__init__.py
diff --git a/third_party/apiclient/googleapiclient/__init__.py b/third_party/gsutil/third_party/oauth2client/tests/__init__.py
similarity index 71%
copy from third_party/apiclient/googleapiclient/__init__.py
copy to third_party/gsutil/third_party/oauth2client/tests/__init__.py
index 415ae717175f94026d8faea39d9ed521cc0e4955..7913e6ffef8c77800cad794081dff8edc5ef9932 100644
--- a/third_party/apiclient/googleapiclient/__init__.py
+++ b/third_party/gsutil/third_party/oauth2client/tests/__init__.py
@@ -1,5 +1,3 @@
-# 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.
# You may obtain a copy of the License at
@@ -12,4 +10,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = "1.4.0"
+"""Test Package set up."""
+
+__author__ = 'afshar@google.com (Ali Afshar)'
+
+import oauth2client.util
+
+def setup_package():
+ """Run on testing package."""
+ oauth2client.util.positional_parameters_enforcement = 'EXCEPTION'

Powered by Google App Engine
This is Rietveld 408576698