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

Unified Diff: tools/telemetry/third_party/gsutilz/third_party/boto/tests/mturk/mocks.py

Issue 1376593003: Roll gsutil version to 4.15. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: tools/telemetry/third_party/gsutilz/third_party/boto/tests/mturk/mocks.py
diff --git a/tools/telemetry/third_party/gsutilz/third_party/boto/tests/mturk/mocks.py b/tools/telemetry/third_party/gsutilz/third_party/boto/tests/mturk/mocks.py
index d3f0f2e21baa6769fe36568f487209fb977e9bc4..0b2c52c43ce0d0eff81bf0979977d024b439bfdb 100644
--- a/tools/telemetry/third_party/gsutilz/third_party/boto/tests/mturk/mocks.py
+++ b/tools/telemetry/third_party/gsutilz/third_party/boto/tests/mturk/mocks.py
@@ -1,11 +1,11 @@
-from boto.mturk.connection import MTurkConnection as RealMTurkConnection
-
-class MTurkConnection(RealMTurkConnection):
- """
- Mock MTurkConnection that doesn't connect, but instead just prepares
- the request and captures information about its usage.
- """
-
- def _process_request(self, *args, **kwargs):
- saved_args = self.__dict__.setdefault('_mock_saved_args', dict())
- saved_args['_process_request'] = (args, kwargs)
+from boto.mturk.connection import MTurkConnection as RealMTurkConnection
+
+class MTurkConnection(RealMTurkConnection):
+ """
+ Mock MTurkConnection that doesn't connect, but instead just prepares
+ the request and captures information about its usage.
+ """
+
+ def _process_request(self, *args, **kwargs):
+ saved_args = self.__dict__.setdefault('_mock_saved_args', dict())
+ saved_args['_process_request'] = (args, kwargs)

Powered by Google App Engine
This is Rietveld 408576698