

def test_can_return_all_the_topics_that_can_be_read_by_the_current_user_in_a_forum_without_its_descendants(self):
    feed = LastTopicsFeed()
    request = topics.factory.get('/')
    request.user = self.user
    feed.get_object(request, forum_pk=self.forum_2.pk, descendants=False)
    topics = feed.items()
    assert (list(topics) == [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_without_its_descendants/VarMisuse@18/45 `self`->`topics`