def test_can_return_all_the_topics_that_can_be_read_by_the_current_user_in_a_forum_including_its_descendants(self):  # noqa
        # Setup
        feed = LastTopicsFeed()
        request = self.factory.get('/')
        request.user = self.user
        # Run
        feed.get_object(request, forum_pk=self.forum_2.pk, descendants=True)
        topics = feed.items()
        # Check
        assert list(topics) == [self.topic_3, self.topic_2, ]
dataset/ETHPy150Open ellmetha/django-machina/tests/functional/feeds/test_feeds.py/TestLastTopicsFeed.test_can_return_all_the_topics_that_can_be_read_by_the_current_user_in_a_forum_including_its_descendants/original