#NEWLINE# def test_list_styles( self ) : #NEWLINE# #INDENT# response = self . app . get ( api_url_for ( 'list_citation_styles' ) ) #NEWLINE# assert_true ( response . json ) #NEWLINE# assert_equal ( len ( [ style for style in response . json [ 'styles' ] if ( style . get ( 'id' ) == 'bibtex' ) ] ) , 1 )