def test_get_latest_message(self):
        latest_params = None
        for idx in range(3):
            latest_params = {'spam': idx % 'egg_%d'}
            self._get('/send/message/for/test', params=latest_params)
        resp = self._get('/get/latest/message/for/test')
        resp_json = json.loads(to_unicode(resp.body))
        self.assertEqual(1, len(resp_json['with']))
        self.assertEqual(latest_params, resp_json['with'][0]['content'])
dataset/ETHPy150Open simock85/sharknado/tests/test_sharknado.py/TestServices.test_get_latest_message/swapped operands of `%`