# HG changeset patch # User raph # Date 1261465842 -3600 # Node ID 464b7678bdd21dab45c93ef6f4a84a27ed2407de # Parent db564b6ad6b59ec41342803e97ee025fa473c796# Parent 9f679d3f6ec4a4a73675b66c283c208e4b6a818d Merge with 9f679d3f6ec4a4a73675b66c283c208e4b6a818d diff -r 9f679d3f6ec4 -r 464b7678bdd2 src/cm/tests/test_notifications.py --- 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',