#NEWLINE# def test_serializer_more_like_this_link( self ) : #NEWLINE# #INDENT# response = self . client . get ( path = '/search-person/' , data = { #NEWLINE# #INDENT# 'firstname' : 'odysseus' , #NEWLINE# 'lastname' : 'cooley' , #NEWLINE# #UNINDENT# } , format = 'json' ) #NEWLINE# self . assertTrue ( ( 'results' in response . data ) ) #NEWLINE# self . assertEqual ( response . data [ 'results' ] , [ { #NEWLINE# #INDENT# 'lastname' : 'Cooley' , #NEWLINE# 'full_name' : 'Odysseus Cooley' , #NEWLINE# 'firstname' : 'Odysseus' , #NEWLINE# 'more_like_this' : 'http://testserver/search-person/18/more-like-this/' , #NEWLINE# #UNINDENT# } ] )