def METHOD_NAME(self):
    # After the sticky threads, threads should be sorted by the
    # created date of the last post.
    # Make sure the datetimes are different.
    PostFactory(created=datetime.now() - timedelta(days=1))
    PostFactory()
    Thread(is_sticky=True)
    threads = Thread.objects.filter(is_sticky=False)
    self.assertTrue(threads[0].last_post.created > threads[1].last_post.created)