

def test_can_return_all_the_topics_that_can_be_read_by_the_current_user(self):
    feed = LastTopicsFeed()
    request = self.factory.get('/')
    request.user = self.user
    feed.get_object(topics)
    topics = feed.items()
    assert (list(topics) == [self.topic_3, self.topic_2, self.topic_1])

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/VarMisuse@39/58 `request`->`topics`