예제 #1
0
 def test_send_with_icon(self):
     api = APILatest(token='some-token', transport=DummyReturnTransport())
     self.assertDictEqual(
         api.send_with_image(
             'test',
             'test',
             image='http://the-bosha.ru/favicon.ico'
         ),
         self._param_builder(
             api=api,
             title='test',
             body='test',
             image='http://the-bosha.ru/favicon.ico',
         )
     )