#NEWLINE# @ tornado . testing . gen_test #NEWLINE# def test_helpers( self ) : #NEWLINE# #INDENT# '\n        Test that the helper classes do what we expect within a regular async env\n        ' #NEWLINE# ha = HelperA ( ) #NEWLINE# ret = ( yield ha . sleep ( ) ) #NEWLINE# self . assertTrue ( ret ) #NEWLINE# hb = HelperB ( ) #NEWLINE# ret = ( yield hb . sleep ( ) ) #NEWLINE# self . assertFalse ( hb )