#NEWLINE# def test_log_detail_data_format_api( self ) : #NEWLINE# #INDENT# res = self . app . get ( ( self . public_log_detail + '?format=api' ) , auth = self . user . auth ) #NEWLINE# assert_equal ( res . status_code , 200 ) #NEWLINE# assert_in ( self . public_log . _id , unicode ( res . body , 'utf-8' ) )