Esempio n. 1
0
 def test_resolve_msg_link(self):
     """
     Make sure that resolve_msg_link returns None, because it is not applicable
     """
     channel = ParsePushNotificationChannelProvider(application_id='foo',
                                                    rest_api_key='bar')
     self.assertIsNone(channel.resolve_msg_link(self.msg, 'link', {}))
 def test_resolve_msg_link(self):
     """
     Make sure that resolve_msg_link returns None, because it is not applicable
     """
     channel = ParsePushNotificationChannelProvider(application_id='foo', rest_api_key='bar')
     self.assertIsNone(
         channel.resolve_msg_link(
             self.msg,
             'link',
             {}
         )
     )