def test_send_with_link_without_link_title(self): api = APILatest(token='some-token', transport=DummyReturnTransport()) self.assertDictEqual( api.send_with_link( 'test', 'test', link='http://the-bosha.ru' ), self._param_builder( api=api, title='test', body='test', link='http://the-bosha.ru', link_title='http://the-bosha.ru' ) )