``assert waiter.wait() == "result_a"`` perhaps?