def test_top(self):
        srs = SubRedditStats('redditdev', None, None)
        self.assertTrue(
            srs.fetch_top_submissions('week', None, None))
        self.assertTrue(len(srs.submissions) > 1)
        prev = 0
        for submission in srs.submissions:
            self.assertTrue(prev < submission.created_utc)
            prev = submission.created_utc
dataset/ETHPy150Open praw-dev/prawtools/tests.py/StatsTest.test_top/original