'Sorting threads by creator.'

def test_sorting_creator(self):

    ThreadFactory(creator__username='aaa')
    ThreadFactory(creator__username='bbb')
    threads = sort_threads(Thread.objects, 3, 1)
    self.assert_((threads[0].creator.username >= threads[1].creator.username))
