@@ -137,7 +137,7 @@ def test_topic_api_create(self):
137137 self .assertEqual (Revision .objects .count (), 1 )
138138
139139 # Make sure an entry was added to the activity index
140- activity_response = self .client .get (reverse ('api:api-project -activity' ,
140+ activity_response = self .client .get (reverse ('api:api-projects -activity' ,
141141 args = [self .project .slug ]))
142142 self .assertEqual (activity_response .status_code , 200 )
143143 self .assertEqual (len (activity_response .data ['activity' ]), 1 )
@@ -258,7 +258,7 @@ def test_topic_api_update(self):
258258 self .assertEqual (Revision .objects .count (), 1 )
259259
260260 # Make sure an entry was added to the activity index
261- activity_response = self .client .get (reverse ('api:api-project -activity' ,
261+ activity_response = self .client .get (reverse ('api:api-projects -activity' ,
262262 args = [self .project .slug ]))
263263 self .assertEqual (activity_response .status_code , 200 )
264264 activity_data = activity_response .data ['activity' ][0 ]
@@ -324,7 +324,7 @@ def test_topic_api_delete(self):
324324 self .assertEqual (main_models .TopicNode .objects .count (), 1 )
325325
326326 # Make sure an entry was added to the activity index
327- activity_response = self .client .get (reverse ('api:api-project -activity' ,
327+ activity_response = self .client .get (reverse ('api:api-projects -activity' ,
328328 args = [self .project .slug ]))
329329 self .assertEqual (activity_response .status_code , 200 )
330330 activity_data = activity_response .data ['activity' ][0 ]
0 commit comments