def test_later_success_result(self):
        d = Deferred()
        dr = EventualResult(d, None)
        l = []
        done = append_in_thread(l, dr.wait)
        time.sleep(0.1)
        # At this point dr.wait() should have started:
        d.callback(345)
        done.wait()
        self.assertEqual(l, [True, 345])
Return a sorted list of messages (sub-messages first).
dataset/ETHPy150Open itamarst/crochet/crochet/tests/test_api.py/EventualResultTests.test_later_success_result--crossover with--dataset/ETHPy150Open Cue/fast-python-pb/src/fastpb/generator.py/sort_messages