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

Side by Side Diff: third_party/gsutil/boto/tests/mturk/mocks.py

Issue 12317103: Added gsutil to depot tools (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: added readme Created 7 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 from boto.mturk.connection import MTurkConnection as RealMTurkConnection
2
3 class MTurkConnection(RealMTurkConnection):
4 """
5 Mock MTurkConnection that doesn't connect, but instead just prepares
6 the request and captures information about its usage.
7 """
8
9 def _process_request(self, *args, **kwargs):
10 saved_args = self.__dict__.setdefault('_mock_saved_args', dict() )
11 saved_args['_process_request'] = (args, kwargs)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698