#NEWLINE# def test_admin_can_view_closed_participant_history( self ) : #NEWLINE# #INDENT# self . make_exchange ( 'braintree-cc' , ( - 30 ) , 0 , self . alice ) #NEWLINE# self . alice . close ( ) #NEWLINE# self . make_participant ( 'bob' , claimed_time = 'now' , is_admin = True ) #NEWLINE# response = self . client . GET ( ( '/~alice/history/?year=%s' % self . past_year ) , auth_as = 'bob' ) #NEWLINE# assert ( 'automatic charge' in response . body )