Example #1
0
 def test_get_extra_data(self):
     notification = SentNotification(extra_data='{"something":["one","two"]}')
     self.assertDictEqual(notification.get_extra_data(), {'something': ['one', 'two']})
Example #2
0
 def test_get_extra_data_none(self):
     notification = SentNotification()
     self.assertDictEqual(notification.get_extra_data(), {})