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