def test_topic_unread_list_bookmarks(self):
        TopicUnread.objects\
            .filter(pk__in=[self.topic_unread.pk, self.topic_unread2.pk])\
            .update(is_read=False)
        bookmark = CommentBookmark.objects.create(topic=self.topic2, user=self.user)

        utils.login(self)
        response = self.client.get(reverse('spirit:topic:unread:index'))
        self.assertEqual(list(response.context['page']), [self.topic2, self.topic])
        self.assertEqual(response.context['page'][0].bookmark, bookmark)
topic unread list with bookmarks
dataset/ETHPy150Open nitely/Spirit/spirit/topic/unread/tests.py/TopicUnreadViewTest.test_topic_unread_list_bookmarks