#NEWLINE# def test_stopped_already_have_result( self ) : #NEWLINE# #INDENT# '\n        ResultRegistery.stop() has no impact on registered EventualResult\n        which already have a result.\n        ' #NEWLINE# registry = ResultRegistry ( FakeReactor ( ) ) #NEWLINE# er = EventualResult ( succeed ( 123 ) , None ) #NEWLINE# registry . register ( er ) #NEWLINE# registry . stop ( ) #NEWLINE# self . assertEqual ( er . wait ( ) , 123 ) #NEWLINE# self . assertEqual ( er . wait ( ) , 123 ) #NEWLINE# self . assertEqual ( er . wait ( ) , 123 )