Add a TODO

This commit is contained in:
Joseph Schorr 2017-07-14 00:21:55 +03:00
parent bf3e941d7f
commit 63a97b6d2f

View file

@ -193,6 +193,9 @@ class TestRepositoryNotification(RepositoryParamResource):
raise NotFound()
event_info = NotificationEvent.get_event(test_note.event.name)
# TODO(jschorr): Stop depending on the worker module's data interface and instead only depend
# on the notification's data interface (to be added).
sample_data = event_info.get_sample_data(notification(test_note))
notification_data = build_notification_data(test_note, sample_data)