Merge with 9f679d3f6ec4a4a73675b66c283c208e4b6a818d
authorraph
Tue, 22 Dec 2009 08:10:42 +0100
changeset 69 464b7678bdd2
parent 68 db564b6ad6b5 (diff)
parent 67 9f679d3f6ec4 (current diff)
child 70 11b691c88348
Merge with 9f679d3f6ec4a4a73675b66c283c208e4b6a818d
--- a/src/cm/tests/test_notifications.py	Mon Dec 14 18:08:26 2009 +0100
+++ b/src/cm/tests/test_notifications.py	Tue Dec 22 08:10:42 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',