Sha256: 890767954965fae9a5091ce8d271d13abb07e79c4da4a8986d41fe10b4ed1288
Contents?: true
Size: 430 Bytes
Versions: 4
Compression:
Stored size: 430 Bytes
Contents
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)
Version data entries
4 entries across 4 versions & 2 rubygems