def test_serialize(self):
        self.service.listBatchSubscribe(3, [{'EMAIL': 'foo@example.com'},
                                            {'EMAIL': 'bar@example.com'}])
        self.expect('POST', '/?method=listBatchSubscribe',
                    (('id', '3'), ('batch[0][EMAIL]', 'foo@example.com'),
                     ('batch[1][EMAIL]', 'bar@example.com'), ('output', 'json'),
                     ('double_optin', 'true'), ('update_existing', 'false'),
                     ('replace_interests', 'true'), ('apikey', 'apikey')))
Handler for POST requests.
dataset/ETHPy150Open ducksboard/libsaas/test/test_mailchimp.py/MailchimpTestCase.test_serialize--crossover with--dataset/ETHPy150Open AppScale/appscale/AppDashboard/dashboard.py/AppUploadPage.post