def test_send_important_message(self): api = APILatest(token='some-token', transport=DummyReturnTransport()) self.assertDictEqual( api.send_important_message('test', 'test'), self._param_builder(api=api, title='test', body='test', important=True) )