#NEWLINE# def test_immediate_status( self ) : #NEWLINE# #INDENT# status = 'loling' #NEWLINE# resource = mock . Mock ( ) #NEWLINE# resource . status = status #NEWLINE# result = resource2 . wait_for_status ( 'session' , result , status , 'failures' , 'interval' , 'wait' ) #NEWLINE# self . assertEqual ( result , resource )