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