def test_auto_rewind(self):

        # seek the data
        self.dummy_data.seek(5)

        r = UploadRequest(self.conn, 'test_zip_key.zip', self.dummy_data, 'bucket',
                          rewind=True)

        mock = self._mock_adapter(r)

        expected_headers = {
            'x-amz-acl': 'public-read',
            'Content-Type': 'application/zip',
        }

        mock.should_receive('put').with_args(
            'https://s3.amazonaws.com/bucket/test_zip_key.zip',
            headers=expected_headers,
            data=self.dummy_data,
            auth=self.conn.auth
        ).and_return(self._mock_response()).once()

        r.run()

        self.assertEqual(self.dummy_data.tell(), 0)
Return the message ID for the event record. If you are using your
dataset/ETHPy150Open smore-inc/tinys3/tinys3/tests/test_upload_request.py/TestUploadRequest.test_auto_rewind--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/handlers.py/NTEventLogHandler.getMessageID