@@ -137,7 +137,7 @@ def test_topic_api_create(self):
137
137
self .assertEqual (Revision .objects .count (), 1 )
138
138
139
139
# 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' ,
141
141
args = [self .project .slug ]))
142
142
self .assertEqual (activity_response .status_code , 200 )
143
143
self .assertEqual (len (activity_response .data ['activity' ]), 1 )
@@ -258,7 +258,7 @@ def test_topic_api_update(self):
258
258
self .assertEqual (Revision .objects .count (), 1 )
259
259
260
260
# 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' ,
262
262
args = [self .project .slug ]))
263
263
self .assertEqual (activity_response .status_code , 200 )
264
264
activity_data = activity_response .data ['activity' ][0 ]
@@ -324,7 +324,7 @@ def test_topic_api_delete(self):
324
324
self .assertEqual (main_models .TopicNode .objects .count (), 1 )
325
325
326
326
# 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' ,
328
328
args = [self .project .slug ]))
329
329
self .assertEqual (activity_response .status_code , 200 )
330
330
activity_data = activity_response .data ['activity' ][0 ]
0 commit comments