Skip to content

Commit d9efffc

Browse files
committed
Coverage: Test unfollow
1 parent 6128bca commit d9efffc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

stream/tests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,10 @@ def test_flat_follow(self):
452452
activity_id_found = activity['id'] if activity is not None else None
453453
self.assertEqual(activity_id_found, activity_id)
454454

455+
self.flat3.unfollow(feed.slug, feed.user_id)
456+
activities = self.flat3.get(limit=3)['results']
457+
self.assertEqual(len(activities), 0)
458+
455459
def test_flat_follow_no_copy(self):
456460
feed = getfeed('user', 'test_flat_follow_no_copy')
457461
follower = getfeed('flat', 'test_flat_follow_no_copy')

0 commit comments

Comments
 (0)