# HG changeset patch # User raph # Date 1261465765 -3600 # Node ID db564b6ad6b59ec41342803e97ee025fa473c796 # Parent 0d3298833461bc0ae659d4cb61c79148d9a0fb79 fix test notification diff -r 0d3298833461 -r db564b6ad6b5 src/cm/tests/test_notifications.py --- a/src/cm/tests/test_notifications.py Mon Dec 14 14:48:57 2009 +0100 +++ b/src/cm/tests/test_notifications.py Tue Dec 22 08:09:25 2009 +0100 @@ -18,16 +18,16 @@ self.assertEquals(len(Notification.objects.all()), 0) # subscribe to workspace notifications - response = c.post('/notifications/', {'notif_id': u'workspace_notify_check', - 'workspace_notify_check': u'workspace_notify_check', - }) + response = c.post('/followup/', {'notif_id': u'workspace_notify_check', + 'workspace_notify_check': u'workspace_notify_check', + }) self.assertEquals(len(Notification.objects.all()), 1) # subscribe to own notifications - response = c.post('/notifications/', {'notif_id': u'own_notify_check', - 'own_notify_check': u'true', - }) + response = c.post('/followup/', {'notif_id': u'own_notify_check', + 'own_notify_check': u'true', + }) self.assertEquals(len(Notification.objects.all()), 2) @@ -39,6 +39,7 @@ 'format' : 'markdown', 'fun' : 'addComment', 'key' : 'text_key_1', + 'version_key' : 'textversion_key_1', 'start_offset' : 16, 'start_wrapper' : 0, 'title' : 'sdf',