#NEWLINE# def test_queryset_serialize( self ) : #NEWLINE# #INDENT# endpoint = self . resource . endpoints [ 'list' ] #NEWLINE# endpoint = endpoint . fork ( api_request = self . api_request ) #NEWLINE# link = endpoint . link_prototypes [ 'list' ] . get_link ( ) #NEWLINE# state = endpoint . state #NEWLINE# response = self . adaptor . serialize ( content_type = 'text/javascript' , link = link , state = state ) #NEWLINE# self . assertTrue ( response . content . startswith ( 'jscallback(' ) )