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

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

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 8 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 | Annotate | Revision Log
OLDNEW
1 from boto.mturk.connection import MTurkConnection as RealMTurkConnection 1 from boto.mturk.connection import MTurkConnection as RealMTurkConnection
2 2
3 class MTurkConnection(RealMTurkConnection): 3 class MTurkConnection(RealMTurkConnection):
4 """ 4 """
5 Mock MTurkConnection that doesn't connect, but instead just prepares 5 Mock MTurkConnection that doesn't connect, but instead just prepares
6 the request and captures information about its usage. 6 the request and captures information about its usage.
7 """ 7 """
8 8
9 def _process_request(self, *args, **kwargs): 9 def _process_request(self, *args, **kwargs):
10 saved_args = self.__dict__.setdefault('_mock_saved_args', dict() ) 10 saved_args = self.__dict__.setdefault('_mock_saved_args', dict() )
11 saved_args['_process_request'] = (args, kwargs) 11 saved_args['_process_request'] = (args, kwargs)
OLDNEW
« no previous file with comments | « third_party/gsutil/boto/tests/mturk/hit_persistence.py ('k') | third_party/gsutil/boto/tests/mturk/reviewable_hits.doctest » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698