def test_posts_sort(self):
        t = ThreadFactory()
        t.new_post(creator=t.creator, content='foo')
        time.sleep(1)
        p2 = t.new_post(creator=t.creator, content='foo')
        given_ = PostsFeed().items(t)[0].id
        eq_(p2.id, given_)
Ensure that posts are being sorted properly by date/time.
dataset/ETHPy150Open mozilla/kitsune/kitsune/kbforums/tests/test_feeds.py/FeedSortingTestCase.test_posts_sort