def test_can_mark_forum_topics_read(self):
        # Setup
        new_topic = create_topic(forum=self.forum_4, poster=self.u1)
        PostFactory.create(topic=new_topic, poster=self.u1)
        correct_url = reverse('forum_tracking:mark_topics_read', kwargs={'pk': self.forum_4.pk})
        # Run
        response = self.client.get(correct_url, follow=True)
        # Check
        assert response.status_code == 200
        assert list(self.tracks_handler.get_unread_topics(self.forum_4.topics.all(), self.user)) \
            == []
dataset/ETHPy150Open ellmetha/django-machina/tests/functional/tracking/test_views.py/TestMarkTopicsReadView.test_can_mark_forum_topics_read/original