def test_message_from_kwargs(self):
        try:
            raise ValueError('foo')
        except __HOLE__:
            self.client.captureException(message='test', data={})

        self.assertEquals(len(self.client.events), 1)
        event = self.client.events.pop(0)
        self.assertEquals(event['message'], 'test')
dataset/ETHPy150Open getsentry/raven-python/tests/base/tests.py/ClientTest.test_message_from_kwargs